For instructions on how to stay current with Org-mode, consult [[keeping-current-with-Org-mode-development][this
FAQ]] or follow the instructions on [[http://orgmode.org][the official Org-mode site]].
+** Can I get the visibility-cycling features in emacs-lisp-mode?
+
+Yes. This snippet in your =.emacs= will bind =C-M-]= and =M-]= to global
+and local cycling:
+
+#+BEGIN_SRC emacs-lisp
+(global-set-key (kbd "C-M-]") (lambda () (interactive) (org-cycle t)))
+(global-set-key (kbd "M-]") (lambda ()
+ (interactive)
+ (ignore-errors
+ (end-of-defun)
+ (beginning-of-defun))
+ (org-cycle)))
+#+END_SRC
+
** Can I get the visibility-cycling features in outline-mode and outline-minor-mode?
:PROPERTIES:
:CUSTOM_ID: use-visibility-cycling-in-outline-mode