Browse Source

org.el: Omit redundant optional argument

* lisp/org.el (org-ctrl-c-ctrl-c): Omit redundant optional argument to
`local-variable-p'.
Aaron Ecay 8 years ago
parent
commit
9bbd9e5ae2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
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))
     (and (boundp 'org-clock-overlays) (org-clock-remove-overlays))
     (org-remove-occur-highlights)
     (org-remove-occur-highlights)
     (message "Temporary highlights/overlays removed from current buffer"))
     (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))
 	 (fboundp org-finish-function))
     (funcall org-finish-function))
     (funcall org-finish-function))
    ((run-hook-with-args-until-success 'org-ctrl-c-ctrl-c-hook))
    ((run-hook-with-args-until-success 'org-ctrl-c-ctrl-c-hook))