]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert mistaken change in help-mode-setup
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 May 2022 17:31:46 +0000 (19:31 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 May 2022 17:31:46 +0000 (19:31 +0200)
* lisp/help-mode.el (help-mode-setup): Revert mistakenly applied
change from cd87a5c7a.

lisp/help-mode.el

index 0e4d48e1531adbabf9382e8c17450d8abdf050e9..3bd272b7233cb00bfb2d43aef6eec7f3aae3c643 100644 (file)
@@ -423,8 +423,7 @@ Commands:
 (defun help-mode-setup ()
   "Enter Help mode in the current buffer."
   (declare (obsolete nil "29.1"))
-  (unless (derived-mode-p 'help-mode)
-    (help-mode))
+  (help-mode)
   (setq buffer-read-only nil))
 
 ;;;###autoload