all repos — nixfiles @ f61a949a9a394afd3f21b8e993412630ad73a2e9

System and user configuration, managed by nix and home-manager

Emacs: save files with a trailing newline, as expected by posix
Alan Pearce alan@alanpearce.eu
Tue, 14 Mar 2023 16:04:14 +0100
commit

f61a949a9a394afd3f21b8e993412630ad73a2e9

parent

5da2e6824ffcc6bbd02767c39bd992bbaf6dc856

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -157,7 +157,8 @@ ;;; Encoding
 
 (setq-default bidi-paragraph-direction 'left-to-right)
-(setq bidi-inhibit-bpa t)
+(setq bidi-inhibit-bpa t
+      require-final-newline t)
 
 ;;; Dates & Times