aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-06-19 23:02:39 +0200
committerLars Ingebrigtsen2019-06-19 23:02:39 +0200
commit20164ad93b48a72d57fbfc8a5acf7765a030f6a3 (patch)
tree860fda4904cbcae544fd9a9e5ae3601bcdf692df
parent8e9ff8b115bda364f30654589160fb702a511e9c (diff)
downloademacs-20164ad93b48a72d57fbfc8a5acf7765a030f6a3.tar.gz
emacs-20164ad93b48a72d57fbfc8a5acf7765a030f6a3.zip
Remove more XEmacs compat code from epa.el
* lisp/epa.el (epa-key-mode, epa-key-list-mode): Remove XEmacs compat code.
-rw-r--r--lisp/epa.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/epa.el b/lisp/epa.el
index 97d0b544930..9e6edf463c6 100644
--- a/lisp/epa.el
+++ b/lisp/epa.el
@@ -291,7 +291,6 @@ You should bind this variable with `let', but do not set it globally.")
291 (setq truncate-lines t 291 (setq truncate-lines t
292 buffer-read-only t) 292 buffer-read-only t)
293 (setq-local font-lock-defaults '(epa-font-lock-keywords t)) 293 (setq-local font-lock-defaults '(epa-font-lock-keywords t))
294 (font-lock-set-defaults)
295 (make-local-variable 'epa-exit-buffer-function) 294 (make-local-variable 'epa-exit-buffer-function)
296 (setq-local revert-buffer-function #'epa--key-list-revert-buffer)) 295 (setq-local revert-buffer-function #'epa--key-list-revert-buffer))
297 296
@@ -301,7 +300,6 @@ You should bind this variable with `let', but do not set it globally.")
301 (setq truncate-lines t 300 (setq truncate-lines t
302 buffer-read-only t) 301 buffer-read-only t)
303 (setq-local font-lock-defaults '(epa-font-lock-keywords t)) 302 (setq-local font-lock-defaults '(epa-font-lock-keywords t))
304 (font-lock-set-defaults)
305 (make-local-variable 'epa-exit-buffer-function)) 303 (make-local-variable 'epa-exit-buffer-function))
306 304
307(define-derived-mode epa-info-mode special-mode "Info" 305(define-derived-mode epa-info-mode special-mode "Info"