diff options
| author | Richard M. Stallman | 1997-07-22 20:06:24 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-22 20:06:24 +0000 |
| commit | caf4bf368f156779c2186366427712fccc255121 (patch) | |
| tree | 20140284cbfabe769401c6520a0bdcf0bf63cd01 /lisp | |
| parent | b484aa097567d387ab4c6172afc79bfe59e7b9de (diff) | |
| download | emacs-caf4bf368f156779c2186366427712fccc255121.tar.gz emacs-caf4bf368f156779c2186366427712fccc255121.zip | |
(dircategory): Delete obsolete mistaken `put'.
(texinfo-end-direntry): Output extra newline.
(texinfo-format-dircategory): Parse the arg and reinsert it by hand.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/texinfmt.el | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 0ecaa91a7c5..9976824403b 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -2382,17 +2382,17 @@ If used within a line, follow `@bullet' with braces." | |||
| 2382 | (put 'direntry 'texinfo-end 'texinfo-end-direntry) | 2382 | (put 'direntry 'texinfo-end 'texinfo-end-direntry) |
| 2383 | (defun texinfo-end-direntry () | 2383 | (defun texinfo-end-direntry () |
| 2384 | (texinfo-discard-command) | 2384 | (texinfo-discard-command) |
| 2385 | (insert "END-INFO-DIR-ENTRY\n") | 2385 | (insert "END-INFO-DIR-ENTRY\n\n") |
| 2386 | (texinfo-pop-stack 'direntry)) | 2386 | (texinfo-pop-stack 'direntry)) |
| 2387 | 2387 | ||
| 2388 | (put 'dircategory 'texinfo-format 'texinfo-format-dircategory) | 2388 | (put 'dircategory 'texinfo-format 'texinfo-format-dircategory) |
| 2389 | (defun texinfo-format-dircategory () | 2389 | (defun texinfo-format-dircategory () |
| 2390 | (texinfo-discard-command) | 2390 | (let ((str (texinfo-parse-arg-discard))) |
| 2391 | (delete-region (point) | 2391 | (delete-region (point) |
| 2392 | (progn | 2392 | (progn |
| 2393 | (skip-chars-forward " ") | 2393 | (skip-chars-forward " ") |
| 2394 | (point))) | 2394 | (point))) |
| 2395 | (insert "INFO-DIR-SECTION ")) | 2395 | (insert "INFO-DIR-SECTION " str "\n"))) |
| 2396 | 2396 | ||
| 2397 | ;;; @cartouche | 2397 | ;;; @cartouche |
| 2398 | 2398 | ||
| @@ -3964,7 +3964,6 @@ the @ifeq command." | |||
| 3964 | (put 'shorttitlepage 'texinfo-format 'texinfo-discard-line-with-args) | 3964 | (put 'shorttitlepage 'texinfo-format 'texinfo-discard-line-with-args) |
| 3965 | (put 'summarycontents 'texinfo-format 'texinfo-discard-line-with-args) | 3965 | (put 'summarycontents 'texinfo-format 'texinfo-discard-line-with-args) |
| 3966 | (put 'input 'texinfo-format 'texinfo-discard-line-with-args) | 3966 | (put 'input 'texinfo-format 'texinfo-discard-line-with-args) |
| 3967 | (put 'dircategory 'texinfo-format 'texinfo-discard-line-with-args) | ||
| 3968 | 3967 | ||
| 3969 | 3968 | ||
| 3970 | ;;; Some commands cannot be handled | 3969 | ;;; Some commands cannot be handled |