diff --git a/lisp/org-goto.el b/lisp/org-goto.el index 689775252..84847f4c7 100644 --- a/lisp/org-goto.el +++ b/lisp/org-goto.el @@ -102,7 +102,11 @@ When nil, you can use these keybindings to navigate the buffer: mouse-drag-region universal-argument org-occur))) (dolist (cmd cmds) (substitute-key-definition cmd cmd map global-map))) - (suppress-keymap map) + (if org-goto-auto-isearch + ;; Suppress 0-9 interpreted as digital arguments. + ;; Make them initiate isearch instead. + (suppress-keymap map t) + (suppress-keymap map)) (org-defkey map "\C-m" 'org-goto-ret) (org-defkey map [(return)] 'org-goto-ret) (org-defkey map [(left)] 'org-goto-left)