diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2018-01-21 20:06:31 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2018-01-21 20:06:31 +0200 |
commit | be2341d93870a1f95321aa72b25516b71bb04fe5 (patch) | |
tree | fcf81734c069871dc0d1a46036f6d4d14808b20e /cider-util.el | |
parent | 107e05c292ae1d42389ffe456f796e80b25cb66a (diff) |
Drop support for cljx
Clojure 1.7 has been around for 3 years now and it's pretty safe
to assume almost no one is still using cljx at this point.
Diffstat (limited to 'cider-util.el')
-rw-r--r-- | cider-util.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cider-util.el b/cider-util.el index 0b9020ff..d184ee70 100644 --- a/cider-util.el +++ b/cider-util.el @@ -87,12 +87,12 @@ which nREPL uses for temporary evaluation file names." (let ((fname (file-name-nondirectory file-name))) (string-match-p "^form-init" fname))) -(defun cider--cljc-or-cljx-buffer-p (&optional buffer) - "Return non-nil if the current buffer is visiting a cljc or cljx file. +(defun cider--cljc-buffer-p (&optional buffer) + "Return non-nil if the current buffer is visiting a cljc file. If BUFFER is provided act on that buffer instead." (with-current-buffer (or buffer (current-buffer)) - (or (derived-mode-p 'clojurec-mode) (derived-mode-p 'clojurex-mode)))) + (or (derived-mode-p 'clojurec-mode)))) ;;; Thing at point |