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

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

[nongnu] elpa/flx b1702e2aa1 054/182: Add colon to non-word characters.


From: ELPA Syncer
Subject: [nongnu] elpa/flx b1702e2aa1 054/182: Add colon to non-word characters.
Date: Tue, 13 Dec 2022 03:59:27 -0500 (EST)

branch: elpa/flx
commit b1702e2aa1090cad369cdca5a440c4b6efeb4093
Author: Joe Schafer <joe@jschaf.com>
Commit: Joe Schafer <joe@jschaf.com>

    Add colon to non-word characters.
    
    It's common in an init file to use the naming convention my:function.
    This commit enables flx to better match those functions.
---
 flx.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flx.el b/flx.el
index 5f2e64ede8..e2aad55c34 100644
--- a/flx.el
+++ b/flx.el
@@ -91,7 +91,7 @@
 (defsubst flx-is-word (char)
   "returns t if char is word"
   (and char
-       (not (memq char '(?\  ?- ?_ ?. ?/ ?\\)))))
+       (not (memq char '(?\  ?- ?_ ?: ?. ?/ ?\\)))))
 
 (defsubst flx-is-capital (char)
   "returns t if char is word"
@@ -366,4 +366,4 @@ SCORE of nil means to clear the properties."
 
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;; flx.el ends here
\ No newline at end of file
+;;; flx.el ends here



reply via email to

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