summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ecay <aaronecay@gmail.com>2016-09-26 15:28:29 +0100
committerAaron Ecay <aaronecay@gmail.com>2016-09-26 16:56:19 +0100
commit9bbd9e5ae2de8cb11dc242a9c87a706d78efc297 (patch)
tree1b84f74ddf489705fcbca11da9a4393d6cb40b34
parent7772ba6e69efba934914d033b8814ebf57a7cdbd (diff)
downloadorg-mode-9bbd9e5ae2de8cb11dc242a9c87a706d78efc297.tar.gz
org.el: Omit redundant optional argument
* lisp/org.el (org-ctrl-c-ctrl-c): Omit redundant optional argument to `local-variable-p'.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 810d35c..80c8891 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -21078,7 +21078,7 @@ This command does many different things, depending on context:
(and (boundp 'org-clock-overlays) (org-clock-remove-overlays))
(org-remove-occur-highlights)
(message "Temporary highlights/overlays removed from current buffer"))
- ((and (local-variable-p 'org-finish-function (current-buffer))
+ ((and (local-variable-p 'org-finish-function)
(fboundp org-finish-function))
(funcall org-finish-function))
((run-hook-with-args-until-success 'org-ctrl-c-ctrl-c-hook))