From 90a4435136f88aa73b3a4f89f8cbb12d6687fa42 Mon Sep 17 00:00:00 2001 From: Brian Fox Date: Tue, 21 Sep 1993 07:50:14 +0000 Subject: [PATCH] (texinfo-format-region texinfo-format-buffer): Add ###autoload cookies. (batch-texinfo-format): Use `buffer-disable-undo' instead of obsolete function `buffer-flush-undo'. --- lisp/textmodes/texinfmt.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 1839561d615..52eda4a95cc 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el @@ -64,6 +64,7 @@ ;;; Top level buffer and region formatting functions +;;;###autoload (defun texinfo-format-buffer (&optional notagify) "Process the current buffer as texinfo code, into an Info file. The Info file output is generated in a buffer visiting the Info file @@ -92,6 +93,7 @@ Info-split to do these manually." (defvar texinfo-region-buffer-name "*Info Region*" "*Name of the temporary buffer used by \\[texinfo-format-region].") +;;;###autoload (defun texinfo-format-region (region-beginning region-end) "Convert the current region of the Texinfo file to Info format. This lets you see what that part of the file will look like in Info. @@ -2979,7 +2981,7 @@ For example, invoke (progn (if buffer-file-name (kill-buffer (current-buffer))) (find-file file) - (buffer-flush-undo (current-buffer)) + (buffer-disable-undo (current-buffer)) (set-buffer-modified-p nil) (texinfo-mode) (message "texinfo formatting %s..." file) -- 2.39.5