aboutsummaryrefslogtreecommitdiff
path: root/lux-mode
diff options
context:
space:
mode:
authorEduardo Julian2017-11-27 02:09:04 -0400
committerEduardo Julian2017-11-27 02:09:04 -0400
commitd6a7a133c5c4a734ab45e9497c8e5df749ce383a (patch)
tree040b4df12dd3482fc0bb76f8e0a37126ef34fb34 /lux-mode
parent6031fc715b4a16b008d6f288c38739d9bb066490 (diff)
- Changed the prefixes of numeric functions.
Diffstat (limited to 'lux-mode')
-rw-r--r--lux-mode/lux-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-mode/lux-mode.el b/lux-mode/lux-mode.el
index 558cf92f6..4ba38fa85 100644
--- a/lux-mode/lux-mode.el
+++ b/lux-mode/lux-mode.el
@@ -350,8 +350,8 @@ This function also returns nil meaning don't specify the indentation."
((or (eq method 'defun)
(and (null method)
(> (length function) 2)
- (string-match "\\`\\(?:\\S +/\\)?\\(\\w+:\\|\\(\\w*;\\)?with-\\)"
- function)))
+ (or (string-match "with-" function)
+ (string-match ":\\'" function))))
(lisp-indent-defform state indent-point))
((integerp method)
(lisp-indent-specform method state