summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2019-07-09 04:01:26 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-07-09 04:01:26 +0200
commit9926e8112605049fe3c7001606bf7945b81a631b (patch)
tree2a2edcb4e99f99252219f8b36995996118b54cd8
parent860880d7848c5a8bc2c7d7859b7238603389228b (diff)
downloademacs-9926e8112605049fe3c7001606bf7945b81a631b.tar.gz
Allow using @@ in @uref in texinfo
* lisp/textmodes/texinfmt.el (texinfo-format-uref): Allow using @@ in @uref (bug#36186) to allow things like @uref{mailto:foo@@example.com}.
-rw-r--r--lisp/textmodes/texinfmt.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index 4110dfb8e8e..3c32037c3ef 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -1286,8 +1286,7 @@ otherwise, insert URL-TITLE followed by URL in parentheses."
;; if url-title
(if (nth 1 args)
(insert (nth 1 args) " (" (nth 0 args) ")")
- (insert "`" (nth 0 args) "'"))
- (goto-char texinfo-command-start)))
+ (insert "`" (nth 0 args) "'"))))
;;; Section headings