311 |
(set (make-local-variable 'font-lock-defaults) |
(set (make-local-variable 'font-lock-defaults) |
312 |
'(decipher-font-lock-keywords t)) |
'(decipher-font-lock-keywords t)) |
313 |
;; Make the buffer writable when we exit Decipher mode: |
;; Make the buffer writable when we exit Decipher mode: |
|
(make-local-hook 'change-major-mode-hook) |
|
314 |
(add-hook 'change-major-mode-hook |
(add-hook 'change-major-mode-hook |
315 |
(lambda () (setq buffer-read-only nil |
(lambda () (setq buffer-read-only nil |
316 |
buffer-undo-list nil)) |
buffer-undo-list nil)) |