Function: org-clock-clock-cancel

org-clock-clock-cancel is a byte-compiled function defined in org-clock.el.gz.

Signature

(org-clock-clock-cancel CLOCK)

Documentation

Cancel the clock located by CLOCK.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-clock.el.gz
(defsubst org-clock-clock-cancel (clock)
  "Cancel the clock located by CLOCK."
  (let ((temp (copy-marker (car clock)
			   (marker-insertion-type (car clock)))))
    (if (org-is-active-clock clock)
	(org-clock-cancel)
      (org-with-clock clock
	(org-clock-cancel)))
    (setcar clock temp)))