Skip to content

Commit a8c31af

Browse files
committed
Improve docstrings of the clojure-sym-* variables
1 parent a6d1858 commit a8c31af

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

clojure-mode.el

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -354,17 +354,18 @@ Called by `imenu--generic-function'."
354354

355355
(eval-and-compile
356356
(defconst clojure-sym-rest-chars "^][\";\'@\\^`~\(\)\{\}\\"
357-
"A list of chars that a Clojure symbol cannot contain. See
358-
definiton of 'macros': URL `http://git.io/vRGLD'.")
357+
"A list of chars that a Clojure symbol cannot contain.
358+
See definiton of 'macros': URL `http://git.io/vRGLD'.")
359359
(defconst clojure-sym-1st-chars (concat clojure-sym-rest-chars "0-9")
360-
"A list of chars that a Clojure symbol cannot start with. See
361-
the for-loop: URL `http://git.io/vRGTj' lines:
362-
URL `http://git.io/vRGIh', URL `http://git.io/vRGLE'
363-
and value definition of 'macros': URL `http://git.io/vRGLD'.")
360+
"A list of chars that a Clojure symbol cannot start with.
361+
See the for-loop: URL `http://git.io/vRGTj' lines: URL
362+
`http://git.io/vRGIh', URL `http://git.io/vRGLE' and value
363+
definition of 'macros': URL `http://git.io/vRGLD'.")
364364
(defconst clojure-sym
365365
(concat "[" clojure-sym-1st-chars "][" clojure-sym-rest-chars "]+")
366-
"A concatenation of the blacklists
367-
`clojure-sym-1st-chars' and `clojure-sym-rest-chars'."))
366+
"A regexp matching a Clojure symbol or namespace alias.
367+
Matches the rule `clojure-sym-1st-chars' followed by any number
368+
of matches of `clojure-sym-rest-chars'."))
368369

369370
(defconst clojure-font-lock-keywords
370371
(eval-when-compile

0 commit comments

Comments
 (0)