meta-m runs delete-trailing-whitespace in curl-mode
This commit is contained in:
Родитель
5d8b526b80
Коммит
37c269d0ba
|
@ -33,6 +33,7 @@
|
||||||
;; keybindings for C, C++, and Objective-C. We can put these in
|
;; keybindings for C, C++, and Objective-C. We can put these in
|
||||||
;; c-mode-base-map because of inheritance ...
|
;; c-mode-base-map because of inheritance ...
|
||||||
(define-key c-mode-base-map "\M-q" 'c-fill-paragraph)
|
(define-key c-mode-base-map "\M-q" 'c-fill-paragraph)
|
||||||
|
(define-key c-mode-base-map "\M-m" 'delete-trailing-whitespace)
|
||||||
(setq c-recognize-knr-p nil)
|
(setq c-recognize-knr-p nil)
|
||||||
;;; (add-hook 'write-file-hooks 'delete-trailing-whitespace t)
|
;;; (add-hook 'write-file-hooks 'delete-trailing-whitespace t)
|
||||||
(setq show-trailing-whitespace t)
|
(setq show-trailing-whitespace t)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче