1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/japanese/emacs-manual/files/extra-patch-texinfmt.el.patch
Shigeyuki Fukushima e976223fb5 Synchronize with emacs-20.7 update.
And apply EMACS_PORT_NAME style.
2000-07-19 08:03:55 +00:00

42 lines
1.3 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- patch-texinfmt.el.orig Fri Mar 3 21:26:16 2000
+++ patch-texinfmt.el Thu Jul 13 18:17:38 2000
@@ -1,5 +1,5 @@
---- texinfmt.el-ORIG Sun May 30 04:21:06 1999
-+++ texinfmt.el Thu Jan 13 10:52:58 2000
+--- texinfmt.el.orig Thu Jul 13 18:12:19 2000
++++ texinfmt.el Thu Jul 13 18:17:28 2000
@@ -1111,6 +1111,78 @@
;;; @node, @menu, @detailmenu
@@ -112,17 +112,18 @@
(texinfo-discard-command)
(setq texinfo-last-node name)
(let ((tem (if texinfo-fold-nodename-case (downcase name) name)))
-@@ -1212,7 +1308,8 @@
+@@ -1212,7 +1308,9 @@
(insert (or fname (car args)) ": ")
(if (nth 3 args)
(insert "(" (nth 3 args) ")"))
-- (insert (car args))))))
+- (and (car args) (insert (car args)))))))
+ (insert (or (car args) ""))
+ (or (save-excursion (looking-at "[.,]")) (insert "."))))))
++
(put 'pxref 'texinfo-format 'texinfo-format-pxref)
(defun texinfo-format-pxref ()
-@@ -1220,6 +1317,7 @@
+@@ -1220,6 +1318,7 @@
(or (save-excursion
(forward-char -2)
(looking-at "::"))
@@ -130,7 +131,7 @@
(insert ".")))
;; @inforef{NODE, FNAME, FILE}
-@@ -1230,7 +1328,8 @@
+@@ -1230,7 +1329,8 @@
(let ((args (texinfo-format-parse-args)))
(texinfo-discard-command)
(if (nth 1 args)