summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-10-24 10:28:43 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-10-24 10:28:43 +0200
commit048169d27050745bb72b8ccbe6f17e525310d94e (patch)
tree14e2780944950ff17a9d40d8ee56c2713ab735d1
parent3a5b75d4ee6daa4bb4c87a1f03ed57dd03283b14 (diff)
downloadorg-mode-048169d27050745bb72b8ccbe6f17e525310d94e.tar.gz
org-goto: Fix wrong number of arguments error
* lisp/org-goto.el (org-goto-location): Fix `isearch-search-fun-function' binding.
-rw-r--r--lisp/org-goto.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-goto.el b/lisp/org-goto.el
index 5e982b4..46d8530 100644
--- a/lisp/org-goto.el
+++ b/lisp/org-goto.el
@@ -227,7 +227,8 @@ position or nil."
(org-no-popups
(let ((isearch-mode-map org-goto-local-auto-isearch-map)
(isearch-hide-immediately nil)
- (isearch-search-fun-function #'org-goto--local-search-headings)
+ (isearch-search-fun-function
+ (lambda () #'org-goto--local-search-headings))
(org-goto-selected-point org-goto-exit-command)
(help (or help org-goto-help)))
(save-excursion