summaryrefslogtreecommitdiff
path: root/cider-common.el
diff options
context:
space:
mode:
authorBartłomiej Kruczyk <bartlomiej.kruczyk@gmail.com>2016-10-15 09:18:23 +0200
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2016-10-16 14:21:41 +0300
commit1491f7d6060f07e23fafc360e6e5cff128439e27 (patch)
tree9d6faecf2e8877109a55a55f3ff888c3e0e4dd05 /cider-common.el
parent041b3e1da149ba0cc1241fd8923a79eff166664d (diff)
[Fix #1707] Add customization for line truncating in special buffers
Diffstat (limited to 'cider-common.el')
-rw-r--r--cider-common.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/cider-common.el b/cider-common.el
index d6166d45..7a16f9e1 100644
--- a/cider-common.el
+++ b/cider-common.el
@@ -42,6 +42,13 @@ prompt if that throws an error."
:group 'cider
:package-version '(cider . "0.9.0"))
+(defcustom cider-special-mode-truncate-lines t
+ "If non-nil, contents of CIDER's special buffers will be line-truncated.
+Should be set before loading CIDER."
+ :type 'boolean
+ :group 'cider
+ :package-version '(cider . "0.15.0"))
+
(defun cider--should-prompt-for-symbol (&optional invert)
"Return the value of the variable `cider-prompt-for-symbol'.
Optionally invert the value, if INVERT is truthy."