Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ae2f634

Browse files
yuhan0bbatsov
authored andcommittedMay 18, 2021
Fix cljr-slash docstring
1 parent ba12957 commit ae2f634

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎clj-refactor.el

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969

7070
(defcustom cljr-magic-requires t
7171
"Whether to automatically require common namespaces when they are used.
72-
These are the namespaces listed in `cljr-magic-require-namespaces'.
72+
These are the namespaces listed in `cljr-magic-require-namespaces'
73+
and returned by the `namespace-aliases' middleware op.
7374
7475
If this variable is `:prompt', typing the short form followed by
7576
`\\[cljr-slash]' will ask if you want to add the corresponding require
@@ -1976,10 +1977,9 @@ the alias in the project."
19761977
;;;###autoload
19771978
(defun cljr-slash ()
19781979
"Inserts / as normal, but also checks for common namespace shorthands to require.
1979-
If `cljr-magic-require-namespaces' is non-nil, typing one of the
1980-
short aliases listed in `cljr-magic-requires' followed by this
1981-
command will add the corresponding require statement to the ns
1982-
form."
1980+
If `cljr-magic-requires' is non-nil, executing this command after one of the aliases
1981+
listed in `cljr-magic-require-namespaces', or any alias used elsewhere in the project,
1982+
will add the corresponding require statement to the ns form."
19831983
(interactive)
19841984
(insert "/")
19851985
(when-let (aliases (and cljr-magic-requires

0 commit comments

Comments
 (0)