File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1989,7 +1989,11 @@ the alias in the project."
1989
1989
1990
1990
(defun completable-for-cljr-slash? (sym )
1991
1991
(when sym
1992
- (not (null (string-match-p " ^\\ ^?\\ (::\\ )?\\ ([a-zA-Z]+[a-zA-Z0-9\\ -]*\\ )+\\ (\\ .?[a-zA-Z]+[a-zA-Z0-9\\ -]*\\ )*$" sym)))))
1992
+ (or
1993
+ ; ; vanilla symbols, maybe prefixed by ^, :: or ^::
1994
+ (not (null (string-match-p " ^\\ ^?\\ (::\\ )?\\ ([a-zA-Z]+[a-zA-Z0-9\\ -]*\\ )+\\ (\\ .?[a-zA-Z]+[a-zA-Z0-9\\ -]*\\ )*$" sym)))
1995
+ ; ; vanilla symbols, prefixed by @
1996
+ (not (null (string-match-p " ^@\\ ([a-zA-Z]+[a-zA-Z0-9\\ -]*\\ )+\\ (\\ .?[a-zA-Z]+[a-zA-Z0-9\\ -]*\\ )*$" sym))))))
1993
1997
1994
1998
;;;### autoload
1995
1999
(defun cljr-slash ()
Original file line number Diff line number Diff line change 7
7
(dolist (prefix '(" "
8
8
" ::"
9
9
" ^"
10
- " ^::" ))
10
+ " ^::"
11
+ " @" ))
11
12
(expect (completable-for-cljr-slash? (concat prefix " a" )) :to-be t )
12
13
(expect (completable-for-cljr-slash? (concat prefix " a-" )) :to-be t )
13
14
(expect (completable-for-cljr-slash? (concat prefix " a2" )) :to-be t )
You can’t perform that action at this time.
0 commit comments