# HG changeset patch # User Brian Fox # Date 748597814 0 # Node ID d1b5ca8f5493007cb451ee38765a38293492314d # Parent 9d84105b12483c521e67a79487eab3eb243ea99d (texinfo-format-region texinfo-format-buffer): Add ###autoload cookies. (batch-texinfo-format): Use `buffer-disable-undo' instead of obsolete function `buffer-flush-undo'. diff -r 9d84105b1248 -r d1b5ca8f5493 lisp/textmodes/texinfmt.el --- a/lisp/textmodes/texinfmt.el Tue Sep 21 07:48:37 1993 +0000 +++ b/lisp/textmodes/texinfmt.el Tue Sep 21 07:50:14 1993 +0000 @@ -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 @@ (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 @@ (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)