From 870d59e72ee2f91c15e1bd0e187d0c0fc2a73a6e Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 8 Aug 2022 18:08:20 +0200 Subject: [PATCH] * lisp/progmodes/antlr-mode.el: Remove remnants of XEmacs support. --- lisp/progmodes/antlr-mode.el | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index d6e2ab8a87a..5002a3bbfae 100644 --- a/lisp/progmodes/antlr-mode.el +++ b/lisp/progmodes/antlr-mode.el @@ -66,8 +66,6 @@ ;;; Installation: -;; This file requires Emacs-20.3, XEmacs-20.4 or higher and package cc-mode. - ;; If antlr-mode is not part of your distribution, put this file into your ;; load-path and the following into your init file: ;; (autoload 'antlr-mode "antlr-mode" nil t) @@ -75,9 +73,6 @@ ;; (add-hook 'speedbar-load-hook ; would be too late in antlr-mode.el ;; (lambda () (speedbar-add-supported-extension ".g"))) -;; I strongly recommend to use font-lock with a support mode like -;; jit-lock (Emacs) / lazy-shot (XEmacs). - ;; To customize, use menu item "Antlr" -> "Customize Antlr". ;;; Code: @@ -894,7 +889,7 @@ Used for `antlr-slow-syntactic-context'.") ;;;=========================================================================== -;;; Syntax functions -- Emacs vs XEmacs dependent, part 1 +;;; Syntax functions ;;;=========================================================================== ;;;=========================================================================== @@ -2431,8 +2426,6 @@ the default language." comment-start-skip "/\\*+ *\\|// *") ;; various ----------------------------------------------------------------- (set (make-local-variable 'font-lock-defaults) antlr-font-lock-defaults) - (when (featurep 'xemacs) - (easy-menu-add antlr-mode-menu)) (set (make-local-variable 'imenu-create-index-function) #'antlr-imenu-create-index-function) (set (make-local-variable 'imenu-generic-expression) t) ; fool stupid test -- 2.39.2