mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 05:17:35 +00:00
(tar-mode): Locally set file-precious-flag.
This commit is contained in:
parent
938c647261
commit
b9ca3cdb31
1 changed files with 3 additions and 0 deletions
|
|
@ -601,6 +601,9 @@ See also: variables `tar-update-datestamp' and `tar-anal-blocksize'.
|
|||
(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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue