File tree Expand file tree Collapse file tree 6 files changed +6
-12
lines changed Expand file tree Collapse file tree 6 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 39
39
(require 'button )
40
40
41
41
(defconst cider-apropos-buffer " *cider-apropos*" )
42
-
43
- (push cider-apropos-buffer cider-ancillary-buffers)
42
+ (add-to-list 'cider-ancillary-buffers cider-apropos-buffer)
44
43
45
44
(defcustom cider-apropos-actions '((" display-doc" . cider-doc-lookup)
46
45
(" find-def" . cider--find-var)
Original file line number Diff line number Diff line change 43
43
(require 'nrepl-dict )
44
44
45
45
(defconst cider-browse-ns-buffer " *cider-ns-browser*" )
46
-
47
- (push cider-browse-ns-buffer cider-ancillary-buffers)
46
+ (add-to-list 'cider-ancillary-buffers cider-browse-ns-buffer)
48
47
49
48
(defvar-local cider-browse-ns-current-ns nil )
50
49
Original file line number Diff line number Diff line change 29
29
(require 'cider-compat )
30
30
31
31
(defvar cider-classpath-buffer " *cider-classpath*" )
32
-
33
- (push cider-classpath-buffer cider-ancillary-buffers)
32
+ (add-to-list 'cider-ancillary-buffers cider-classpath-buffer)
34
33
35
34
(defvar cider-classpath-mode-map
36
35
(let ((map (make-sparse-keymap )))
Original file line number Diff line number Diff line change 36
36
; ; ===================================
37
37
38
38
(defconst cider-inspector-buffer " *cider-inspect*" )
39
-
40
- (push cider-inspector-buffer cider-ancillary-buffers)
39
+ (add-to-list 'cider-ancillary-buffers cider-inspector-buffer)
41
40
42
41
; ;; Customization
43
42
(defgroup cider-inspector nil
Original file line number Diff line number Diff line change 36
36
(require 'cider-compat )
37
37
38
38
(defconst cider-macroexpansion-buffer " *cider-macroexpansion*" )
39
-
40
- (push cider-macroexpansion-buffer cider-ancillary-buffers)
39
+ (add-to-list 'cider-ancillary-buffers cider-macroexpansion-buffer)
41
40
42
41
(defcustom cider-macroexpansion-display-namespaces 'tidy
43
42
" Determines if namespaces are displayed in the macroexpansion buffer.
Original file line number Diff line number Diff line change 52
52
map))
53
53
54
54
(defconst cider-scratch-buffer-name " *cider-scratch*" )
55
-
56
- (push cider-scratch-buffer-name cider-ancillary-buffers)
55
+ (add-to-list 'cider-ancillary-buffers cider-scratch-buffer-name)
57
56
58
57
;;;### autoload
59
58
(defun cider-scratch ()
You can’t perform that action at this time.
0 commit comments