Skip to content

Commit eff988e

Browse files
committed
Mark properly a deprecated defcustom as obsolete
1 parent 79356dc commit eff988e

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

clj-refactor.el

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -164,18 +164,6 @@ will not work as expected in such REPLs."
164164
:group 'cljr
165165
:type 'boolean)
166166

167-
(defcustom cljr-find-usages-ignore-analyzer-errors nil
168-
"DEPRECATED: use `cljr-ignore-analyzer-errors' instead.
169-
If t, `cljr-find-usages' ignores namespaces that cannot be analyzed.
170-
If any namespaces presents an analyzer error, it is skipped and
171-
the command carries on looking for the given symbol in those
172-
namespaces which can be analyzed.
173-
174-
If nil, `cljr-find-usages' won't run if there is a broken
175-
namespace in the project."
176-
:group 'cljr
177-
:type 'boolean)
178-
179167
(defcustom cljr-ignore-analyzer-errors nil
180168
"If t, `cljr-find-usages' `cljr-inline-symbol' `cljr-rename-symbol'
181169
ignores namespaces that cannot be analyzed.
@@ -188,6 +176,8 @@ won't run if there is a broken namespace in the project."
188176
:group 'cljr
189177
:type 'boolean)
190178

179+
(define-obsolete-variable-alias 'cljr-find-usages-ignore-analyzer-errors 'cljr-ignore-analyzer-errors "2.3.0")
180+
191181
(defcustom cljr-auto-eval-ns-form t
192182
"When true refactorings which change the ns form also trigger
193183
its re-evaluation."
@@ -2525,7 +2515,7 @@ See: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-promote-function
25252515
"name" symbol
25262516
"ignore-paths" cljr-middleware-ignored-paths
25272517
"ignore-errors"
2528-
(when (or cljr-find-usages-ignore-analyzer-errors cljr-ignore-analyzer-errors) "true"))))
2518+
(when cljr-ignore-analyzer-errors "true"))))
25292519
(with-current-buffer (with-no-warnings (cider-current-repl-buffer))
25302520
(setq cjr--occurrence-count 0)
25312521
(setq cljr--num-syms -1)

0 commit comments

Comments
 (0)