Skip to content

Instantly share code, notes, and snippets.

@narendraj9
Last active January 17, 2018 10:16
Show Gist options
  • Save narendraj9/381e613af4d7ac079fd9a36aa5b8f71d to your computer and use it in GitHub Desktop.
Save narendraj9/381e613af4d7ac079fd9a36aa5b8f71d to your computer and use it in GitHub Desktop.
(defun jump-to-comment ()
(interactive)
(require 'face-remap)
(search-forward-regexp "^;; \\([-+[:digit:]]+\\)")
(let ((text-scale-mode-amount (string-to-number (match-string 1))))
(text-scale-mode +1)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment