From: Stefan Monnier Date: Sun, 11 Apr 2021 22:02:34 +0000 (-0400) Subject: * lisp/progmodes/bug-reference.el: Avoid old-style `define-minor-mode` X-Git-Tag: emacs-28.0.90~2899 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4315a0bb267e8fca16552001e3ab897f69ef8d70;p=emacs.git * lisp/progmodes/bug-reference.el: Avoid old-style `define-minor-mode` (bug-reference-mode, bug-reference-prog-mode): Remove redundant args. --- diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el index 4d4becf780a..e467d98303e 100644 --- a/lisp/progmodes/bug-reference.el +++ b/lisp/progmodes/bug-reference.el @@ -440,9 +440,6 @@ and set it if applicable." ;;;###autoload (define-minor-mode bug-reference-mode "Toggle hyperlinking bug references in the buffer (Bug Reference mode)." - nil - "" - nil :after-hook (bug-reference--run-auto-setup) (if bug-reference-mode (jit-lock-register #'bug-reference-fontify) @@ -454,9 +451,6 @@ and set it if applicable." ;;;###autoload (define-minor-mode bug-reference-prog-mode "Like `bug-reference-mode', but only buttonize in comments and strings." - nil - "" - nil :after-hook (bug-reference--run-auto-setup) (if bug-reference-prog-mode (jit-lock-register #'bug-reference-fontify)