From: Katsumi Yamaoka Date: Tue, 9 Jul 2019 02:01:26 +0000 (+0200) Subject: Allow using @@ in @uref in texinfo X-Git-Tag: emacs-27.0.90~2040 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9926e8112605049fe3c7001606bf7945b81a631b;p=emacs.git 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}. --- 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