From ed329adacd999b675b9cef387a2456c7f1c3c219 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 6 Aug 2016 03:56:43 +0200 Subject: [PATCH] Truncate long lines --- emacs/.emacs.d/init.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index e24bd2a..6a7e5f1 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -216,6 +216,16 @@ To start off, first I need to enable lexical binding. (setq require-final-newline t) #+END_SRC +* Long lines + + By default Emacs wraps long lines around to the next line when they + reach the far end of the window. However I prefer to have them + truncated instead. + + #+BEGIN_SRC emacs-lisp + (setq-default truncate-lines t) + #+END_SRC + * Theme #+BEGIN_SRC emacs-lisp