summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2024-04-27 10:00:10 +0100
committerSean Whitton <spwhitton@spwhitton.name>2024-04-27 10:00:25 +0100
commit59479c1542b00a358662afaf16419d046c9f329b (patch)
tree64e315968e10432c82cbdde1ae93981e22b85d18
parent1a59ac0d21b413529eac376e67a5ce853255497f (diff)
downloaddotfiles-59479c1542b00a358662afaf16419d046c9f329b.tar.gz
try out adding delete-space-after to cycle-spacing-actions
-rw-r--r--.emacs.d/init.el4
1 files 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)