summaryrefslogtreecommitdiff
path: root/lisp/init-my-stuff.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/init-my-stuff.el')
-rw-r--r--lisp/init-my-stuff.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/init-my-stuff.el b/lisp/init-my-stuff.el
index b7bf92a..c15abe7 100644
--- a/lisp/init-my-stuff.el
+++ b/lisp/init-my-stuff.el
@@ -34,7 +34,9 @@
(kill-buffer (current-buffer))))
;; delete up to non-whitespace character
-(global-set-key (kbd "C-c d") 'hungry-delete-forward)
+(global-set-key (kbd "C-c d") (lambda ()
+ (interactive)
+ (cycle-spacing -1 t nil)))
(defun ssh-dtach (host)
"Open SSH connection to HOST and start dtach session."