We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07fc640 commit f989728Copy full SHA for f989728
1 file changed
modules/home/emacs/default.nix
@@ -108,6 +108,13 @@ in
108
(setq confirm-kill-emacs 'y-or-n-p)
109
110
(global-set-key (kbd "C-S-d") #'duplicate-dwim)
111
+
112
+ (defun my/save-without-formatting ()
113
+ (interactive)
114
+ (let ((before-save-hook nil))
115
+ (save-buffer)))
116
117
+ (global-set-key (kbd "C-x M-s") #'my/save-without-formatting)
118
'';
119
120
usePackage = {
0 commit comments