forked from mirrors/org-mode
Peter Frings writes: > Clocking in on any task (C-c C-x C-i) and cancelling afterwards (C-c C-x > C-x) results in the following backtrace: > ,---- > | Debugger entered--Lisp error: (wrong-type-argument markerp org-clock-marker) > | move-marker(org-clock-marker nil) > | org-clock-cancel() > | call-interactively(org-clock-cancel nil nil) > `---- > Culprit are two erroneous quotes in front of org-clock-marker in org-clock-el. The patch (output > of git diff -u on a clean checkout) fixes the problem: > > diff --git a/lisp/org-clock.el b/lisp/org-clock.el > index e279898..91a4bcb 100644 > --- a/lisp/org-clock.el > +++ b/lisp/org-clock.el > @@ -818,8 +818,8 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set." > (set-buffer (marker-buffer org-clock-marker)) > (goto-char org-clock-marker) > (delete-region (1- (point-at-bol)) (point-at-eol))) > - (move-marker 'org-clock-marker nil) > - (move-marker 'org-clock-hd-marker nil) > + (move-marker org-clock-marker nil) > + (move-marker org-clock-hd-marker nil) > (setq global-mode-string > (delq 'org-mode-line-string global-mode-string)) > (force-mode-line-update) |
||
---|---|---|
.. | ||
ChangeLog | ||
ChangeLog.01 | ||
org-agenda.el | ||
org-archive.el | ||
org-ascii.el | ||
org-attach.el | ||
org-bbdb.el | ||
org-bibtex.el | ||
org-clock.el | ||
org-colview-xemacs.el | ||
org-colview.el | ||
org-compat.el | ||
org-crypt.el | ||
org-docbook.el | ||
org-exp-blocks.el | ||
org-exp.el | ||
org-faces.el | ||
org-feed.el | ||
org-footnote.el | ||
org-gnus.el | ||
org-html.el | ||
org-icalendar.el | ||
org-id.el | ||
org-indent.el | ||
org-info.el | ||
org-inlinetask.el | ||
org-irc.el | ||
org-jsinfo.el | ||
org-latex.el | ||
org-list.el | ||
org-mac-message.el | ||
org-macs.el | ||
org-mew.el | ||
org-mhe.el | ||
org-mobile.el | ||
org-mouse.el | ||
org-plot.el | ||
org-protocol.el | ||
org-publish.el | ||
org-remember.el | ||
org-rmail.el | ||
org-src.el | ||
org-table.el | ||
org-timer.el | ||
org-vm.el | ||
org-w3m.el | ||
org-wl.el | ||
org-xoxo.el | ||
org.el |