diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-01-26 10:34:57 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-01-26 10:34:57 +0100 |
commit | 61078b4ed415e7b8b7ba28f325bef7c6f7a00dc2 (patch) | |
tree | 98905308cafbca7f0de029d3dce1725d6269dc64 | |
parent | f11accd3ee8f4a2eaaf570ecd6b93d862b1fc9f4 (diff) | |
download | org-mode-61078b4ed415e7b8b7ba28f325bef7c6f7a00dc2.tar.gz |
Fix C-c C-c at a footnote definition
* lisp/org.el (org-ctrl-c-ctrl-c): `save-excursion' prevents
`org-footnote-action' to put point back onto the definition.
-rw-r--r-- | lisp/org.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/org.el b/lisp/org.el index 718848c..b75173f 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19582,9 +19582,8 @@ This command does many different things, depending on context: (goto-char (org-element-property :post-affiliated context)) (org-update-dblock))) (footnote-definition - (save-excursion - (goto-char (org-element-property :post-affiliated context)) - (call-interactively 'org-footnote-action))) + (goto-char (org-element-property :post-affiliated context)) + (call-interactively 'org-footnote-action)) (footnote-reference (call-interactively 'org-footnote-action)) ((headline inlinetask) (save-excursion (goto-char (org-element-property :begin context)) |