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

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

[elpa] externals/svg-tag-mode 0ba633b156 01/12: Autoload modes


From: ELPA Syncer
Subject: [elpa] externals/svg-tag-mode 0ba633b156 01/12: Autoload modes
Date: Wed, 28 Aug 2024 06:58:59 -0400 (EDT)

branch: externals/svg-tag-mode
commit 0ba633b156561d2a897c85aedb8f20e90124021c
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Autoload modes
    
    Also put the definition of the global mode on a single line, resulting
    in the name of the mode being properly colored.  Even when doing this,
    the length of the line stays below 80 characters.
---
 svg-tag-mode.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/svg-tag-mode.el b/svg-tag-mode.el
index 5b1abc39c9..7298e7d213 100644
--- a/svg-tag-mode.el
+++ b/svg-tag-mode.el
@@ -328,6 +328,7 @@ attribute from ``svg-tag-default-face''."
   (cursor-sensor-mode -1)
   (font-lock-flush))
 
+;;;###autoload
 (define-minor-mode svg-tag-mode
   "Minor mode for graphical tag as rounded box."
   :group 'svg-tag
@@ -335,8 +336,8 @@ attribute from ``svg-tag-default-face''."
       (svg-tag-mode-on)
     (svg-tag-mode-off)))
 
-(define-globalized-minor-mode
-   global-svg-tag-mode svg-tag-mode svg-tag-mode-on)
+;;;###autoload
+(define-globalized-minor-mode global-svg-tag-mode svg-tag-mode svg-tag-mode-on)
 
 (provide 'svg-tag-mode)
 ;;; svg-tag-mode.el ends here



reply via email to

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