diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2016-02-26 08:12:12 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2016-02-26 08:12:12 +0200 |
commit | 681bce05c21ab052d9a8851d781a5a97be0b256e (patch) | |
tree | 0d16dae54bdcc32ec92f1f8e87c554ddfdd72f81 /cider-repl.el | |
parent | 4248c26ec782d731c7bd0fadd362a4490d99dad6 (diff) |
Remove an unless fboundp check
Diffstat (limited to 'cider-repl.el')
-rw-r--r-- | cider-repl.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cider-repl.el b/cider-repl.el index 8cdf5086..6d06fe4b 100644 --- a/cider-repl.el +++ b/cider-repl.el @@ -1294,8 +1294,8 @@ constructs." (setq-local beginning-of-defun-function #'cider-repl-mode-beginning-of-defun) (setq-local end-of-defun-function #'cider-repl-mode-end-of-defun) (setq-local prettify-symbols-alist clojure--prettify-symbols-alist) - (if (fboundp 'hack-dir-local-variables-non-file-buffer) - (hack-dir-local-variables-non-file-buffer)) + ;; apply dir-local variables to REPL buffers + (hack-dir-local-variables-non-file-buffer) (when cider-repl-history-file (cider-repl-history-load cider-repl-history-file) (add-hook 'kill-buffer-hook #'cider-repl-history-just-save t t) |