mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(using-unix-filesystems):
Don't do anything to write-contents-hooks.
This commit is contained in:
parent
8e735883f4
commit
f7f786081a
1 changed files with 0 additions and 2 deletions
|
|
@ -146,11 +146,9 @@ against the file name, and TYPE is nil for text, t for binary.")
|
|||
(if flag
|
||||
(progn
|
||||
(add-hook 'write-file-hooks 'save-to-unix-hook)
|
||||
(add-hook 'write-contents-hooks 'save-to-unix-hook)
|
||||
(add-hook 'after-save-hook 'revert-from-unix-hook))
|
||||
(progn
|
||||
(remove-hook 'write-file-hooks 'save-to-unix-hook)
|
||||
(remove-hook 'write-contents-hooks 'save-to-unix-hook)
|
||||
(remove-hook 'after-save-hook 'revert-from-unix-hook))))
|
||||
|
||||
;;; Fix interface to (X-specific) mouse.el
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue