summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 9068823..1c52630 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -247,8 +247,8 @@ MAXLEVEL (defaults to 2)."
(interactive "P")
(if (local-variable-p 'org-refile-targets)
(kill-local-variable 'org-refile-targets)
- (let* ((buffer-file (substring-no-properties
- (buffer-file-name (km/get-org-file-buffer))))
+ (let ((buffer-file (substring-no-properties
+ (buffer-file-name (km/get-org-file-buffer))))
(maxlevel (prefix-numeric-value (or maxlevel 2))))
(set (make-local-variable 'org-refile-targets)
`((,buffer-file :maxlevel . ,maxlevel))))))