summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yakushev <alex@bytopia.org>2018-11-07 00:31:44 +0200
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2018-11-07 00:10:08 +0100
commitff41e9a6ccad340328e620efcc24d270f9adc6e9 (patch)
tree75ac9cf0781f0b5c89aaff27364b69a1d1a2e5e9
parentcb735cc79d19a57e7c4bdcbc321c664163171982 (diff)
[inspector] Use visual-line-mode instead of truncate-lines
This makes the inspector display long values on one screen without horizontal scrolling.
-rw-r--r--cider-inspector.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/cider-inspector.el b/cider-inspector.el
index 21c2d987..9823530d 100644
--- a/cider-inspector.el
+++ b/cider-inspector.el
@@ -85,8 +85,7 @@ The page size can be also changed interactively within the inspector."
(set-syntax-table clojure-mode-syntax-table)
(setq-local electric-indent-chars nil)
(setq-local sesman-system 'CIDER)
- (when cider-special-mode-truncate-lines
- (setq-local truncate-lines t)))
+ (visual-line-mode 1))
;;;###autoload
(defun cider-inspect-last-sexp ()