Mercurial > emacs
diff lisp/tar-mode.el @ 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 | 0088626fec1c |
children | d30ffa793626 |
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)