forked from mirrors/org-mode
org-capture.el (org-capture-place-table-line): Fix bug
* org-capture.el (org-capture-place-table-line): Fix bug. Thanks to Ian Barton for reporting this.
This commit is contained in:
parent
de015ad055
commit
92271aecea
|
@ -1081,8 +1081,8 @@ it. When it is a variable, retrieve the value. Return whatever we get."
|
|||
(setq end (point))))
|
||||
(goto-char beg)
|
||||
(org-capture-position-for-last-stored 'table-line)
|
||||
(if (or (re-search-backward "%\\?" end t)
|
||||
(re-search-forward "%\\?" beg t))
|
||||
(if (or (re-search-backward "%\\?" beg t)
|
||||
(re-search-forward "%\\?" end t))
|
||||
(replace-match ""))
|
||||
(org-table-align)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue