From 4e748624934b1626bd6e25bc3b79845401834be1 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 1 Mar 2025 16:04:52 +0200 Subject: [PATCH] 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) --- lisp/progmodes/make-mode.el | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5