From 59479c1542b00a358662afaf16419d046c9f329b Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 27 Apr 2024 10:00:10 +0100 Subject: try out adding delete-space-after to cycle-spacing-actions --- .emacs.d/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e2c75e37..c5737330 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -195,8 +195,8 @@ two 80-column windows side-by-side in the frame." '(copyright-year-ranges t) '(cursor-type 'box) - ;; Restore Emacs 28 behaviour of M-SPC. - '(cycle-spacing-actions '(just-one-space)) + ;; C-u M-\ to delete only before point, M-SPC M-SPC to delete only after. + '(cycle-spacing-actions '(just-one-space (delete-space-after -))) '(dabbrev-case-fold-search t) '(display-fill-column-indicator-character 32) -- cgit v1.2.3