summaryrefslogtreecommitdiff
path: root/cider-classpath.el
diff options
context:
space:
mode:
authorTianxiang Xiong <tianxiang.xiong@gmail.com>2017-07-18 20:02:33 -0700
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2017-07-19 10:09:26 +0300
commit2329b0b5907c6c4caea6a5f6decbef6ddbab1abc (patch)
treec5ec7425ff09fe8e3f390c0e6c1586baebd5ad9b /cider-classpath.el
parent9685f8fd34b2ef7034076e39891b3f1efbae98be (diff)
Use `add-to-list` instead of `push` for ancillary buffers
Diffstat (limited to 'cider-classpath.el')
-rw-r--r--cider-classpath.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/cider-classpath.el b/cider-classpath.el
index f66c8843..831d6d59 100644
--- a/cider-classpath.el
+++ b/cider-classpath.el
@@ -29,8 +29,7 @@
(require 'cider-compat)
(defvar cider-classpath-buffer "*cider-classpath*")
-
-(push cider-classpath-buffer cider-ancillary-buffers)
+(add-to-list 'cider-ancillary-buffers cider-classpath-buffer)
(defvar cider-classpath-mode-map
(let ((map (make-sparse-keymap)))