]> git.eshelyaron.com Git - emacs.git/commitdiff
Add convenience binding for html-paragraph to mhtml-mode
authorStefan Kangas <stefankangas@gmail.com>
Sun, 19 May 2024 08:43:59 +0000 (10:43 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 May 2024 07:42:26 +0000 (09:42 +0200)
* lisp/textmodes/sgml-mode.el (html-mode-map): Bind 'C-c C-c p' to
'html-paragraph'.  (Bug#70533)

(cherry picked from commit 92cd24f405ca15e453238cae4f2e1922667220f0)

lisp/textmodes/sgml-mode.el

index 0e15f7e6062ba5431b93143648ded99cab1d1b6a..1f440ebf7d096fa5c30bb14b7a02ba053c614582 100644 (file)
@@ -1820,6 +1820,7 @@ This takes effect when first loading the library.")
     (define-key map "\C-c\C-c#" #'html-id-anchor)
     (define-key map "\C-c\C-ci" #'html-image)
     (when html-quick-keys
+      (define-key map "\C-cp" #'html-paragraph)
       (define-key map "\C-c-" #'html-horizontal-rule)
       (define-key map "\C-cd" #'html-div)
       (define-key map "\C-co" #'html-ordered-list)