]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow using @@ in @uref in texinfo
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 9 Jul 2019 02:01:26 +0000 (04:01 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 9 Jul 2019 02:01:26 +0000 (04:01 +0200)
* 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

index 4110dfb8e8e76d3de1c53e1c51d6fbc90f37a48a..3c32037c3ef42c629c5c788905651c4d13097b53 100644 (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) "'"))))
 
 \f
 ;;; Section headings