From: Eli Zaretskii Date: Sat, 1 Mar 2025 14:04:52 +0000 (+0200) Subject: Fix 'M-q' in 'makefile-mode' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e748624934b1626bd6e25bc3b79845401834be1;p=emacs.git Fix 'M-q' in 'makefile-mode' * lisp/progmodes/make-mode.el (makefile-mode-map): Bind 'M-q' to 'fill-paragraph', as 'prog-mode's default binding is not appropriate for Makefile's syntax. (Bug#76641) (cherry picked from commit 8481170eb296780b404caea587d17ab33a24aaeb) --- diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 0ae74630cff..782e0168ed8 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -574,6 +574,7 @@ The function must satisfy this calling convention: "C-c RET C-p" #'makefile-makepp-mode "M-p" #'makefile-previous-dependency "M-n" #'makefile-next-dependency + "M-q" #'fill-paragraph "C-M-i" #'completion-at-point) (when makefile-electric-keys