diff options
| author | Karl Heuer | 1996-01-09 23:20:20 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-09 23:20:20 +0000 |
| commit | f7f786081adfcf22b71d6a5547a4eddfd008c70d (patch) | |
| tree | 90065bfceef9f737f27f579f1749dc5148bdaf3e /lisp | |
| parent | 8e735883f4696be337577300537480fe64f11fdf (diff) | |
| download | emacs-f7f786081adfcf22b71d6a5547a4eddfd008c70d.tar.gz emacs-f7f786081adfcf22b71d6a5547a4eddfd008c70d.zip | |
(using-unix-filesystems):
Don't do anything to write-contents-hooks.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/w32-fns.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el index 7790d5178f8..eb0bf04c671 100644 --- a/lisp/w32-fns.el +++ b/lisp/w32-fns.el | |||
| @@ -146,11 +146,9 @@ against the file name, and TYPE is nil for text, t for binary.") | |||
| 146 | (if flag | 146 | (if flag |
| 147 | (progn | 147 | (progn |
| 148 | (add-hook 'write-file-hooks 'save-to-unix-hook) | 148 | (add-hook 'write-file-hooks 'save-to-unix-hook) |
| 149 | (add-hook 'write-contents-hooks 'save-to-unix-hook) | ||
| 150 | (add-hook 'after-save-hook 'revert-from-unix-hook)) | 149 | (add-hook 'after-save-hook 'revert-from-unix-hook)) |
| 151 | (progn | 150 | (progn |
| 152 | (remove-hook 'write-file-hooks 'save-to-unix-hook) | 151 | (remove-hook 'write-file-hooks 'save-to-unix-hook) |
| 153 | (remove-hook 'write-contents-hooks 'save-to-unix-hook) | ||
| 154 | (remove-hook 'after-save-hook 'revert-from-unix-hook)))) | 152 | (remove-hook 'after-save-hook 'revert-from-unix-hook)))) |
| 155 | 153 | ||
| 156 | ;;; Fix interface to (X-specific) mouse.el | 154 | ;;; Fix interface to (X-specific) mouse.el |