1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-27 07:37:25 +00:00

Revert "org.el (org-mode): Use org-back-to-heading' and org-end-of-subtree' for C-M-a and C-M-e"

This reverts commit 47e456d8a6.
This commit is contained in:
Bastien Guerry 2014-04-22 08:02:05 +02:00
parent 369e3d77d0
commit 9ca840a501

View File

@ -5377,9 +5377,8 @@ The following commands are available:
;; Comments.
(org-setup-comments-handling)
;; Beginning/end of defun
(org-set-local 'beginning-of-defun-function 'org-back-to-heading)
(org-set-local 'end-of-defun-function
(lambda () (interactive) (org-end-of-subtree nil t)))
(org-set-local 'beginning-of-defun-function 'org-backward-element)
(org-set-local 'end-of-defun-function 'org-forward-element)
;; Next error for sparse trees
(org-set-local 'next-error-function 'org-occur-next-match)
;; Make sure dependence stuff works reliably, even for users who set it