forked from mirrors/org-mode
Bug fix.
This commit is contained in:
parent
35e2df38e4
commit
1018c67ebb
|
@ -530,7 +530,8 @@ the currently selected interval size."
|
||||||
(and (memq dir '(left down)) (setq n (- n)))
|
(and (memq dir '(left down)) (setq n (- n)))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(goto-char (point-at-bol))
|
(goto-char (point-at-bol))
|
||||||
(when (looking-at "#\\+BEGIN: clocktable\\>.*?:block[ \t]+\\(\\S-+\\)")
|
(if (not (looking-at "#\\+BEGIN: clocktable\\>.*?:block[ \t]+\\(\\S-+\\)"))
|
||||||
|
(error "Line needs a :block definition before this command works")
|
||||||
(let* ((b (match-beginning 1)) (e (match-end 1))
|
(let* ((b (match-beginning 1)) (e (match-end 1))
|
||||||
(s (match-string 1))
|
(s (match-string 1))
|
||||||
block shift ins y mw d date wp m)
|
block shift ins y mw d date wp m)
|
||||||
|
|
Loading…
Reference in a new issue