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

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

[nongnu] elpa/idle-highlight-mode 05db87d2a5 32/59: Cleanup: replace def


From: ELPA Syncer
Subject: [nongnu] elpa/idle-highlight-mode 05db87d2a5 32/59: Cleanup: replace defsubst with defun
Date: Thu, 7 Jul 2022 12:00:31 -0400 (EDT)

branch: elpa/idle-highlight-mode
commit 05db87d2a52d08bdb45b6bdde552d4d9e361803a
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: replace defsubst with defun
    
    There is no real advantage on using substitution here.
---
 idle-highlight-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idle-highlight-mode.el b/idle-highlight-mode.el
index 2abc0a4e1b..c0e111bc8b 100755
--- a/idle-highlight-mode.el
+++ b/idle-highlight-mode.el
@@ -137,7 +137,7 @@ Argument POS return faces at this point."
     (t ;; Default to true, if there are no exceptions.
       t)))
 
-(defsubst idle-highlight--unhighlight ()
+(defun idle-highlight--unhighlight ()
   "Clear current highlight."
   (when idle-highlight--regexp
     (unhighlight-regexp idle-highlight--regexp)



reply via email to

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