]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix 'M-q' in 'makefile-mode'
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Mar 2025 14:04:52 +0000 (16:04 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 20:57:20 +0000 (21:57 +0100)
* 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

index 0ae74630cff78e88918c840ae385c17b7ea909f5..782e0168ed8048acbed13a0dd02023c9ee787aff 100644 (file)
@@ -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