mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -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
|
(if flag
|
||||||
(progn
|
(progn
|
||||||
(add-hook 'write-file-hooks 'save-to-unix-hook)
|
(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))
|
(add-hook 'after-save-hook 'revert-from-unix-hook))
|
||||||
(progn
|
(progn
|
||||||
(remove-hook 'write-file-hooks 'save-to-unix-hook)
|
(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))))
|
(remove-hook 'after-save-hook 'revert-from-unix-hook))))
|
||||||
|
|
||||||
;;; Fix interface to (X-specific) mouse.el
|
;;; Fix interface to (X-specific) mouse.el
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue