Merge branch 'maint'
This commit is contained in:
commit
c78a62c918
10
lisp/org.el
10
lisp/org.el
|
@ -7523,8 +7523,14 @@ or nil."
|
|||
|
||||
(defvar org-goto-local-auto-isearch-map (make-sparse-keymap))
|
||||
(set-keymap-parent org-goto-local-auto-isearch-map isearch-mode-map)
|
||||
(define-key org-goto-local-auto-isearch-map "\C-i" 'isearch-other-control-char)
|
||||
(define-key org-goto-local-auto-isearch-map "\C-m" 'isearch-other-control-char)
|
||||
;; `isearch-other-control-char' was removed in Emacs 24.4.
|
||||
(if (fboundp 'isearch-other-control-char)
|
||||
(progn
|
||||
(define-key org-goto-local-auto-isearch-map "\C-i" 'isearch-other-control-char)
|
||||
(define-key org-goto-local-auto-isearch-map "\C-m" 'isearch-other-control-char))
|
||||
(define-key org-goto-local-auto-isearch-map "\C-i" nil)
|
||||
(define-key org-goto-local-auto-isearch-map "\C-m" nil)
|
||||
(define-key org-goto-local-auto-isearch-map [return] nil))
|
||||
|
||||
(defun org-goto-local-search-headings (string bound noerror)
|
||||
"Search and make sure that any matches are in headlines."
|
||||
|
|
Loading…
Reference in New Issue