mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-23 16:18:38 +00:00
org.el (org-mode): Use org-back-to-heading' and
org-end-of-subtree' for C-M-a and C-M-e
* org.el (org-mode): Use `org-back-to-heading' and
`org-end-of-subtree' for C-M-a and C-M-e.
This partially reverts commit 76fa97922
.
Thanks to Leo Liu for reporting this.
This commit is contained in:
parent
b983048b73
commit
47e456d8a6
|
@ -5377,8 +5377,9 @@ The following commands are available:
|
||||||
;; Comments.
|
;; Comments.
|
||||||
(org-setup-comments-handling)
|
(org-setup-comments-handling)
|
||||||
;; Beginning/end of defun
|
;; Beginning/end of defun
|
||||||
(org-set-local 'beginning-of-defun-function 'org-backward-element)
|
(org-set-local 'beginning-of-defun-function 'org-back-to-heading)
|
||||||
(org-set-local 'end-of-defun-function 'org-forward-element)
|
(org-set-local 'end-of-defun-function
|
||||||
|
(lambda () (interactive) (org-end-of-subtree nil t)))
|
||||||
;; Next error for sparse trees
|
;; Next error for sparse trees
|
||||||
(org-set-local 'next-error-function 'org-occur-next-match)
|
(org-set-local 'next-error-function 'org-occur-next-match)
|
||||||
;; Make sure dependence stuff works reliably, even for users who set it
|
;; Make sure dependence stuff works reliably, even for users who set it
|
||||||
|
|
Loading…
Reference in a new issue