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}.
This commit is contained in:
Katsumi Yamaoka 2019-07-09 04:01:26 +02:00 committed by Lars Ingebrigtsen
parent 860880d784
commit 9926e81126

View file

@ -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