summaryrefslogtreecommitdiff
path: root/etc/ORG-NEWS
diff options
context:
space:
mode:
authorIhor Radchenko <yantar92@posteo.net>2023-10-25 16:14:23 +0300
committerIhor Radchenko <yantar92@posteo.net>2023-10-25 16:14:23 +0300
commit2b15e789ae7b5e900106940587648edfe5e27d80 (patch)
treeddc430e91c7bc3f4377aac8a9bd10bc204172a91 /etc/ORG-NEWS
parent9512bf250a39b2232614c281872c2722ff9b5f14 (diff)
downloadorg-mode-2b15e789ae7b5e900106940587648edfe5e27d80.tar.gz
org-clock-out-removed-last-clock: New variable to be used by `org-clock-hook'
* lisp/org-clock.el (org-clock-out-removed-last-clock): Add new global variable. (org-clock-out): Set the variable to non-nil when the CLOCK line has been removed before running `org-clock-out-hook'. (org-clock-out-hook): Add reference to the new variable. * etc/ORG-NEWS (New variable ~org-clock-out-removed-last-clock~): Announce the change.
Diffstat (limited to 'etc/ORG-NEWS')
-rw-r--r--etc/ORG-NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 9854880..1911782 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -308,6 +308,13 @@ The change is breaking when ~org-use-property-inheritance~ is set to ~t~.
The =TEST= parameter is better served by Emacs debugging tools.
** New and changed options
+*** New variable ~org-clock-out-removed-last-clock~
+
+The variable is intended to be used by ~org-clock-out-hook~. It is a
+flag used to signal when the =CLOCK= line has been removed. This can
+happen when ~org-clock-out-remove-zero-time-clocks~ is customized to
+be non-nil.
+
*** ~org-info-other-documents~ is now a custom option
Users can now extend the value of ~org-info-other-documents~ to