diff options
author | Bastien Guerry <bzg@altern.org> | 2011-10-29 15:01:10 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-10-29 15:01:10 +0200 |
commit | ae02e3f3337b94da9cab0799f57235f4a688e4f0 (patch) | |
tree | e88db47936dca486c5ca841d7716bb89669a4737 | |
parent | 97d107d981e060ea6f2584593dc4f4da7ebf1bb9 (diff) | |
parent | f2b3fe7318d6006d868d765ac20160ca9fcd4545 (diff) | |
download | org-mode-ae02e3f3337b94da9cab0799f57235f4a688e4f0.tar.gz |
Merge branch 'master' of orgmode.org:org-mode
-rw-r--r-- | lisp/org-footnote.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index 9e5218c..7de1551 100644 --- a/lisp/org-footnote.el +++ b/lisp/org-footnote.el @@ -240,7 +240,8 @@ positions, and the definition, when inlined." (list label beg end ;; Definition: ensure this is an inline footnote first. (and (or (not label) (match-string 1)) - (org-trim (buffer-substring (match-end 0) (1- end))))))))) + (org-trim (buffer-substring-no-properties + (match-end 0) (1- end))))))))) (defun org-footnote-at-definition-p () "Is the cursor at a footnote definition? @@ -275,7 +276,8 @@ label, start, end and definition of the footnote otherwise." bound 'move) (progn (skip-chars-forward " \t\n") (point-at-bol))) (point)))) - (org-trim (buffer-substring (match-end 0) (point))))))))) + (org-trim (buffer-substring-no-properties + (match-end 0) (point))))))))) (defun org-footnote-get-next-reference (&optional label backward limit) "Return complete reference of the next footnote. |