diff options
| author | Robert J. Chassell | 1993-11-23 05:50:17 +0000 |
|---|---|---|
| committer | Robert J. Chassell | 1993-11-23 05:50:17 +0000 |
| commit | acb93e31f5a88e2461b1fa283bd341b4f66d599b (patch) | |
| tree | 20efa049112b4ea24b02aaf06eee18f8c05458bf | |
| parent | 5e88a39e2c80d4d701e6fd2ff1f25f6fad9a3966 (diff) | |
| download | emacs-acb93e31f5a88e2461b1fa283bd341b4f66d599b.tar.gz emacs-acb93e31f5a88e2461b1fa283bd341b4f66d599b.zip | |
(texinfo-if-set, texinfo-if-clear): Act appropriately when flat neither
set nor cleared.
(texinfo-format-region): Change `texinfo-[start end]-of-header' to
`tex-[start end]-of-header'.
| -rw-r--r-- | lisp/textmodes/texinfmt.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 9a1acee8c68..4ada1087795 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | ;;; Emacs lisp functions to convert Texinfo files to Info files. | 25 | ;;; Emacs lisp functions to convert Texinfo files to Info files. |
| 26 | 26 | ||
| 27 | (defvar texinfmt-version "2.31 of 10 November 1993") | 27 | (defvar texinfmt-version "2.32 of 19 November 1993") |
| 28 | 28 | ||
| 29 | ;;; Variable definitions | 29 | ;;; Variable definitions |
| 30 | 30 | ||
| @@ -2825,7 +2825,9 @@ The command `@value{foo}' expands to the value." | |||
| 2825 | (point)))) | 2825 | (point)))) |
| 2826 | ((eq (get (car (read-from-string arg)) 'texinfo-whether-setp) | 2826 | ((eq (get (car (read-from-string arg)) 'texinfo-whether-setp) |
| 2827 | nil) | 2827 | nil) |
| 2828 | (error "@ifset flag `%s' is not defined by @set or @clear." arg))))) | 2828 | ;; In this case flag is neither set nor cleared. |
| 2829 | ;; Act as if set, i.e. do nothing. | ||
| 2830 | ())))) | ||
| 2829 | 2831 | ||
| 2830 | (put 'ifclear 'texinfo-end 'texinfo-discard-command) | 2832 | (put 'ifclear 'texinfo-end 'texinfo-discard-command) |
| 2831 | (put 'ifclear 'texinfo-format 'texinfo-if-clear) | 2833 | (put 'ifclear 'texinfo-format 'texinfo-if-clear) |
| @@ -2845,7 +2847,9 @@ The command `@value{foo}' expands to the value." | |||
| 2845 | ()) | 2847 | ()) |
| 2846 | ((eq (get (car (read-from-string arg)) 'texinfo-whether-setp) | 2848 | ((eq (get (car (read-from-string arg)) 'texinfo-whether-setp) |
| 2847 | nil) | 2849 | nil) |
| 2848 | (error "@ifclear flag `%s' is not defined by @clear or @set." arg))))) | 2850 | ;; In this case flag is neither set nor cleared. |
| 2851 | ;; Act as if clear, i.e. do nothing. | ||
| 2852 | ())))) | ||
| 2849 | 2853 | ||
| 2850 | 2854 | ||
| 2851 | ;;; Process included files: `@include' command | 2855 | ;;; Process included files: `@include' command |