]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove more XEmacs compat code from epa.el
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 19 Jun 2019 21:02:39 +0000 (23:02 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 19 Jun 2019 21:02:39 +0000 (23:02 +0200)
* lisp/epa.el (epa-key-mode, epa-key-list-mode): Remove XEmacs
compat code.

lisp/epa.el

index 97d0b544930e16bcfd5bd993e65e243c37171d06..9e6edf463c6b461abc8fefe98a42bb79f033739f 100644 (file)
@@ -291,7 +291,6 @@ You should bind this variable with `let', but do not set it globally.")
   (setq truncate-lines t
        buffer-read-only t)
   (setq-local font-lock-defaults '(epa-font-lock-keywords t))
-  (font-lock-set-defaults)
   (make-local-variable 'epa-exit-buffer-function)
   (setq-local revert-buffer-function #'epa--key-list-revert-buffer))
 
@@ -301,7 +300,6 @@ You should bind this variable with `let', but do not set it globally.")
   (setq truncate-lines t
        buffer-read-only t)
   (setq-local font-lock-defaults '(epa-font-lock-keywords t))
-  (font-lock-set-defaults)
   (make-local-variable 'epa-exit-buffer-function))
 
 (define-derived-mode epa-info-mode special-mode "Info"