mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-23 07:18:53 +00:00
org-capture: Fix invalid table line specification
* lisp/org-capture.el (org-capture-place-table-line): Move point in front of the table before trying to analyze it. Reported-by: Christian Moe <mail@christianmoe.com> <http://permalink.gmane.org/gmane.emacs.orgmode/106356>
This commit is contained in:
parent
9b5f2a03ea
commit
297315c46a
@ -1167,6 +1167,7 @@ may have been stored before."
|
||||
(cond
|
||||
((and table-line-pos
|
||||
(string-match "\\(I+\\)\\([-+][0-9]\\)" table-line-pos))
|
||||
(goto-char (point-min))
|
||||
;; we have a complex line specification
|
||||
(let ((ll (ignore-errors
|
||||
(save-match-data (org-table-analyze))
|
||||
|
Loading…
Reference in New Issue
Block a user