1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-22 22:11:45 -07:00

Remove XEmacs support from dig.el

* lisp/net/dig.el (dig-mode): Remove XEmacs support.
This commit is contained in:
Lars Ingebrigtsen 2019-06-12 23:17:02 +02:00
parent dee0ed52c0
commit 6317c2563c

View file

@ -133,9 +133,7 @@ Buffer should contain output generated by `dig-invoke'."
(define-derived-mode dig-mode special-mode "Dig"
"Major mode for displaying dig output."
(buffer-disable-undo)
(unless (featurep 'xemacs)
(set (make-local-variable 'font-lock-defaults)
'(dig-font-lock-keywords t)))
(setq-local font-lock-defaults '(dig-font-lock-keywords t))
(when (featurep 'font-lock)
;; FIXME: what is this for?? --Stef
(font-lock-set-defaults))