diff options
author | Bartłomiej Kruczyk <bartlomiej.kruczyk@gmail.com> | 2016-10-15 09:18:23 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2016-10-16 14:21:41 +0300 |
commit | 1491f7d6060f07e23fafc360e6e5cff128439e27 (patch) | |
tree | 9d6faecf2e8877109a55a55f3ff888c3e0e4dd05 /cider-stacktrace.el | |
parent | 041b3e1da149ba0cc1241fd8923a79eff166664d (diff) |
[Fix #1707] Add customization for line truncating in special buffers
Diffstat (limited to 'cider-stacktrace.el')
-rw-r--r-- | cider-stacktrace.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cider-stacktrace.el b/cider-stacktrace.el index 3d31243f..41e6f38c 100644 --- a/cider-stacktrace.el +++ b/cider-stacktrace.el @@ -225,7 +225,8 @@ The error types are represented as strings." \\{cider-stacktrace-mode-map}" (setq buffer-read-only t) - (setq-local truncate-lines t) + (when cider-special-mode-truncate-lines + (setq-local truncate-lines t)) (setq-local electric-indent-chars nil) (setq-local cider-stacktrace-prior-filters nil) (setq-local cider-stacktrace-hidden-frame-count 0) |