aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-10-17 19:21:37 +0000
committerRichard M. Stallman1998-10-17 19:21:37 +0000
commit938c647261b4f3c2a97507d8c98218c6ee92eff9 (patch)
tree06a15aa1756e8f2b1c150e7538bfb889fbeae618
parent362ae0b3f87cb7ea1c901d76c7683bca56851699 (diff)
downloademacs-938c647261b4f3c2a97507d8c98218c6ee92eff9.tar.gz
emacs-938c647261b4f3c2a97507d8c98218c6ee92eff9.zip
(archive-mode): Locally set file-precious-flag.
-rw-r--r--lisp/arc-mode.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el
index 0085c13e47e..cc9f10531e7 100644
--- a/lisp/arc-mode.el
+++ b/lisp/arc-mode.el
@@ -526,6 +526,10 @@ archive.
526 (make-local-variable 'local-enable-local-variables) 526 (make-local-variable 'local-enable-local-variables)
527 (setq local-enable-local-variables nil) 527 (setq local-enable-local-variables nil)
528 528
529 ;; Prevent loss of data when saving the file.
530 (make-local-variable 'file-precious-flag)
531 (setq file-precious-flag t)
532
529 (make-local-variable 'archive-read-only) 533 (make-local-variable 'archive-read-only)
530 ;; Archives which are inside other archives and whose 534 ;; Archives which are inside other archives and whose
531 ;; names are invalid for this OS, can't be written. 535 ;; names are invalid for this OS, can't be written.