aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2004-09-08 02:44:32 +0000
committerLuc Teirlinck2004-09-08 02:44:32 +0000
commit4a2255ad3830b089520521c1b5ea2d97cc985160 (patch)
tree5a4551d2fe7191d71086f25fb36a7dcb19ae7e32
parent4dab1ffd0655f503201eb9671d597785eab31fa7 (diff)
downloademacs-4a2255ad3830b089520521c1b5ea2d97cc985160.tar.gz
emacs-4a2255ad3830b089520521c1b5ea2d97cc985160.zip
(buffer-auto-save-file-format): Make it permanent local.
-rw-r--r--lisp/format.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/format.el b/lisp/format.el
index f3a5ae2d581..62b957452b0 100644
--- a/lisp/format.el
+++ b/lisp/format.el
@@ -37,7 +37,7 @@
37;; change this variable, or use `format-write-file'. 37;; change this variable, or use `format-write-file'.
38;; 38;;
39;; Auto-save files are normally created in the same format as the visited 39;; Auto-save files are normally created in the same format as the visited
40;; file, but the variable `auto-save-file-format' can be set to a 40;; file, but the variable `buffer-auto-save-file-format' can be set to a
41;; particularly fast or otherwise preferred format to be used for 41;; particularly fast or otherwise preferred format to be used for
42;; auto-saving (or nil to do no encoding on auto-save files, but then you 42;; auto-saving (or nil to do no encoding on auto-save files, but then you
43;; risk losing any text-properties in the buffer). 43;; risk losing any text-properties in the buffer).
@@ -62,6 +62,7 @@
62;;; Code: 62;;; Code:
63 63
64(put 'buffer-file-format 'permanent-local t) 64(put 'buffer-file-format 'permanent-local t)
65(put 'buffer-auto-save-file-format 'permanent-local t)
65 66
66(defvar format-alist 67(defvar format-alist
67 '((text/enriched "Extended MIME text/enriched format." 68 '((text/enriched "Extended MIME text/enriched format."