From 9926e8112605049fe3c7001606bf7945b81a631b Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Tue, 9 Jul 2019 04:01:26 +0200 Subject: [PATCH] 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}. --- lisp/textmodes/texinfmt.el | 3 +-- 1 file changed, 1 insertion(+), 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 -- 2.39.5