diff options
| author | Pavel Janík | 2001-11-25 11:32:23 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-11-25 11:32:23 +0000 |
| commit | e74f81999c6f6a36f6bc128da0299c5eaec34285 (patch) | |
| tree | 59287a00c849a88a59ac9e7558c168b77c5ef38a /lisp | |
| parent | 6a810a2a9906c8c92a61fec82bb20b43dabbdb2b (diff) | |
| download | emacs-e74f81999c6f6a36f6bc128da0299c5eaec34285.tar.gz emacs-e74f81999c6f6a36f6bc128da0299c5eaec34285.zip | |
(decipher-mode): Remove make-local-hook.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/play/decipher.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/play/decipher.el b/lisp/play/decipher.el index 9a323c9b95c..88c9bc043fb 100644 --- a/lisp/play/decipher.el +++ b/lisp/play/decipher.el | |||
| @@ -311,7 +311,6 @@ The most useful commands are: | |||
| 311 | (set (make-local-variable 'font-lock-defaults) | 311 | (set (make-local-variable 'font-lock-defaults) |
| 312 | '(decipher-font-lock-keywords t)) | 312 | '(decipher-font-lock-keywords t)) |
| 313 | ;; Make the buffer writable when we exit Decipher mode: | 313 | ;; Make the buffer writable when we exit Decipher mode: |
| 314 | (make-local-hook 'change-major-mode-hook) | ||
| 315 | (add-hook 'change-major-mode-hook | 314 | (add-hook 'change-major-mode-hook |
| 316 | (lambda () (setq buffer-read-only nil | 315 | (lambda () (setq buffer-read-only nil |
| 317 | buffer-undo-list nil)) | 316 | buffer-undo-list nil)) |