[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 6f00a8348b 1/2: lisp/org-goto.el: Remove Emacs<24.4
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 6f00a8348b 1/2: lisp/org-goto.el: Remove Emacs<24.4 compatibility code |
Date: |
Wed, 25 Dec 2024 09:58:29 -0500 (EST) |
branch: externals/org
commit 6f00a8348b0708cc0b46a9af68a77e0634003ed6
Author: Morgan Smith <Morgan.J.Smith@outlook.com>
Commit: Ihor Radchenko <yantar92@posteo.net>
lisp/org-goto.el: Remove Emacs<24.4 compatibility code
* lisp/org-goto.el: Don't conditionally define keys based on if
`isearch-other-control-char' is bound.
Org mode only supports Emacs 27 and later.
---
lisp/org-goto.el | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/lisp/org-goto.el b/lisp/org-goto.el
index f75cc9ed85..aa2a9328ae 100644
--- a/lisp/org-goto.el
+++ b/lisp/org-goto.el
@@ -134,14 +134,9 @@ When nil, you can use these keybindings to navigate the
buffer:
(org-defkey map "\C-c\C-u" 'outline-up-heading)
map)))
-;; `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))
+(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."