emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/adoc-mode fe861ebf6c 157/199: Remove redundant function ca


From: ELPA Syncer
Subject: [nongnu] elpa/adoc-mode fe861ebf6c 157/199: Remove redundant function call
Date: Sun, 3 Sep 2023 06:59:42 -0400 (EDT)

branch: elpa/adoc-mode
commit fe861ebf6cbff75b46ba1c075c9b51b6cb81c0bb
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    Remove redundant function call
---
 adoc-mode.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/adoc-mode.el b/adoc-mode.el
index f399a3b742..7a94dff6f1 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -2900,9 +2900,7 @@ Turning on Adoc mode runs the normal hook 
`adoc-mode-hook'."
                    2 3 nil (1 . nil))))
   (when (boundp 'compilation-error-regexp-alist)
     (make-local-variable 'compilation-error-regexp-alist)
-    (add-to-list 'compilation-error-regexp-alist 'asciidoc))
-
-  (easy-menu-add adoc-mode-menu))
+    (add-to-list 'compilation-error-regexp-alist 'asciidoc)))
 
 ;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.a\\(?:scii\\)?doc\\'" . adoc-mode))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]