1
Fork 0
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:
Karl Heuer 1996-01-09 23:20:20 +00:00
parent 8e735883f4
commit f7f786081a

View file

@ -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