Skip to content

Commit de548e3

Browse files
alexander-yakushevbbatsov
authored andcommitted
Remove obsolete variables from before 1.0
1 parent fdfa7c2 commit de548e3

File tree

5 files changed

+0
-35
lines changed

5 files changed

+0
-35
lines changed

cider-client.el

-3
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,6 @@ Here's an example for `pprint':
321321
:group 'cider
322322
:package-version '(cider . "0.21.0"))
323323

324-
(make-obsolete-variable 'cider-pprint-fn 'cider-print-fn "0.21")
325-
(make-obsolete-variable 'cider-pprint-options 'cider-print-options "0.21")
326-
327324
(defcustom cider-print-quota (* 1024 1024)
328325
"A hard limit on the number of bytes to return from any printing operation.
329326
Set to nil for no limit."

cider-debug.el

-4
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ configure `cider-debug-prompt' instead."
9797
(const :tag "Both" both))
9898
:package-version '(cider . "0.9.1"))
9999

100-
(make-obsolete 'cider-debug-print-length 'cider-debug-print-options "0.20")
101-
(make-obsolete 'cider-debug-print-level 'cider-debug-print-options "0.20")
102-
(make-obsolete-variable 'cider-debug-print-options 'cider-print-options "0.21")
103-
104100

105101
;;; Implementation
106102
(declare-function cider-browse-ns--combined-vars-with-meta "cider-browse-ns")

cider-repl.el

-7
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,13 @@ focused. Otherwise the buffer is displayed and focused."
9595
"Controls whether the REPL buffer is displayed in the current window."
9696
:type 'boolean)
9797

98-
(make-obsolete-variable 'cider-repl-scroll-on-output 'scroll-conservatively "0.21")
99-
10098
(defcustom cider-repl-use-pretty-printing t
10199
"Control whether results in the REPL are pretty-printed or not.
102100
The REPL will use the printer specified in `cider-print-fn'.
103101
The `cider-toggle-pretty-printing' command can be used to interactively
104102
change the setting's value."
105103
:type 'boolean)
106104

107-
(make-obsolete-variable 'cider-repl-pretty-print-width 'cider-print-options "0.21")
108-
109105
(defcustom cider-repl-use-content-types nil
110106
"Control whether REPL results are presented using content-type information.
111107
The `cider-repl-toggle-content-types' command can be used to interactively
@@ -149,9 +145,6 @@ you'd like to use the default Emacs behavior use
149145
`indent-for-tab-command'."
150146
:type 'symbol)
151147

152-
(make-obsolete-variable 'cider-repl-print-length 'cider-print-options "0.21")
153-
(make-obsolete-variable 'cider-repl-print-level 'cider-print-options "0.21")
154-
155148
(defvar cider-repl-require-repl-utils-code
156149
'((clj . "(when-let [requires (resolve 'clojure.main/repl-requires)]
157150
(clojure.core/apply clojure.core/require @requires))")

cider-stacktrace.el

-6
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ Pick nil if you prefer the same window as *cider-error*."
6262
:type 'boolean
6363
:package-version '(cider . "1.8.0"))
6464

65-
(make-obsolete 'cider-stacktrace-print-length 'cider-stacktrace-print-options "0.20")
66-
(make-obsolete 'cider-stacktrace-print-level 'cider-stacktrace-print-options "0.20")
67-
(make-obsolete-variable 'cider-stacktrace-print-options 'cider-print-options "0.21")
68-
6965
(defvar cider-stacktrace-detail-max 2
7066
"The maximum detail level for causes.")
7167

@@ -76,8 +72,6 @@ Pick nil if you prefer the same window as *cider-error*."
7672

7773
(defconst cider-error-buffer "*cider-error*")
7874

79-
(make-obsolete 'cider-visit-error-buffer 'cider-selector "0.18")
80-
8175
(defcustom cider-stacktrace-suppressed-errors '()
8276
"Errors that won't make the stacktrace buffer 'pop-over' your active window.
8377
The error types are represented as strings."

nrepl-client.el

-15
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,6 @@
8686
:prefix "nrepl-"
8787
:group 'applications)
8888

89-
;; (defcustom nrepl-buffer-name-separator " "
90-
;; "Used in constructing the REPL buffer name.
91-
;; The `nrepl-buffer-name-separator' separates cider-repl from the project name."
92-
;; :type '(string)
93-
;; :group 'nrepl)
94-
(make-obsolete-variable 'nrepl-buffer-name-separator 'cider-session-name-template "0.18")
95-
96-
;; (defcustom nrepl-buffer-name-show-port nil
97-
;; "Show the connection port in the nrepl REPL buffer name, if set to t."
98-
;; :type 'boolean
99-
;; :group 'nrepl)
100-
(make-obsolete-variable 'nrepl-buffer-name-show-port 'cider-session-name-template "0.18")
101-
10289
(defcustom nrepl-connected-hook nil
10390
"List of functions to call when connecting to the nREPL server."
10491
:type 'hook)
@@ -1511,8 +1498,6 @@ The default buffer name is *nrepl-error*."
15111498
(set-window-point win (point-max)))
15121499
(setq buffer-read-only t)))
15131500

1514-
(make-obsolete 'nrepl-default-client-buffer-builder nil "0.18")
1515-
15161501
(provide 'nrepl-client)
15171502

15181503
;;; nrepl-client.el ends here

0 commit comments

Comments
 (0)