summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-08-30 00:10:45 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-08-30 00:14:42 +0200
commit7d18632a73dc5f0a686dc5ad7e006182763284e8 (patch)
tree2e90ab18ce9ebd6b585a57ca1413fda84c5d605e
parentab65bc13d62359705c48a17b87a7149ec8e75804 (diff)
downloadorg-mode-7d18632a73dc5f0a686dc5ad7e006182763284e8.tar.gz
Fix "Symbol’s function definition is void: org-clocking-buffer"
* lisp/org.el (org-sort-entries): Fix "Symbol’s function definition is void: org-clocking-buffer". Reported-by: Ian Garmaise <ian.g@phorixsol.com> <http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00647.html> Reported-by: Allen Choong <allencch@hotmail.com> <http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00649.html>
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 0968d32..613d70d 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -9141,7 +9141,7 @@ function is being called interactively."
;; The clock marker is lost when using `sort-subr'; mark
;; the clock with temporary `:org-clock-marker-backup'
;; text property.
- (when (and (eq (org-clocking-buffer) (current-buffer))
+ (when (and (eq (org-clock-is-active) (current-buffer))
(<= start (marker-position org-clock-marker))
(>= end (marker-position org-clock-marker)))
(org-with-silent-modifications