Add some buffer limit indicators

Taken from https://github.com/purcell/emacs.d/blob/master/lisp/init-editing-utils.el.  Nice!
This commit is contained in:
Daniel Borchmann 2025-03-29 17:03:13 +01:00
parent 620ce06760
commit 93a2e5f939
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -152,7 +152,8 @@
redisplay-skip-fontification-on-input t redisplay-skip-fontification-on-input t
undo-limit 80000000 undo-limit 80000000
async-shell-command-buffer 'new-buffer async-shell-command-buffer 'new-buffer
byte-compile-warnings '(not docstrings)) byte-compile-warnings '(not docstrings)
indicate-buffer-boundaries 'left)
(put 'set-goal-column 'disabled nil) (put 'set-goal-column 'disabled nil)
@ -1486,7 +1487,8 @@ Note that this workaround is incomplete, as explained in this comment."
:config (progn :config (progn
(add-hook 'prog-mode-hook 'electric-indent-local-mode) (add-hook 'prog-mode-hook 'electric-indent-local-mode)
(add-hook 'prog-mode-hook 'hl-line-mode) (add-hook 'prog-mode-hook 'hl-line-mode)
(add-hook 'prog-mode-hook 'page-break-lines-mode))) (add-hook 'prog-mode-hook 'page-break-lines-mode)
(add-hook 'prog-mode-hook 'display-fill-column-indicator-mode)))
(use-package ediff (use-package ediff
:init (setq ediff-diff-options "-w" :init (setq ediff-diff-options "-w"