Skip to content

Instantly share code, notes, and snippets.

@supernullset
Created November 15, 2013 19:01
Show Gist options
  • Save supernullset/7489738 to your computer and use it in GitHub Desktop.
Save supernullset/7489738 to your computer and use it in GitHub Desktop.
(global-set-key [f2] 'toggle-selective-display-at-depth)
(defun toggle-selective-display-at-depth (column)
(interactive "P")
(set-selective-display
(if selective-display nil (or column 3))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment