]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change (bug#77081)
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 Mar 2025 11:01:35 +0000 (14:01 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 31 Mar 2025 08:33:29 +0000 (10:33 +0200)
* lisp/electric.el (electric-block-comment-mode): Fix whitespace.

* etc/NEWS: Move entry to its proper place; fix punctuation.

(cherry picked from commit e9a07417ab280ea627594fa4328c5a0b2de6fd7c)

lisp/electric.el

index 8c8824a63279dbe999f6d66fc5d1bf5e2717ff79..43cb8e8f8f5016ef60e74eb80da54059167c4178 100644 (file)
@@ -425,8 +425,10 @@ corresponding `block-comment-end'."
   :group 'electricity
   :version "31.1"
   (if electric-block-comment-mode
-      (add-hook 'post-self-insert-hook #'electric-block-comment-post-self-insert-function 10 t)
-    (remove-hook 'post-self-insert-hook #'electric-block-comment-post-self-insert-function t)))
+      (add-hook 'post-self-insert-hook
+                #'electric-block-comment-post-self-insert-function 10 t)
+    (remove-hook 'post-self-insert-hook
+                 #'electric-block-comment-post-self-insert-function t)))
 
 (provide 'electric)