From 9bbd9e5ae2de8cb11dc242a9c87a706d78efc297 Mon Sep 17 00:00:00 2001 From: Aaron Ecay Date: Mon, 26 Sep 2016 15:28:29 +0100 Subject: [PATCH] org.el: Omit redundant optional argument * lisp/org.el (org-ctrl-c-ctrl-c): Omit redundant optional argument to `local-variable-p'. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 810d35c7f..80c88915c 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)) -- 2.11.4.GIT