mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
(decipher-mode): Don't call decipher-read-alphabet if buffer is empty.
This commit is contained in:
parent
053be11a88
commit
b64e46503f
1 changed files with 2 additions and 1 deletions
|
|
@ -305,7 +305,8 @@ The most useful commands are:
|
|||
(setq case-fold-search nil)) ;Case is significant when searching
|
||||
(use-local-map decipher-mode-map)
|
||||
(set-syntax-table decipher-mode-syntax-table)
|
||||
(decipher-read-alphabet)
|
||||
(unless (= (point-min) (point-max))
|
||||
(decipher-read-alphabet))
|
||||
(set (make-local-variable 'font-lock-defaults)
|
||||
'(decipher-font-lock-keywords t))
|
||||
;; Make the buffer writable when we exit Decipher mode:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue