emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/format.el,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/format.el,v
Date: Thu, 20 Nov 2008 02:44:05 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       08/11/20 02:44:05

Index: format.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/format.el,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- format.el   6 May 2008 07:57:36 -0000       1.61
+++ format.el   20 Nov 2008 02:44:05 -0000      1.62
@@ -96,7 +96,8 @@
           nil
           iso-spanish iso-cvt-read-only t nil))
   "List of information about understood file formats.
-Elements are of the form \(NAME DOC-STR REGEXP FROM-FN TO-FN MODIFY MODE-FN).
+Elements are of the form
+\(NAME DOC-STR REGEXP FROM-FN TO-FN MODIFY MODE-FN PRESERVE).
 
 NAME    is a symbol, which is stored in `buffer-file-format'.
 
@@ -365,7 +366,11 @@
 
 If optional third arg CONFIRM is non-nil, ask for confirmation before
 overwriting an existing file.  Interactively, confirmation is required
-unless you supply a prefix argument."
+unless you supply a prefix argument.
+
+The buffer-local value of `buffer-file-format' is set to FORMAT,
+and any original elements (except those with a non-nil `preserve' flag;
+see the documentation of `format-alist') are replaced."
   (interactive
    ;; Same interactive spec as write-file, plus format question.
    (let* ((file (if buffer-file-name




reply via email to

[Prev in Thread] Current Thread [Next in Thread]