branch: elpa/adoc-mode commit fe861ebf6cbff75b46ba1c075c9b51b6cb81c0bb Author: Bozhidar Batsov <bozhi...@batsov.dev> Commit: Bozhidar Batsov <bozhi...@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))