summaryrefslogtreecommitdiff
path: root/lisp/format.el
diff options
context:
space:
mode:
authorLuc Teirlinck <teirllm@auburn.edu>2004-09-08 02:44:32 +0000
committerLuc Teirlinck <teirllm@auburn.edu>2004-09-08 02:44:32 +0000
commit4a2255ad3830b089520521c1b5ea2d97cc985160 (patch)
tree5a4551d2fe7191d71086f25fb36a7dcb19ae7e32 /lisp/format.el
parent4dab1ffd0655f503201eb9671d597785eab31fa7 (diff)
downloademacs-4a2255ad3830b089520521c1b5ea2d97cc985160.tar.gz
(buffer-auto-save-file-format): Make it permanent local.
Diffstat (limited to 'lisp/format.el')
-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 @@
;; change this variable, or use `format-write-file'.
;;
;; Auto-save files are normally created in the same format as the visited
-;; file, but the variable `auto-save-file-format' can be set to a
+;; file, but the variable `buffer-auto-save-file-format' can be set to a
;; particularly fast or otherwise preferred format to be used for
;; auto-saving (or nil to do no encoding on auto-save files, but then you
;; risk losing any text-properties in the buffer).
@@ -62,6 +62,7 @@
;;; Code:
(put 'buffer-file-format 'permanent-local t)
+(put 'buffer-auto-save-file-format 'permanent-local t)
(defvar format-alist
'((text/enriched "Extended MIME text/enriched format."