From 45511fabf2f7532d03de41fb23d6f8bf0d20b92f Mon Sep 17 00:00:00 2001 From: magic_rb Date: Fri, 3 Nov 2023 20:25:42 +0100 Subject: [PATCH] Add Visual Fill Column to Emacs Signed-off-by: magic_rb --- emacs-lisp/visual_fill_column.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 emacs-lisp/visual_fill_column.org diff --git a/emacs-lisp/visual_fill_column.org b/emacs-lisp/visual_fill_column.org new file mode 100644 index 0000000..45ae8c0 --- /dev/null +++ b/emacs-lisp/visual_fill_column.org @@ -0,0 +1,15 @@ +:PROPERTIES: +:header-args:emacs-lisp: :comments link :results none +:ID: 3d52b0b7-2d91-48b4-88b6-a497b1471617 +:END: +#+title: Visual Fill Column +#+filetags: emacs-load +#+begin_src emacs-lisp + (use-package visual-fill-column + :straight t + :config + (advice-add 'text-scale-adjust :after #'visual-fill-column-adjust) + (advice-add 'text-scale-decrease :after #'visual-fill-column-adjust) + (advice-add 'text-scale-increase :after #'visual-fill-column-adjust)) +#+end_src +