* arc-mode.el (archive-mode): Add `archive-write-file' also for
remote files. (Bug#14652)
This commit is contained in:
parent
d5b27848d6
commit
4a172eab51
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-06-20 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* arc-mode.el (archive-mode): Add `archive-write-file' also for
|
||||
remote files. (Bug#14652)
|
||||
|
||||
2013-06-20 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* cus-edit.el (custom-commands): Fix typos.
|
||||
|
|
|
@ -689,9 +689,7 @@ archive.
|
|||
(setq revert-buffer-function 'archive-mode-revert)
|
||||
(auto-save-mode 0)
|
||||
|
||||
;; Remote archives are not written by a hook.
|
||||
(if archive-remote nil
|
||||
(add-hook 'write-contents-functions 'archive-write-file nil t))
|
||||
(add-hook 'write-contents-functions 'archive-write-file nil t)
|
||||
|
||||
(make-local-variable 'require-final-newline)
|
||||
(setq require-final-newline nil)
|
||||
|
|
Loading…
Add table
Reference in a new issue