Commit e74f8199 authored by Pavel Janík's avatar Pavel Janík

(decipher-mode): Remove make-local-hook.

parent 6a810a2a
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment