changeset 23482:43849bed4a16

(tar-mode): Locally set file-precious-flag.
author Richard M. Stallman <rms@gnu.org>
date Sat, 17 Oct 1998 19:22:41 +0000
parents 4e3bead33d34
children abcdf0c8e98d
files lisp/tar-mode.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tar-mode.el	Sat Oct 17 19:21:37 1998 +0000
+++ b/lisp/tar-mode.el	Sat Oct 17 19:22:41 1998 +0000
@@ -601,6 +601,9 @@
   (setq local-enable-local-variables nil)
   (make-local-variable 'next-line-add-newlines)
   (setq next-line-add-newlines nil)
+  ;; Prevent loss of data when saving the file.
+  (make-local-variable 'file-precious-flag)
+  (setq file-precious-flag t)
   (setq major-mode 'tar-mode)
   (setq mode-name "Tar")
   (use-local-map tar-mode-map)