]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove XEmacs support from dig.el
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 Jun 2019 21:17:02 +0000 (23:17 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 Jun 2019 21:26:56 +0000 (23:26 +0200)
* lisp/net/dig.el (dig-mode): Remove XEmacs support.

lisp/net/dig.el

index ad47982cc8e81a5a57dc9a3251ba14c5fe37abf3..ab199bd81c5386f21e01952643f0f90e742724a4 100644 (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))