From 032203ef99d05e1a1f1de113a5bed8c7f1755928 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 15 May 2018 10:48:50 +0200 Subject: [PATCH] hscroll-margin = 2 So that moving to the ends of a sentence don't sometimes leave the cursor beyond the edge of the screen in GUI Emacs. --- core/core-editor.el | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core-editor.el b/core/core-editor.el index e4d9b72e4..9aa4aae96 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -27,6 +27,7 @@ modes are active and the buffer is read-only.") hscroll-step 1 scroll-conservatively 1001 scroll-margin 0 + hscroll-margin 2 scroll-preserve-screen-position t ;; Whitespace (see `editorconfig') indent-tabs-mode nil