mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-03 08:30:09 +00:00
(decipher-mode): Remove make-local-hook.
This commit is contained in:
parent
6a810a2a99
commit
e74f81999c
@ -311,7 +311,6 @@ The most useful commands are:
|
||||
(set (make-local-variable 'font-lock-defaults)
|
||||
'(decipher-font-lock-keywords t))
|
||||
;; Make the buffer writable when we exit Decipher mode:
|
||||
(make-local-hook 'change-major-mode-hook)
|
||||
(add-hook 'change-major-mode-hook
|
||||
(lambda () (setq buffer-read-only nil
|
||||
buffer-undo-list nil))
|
||||
|
Loading…
Reference in New Issue
Block a user