bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35487: Make visiting function from help-mode more customizable


From: martin rudalics
Subject: bug#35487: Make visiting function from help-mode more customizable
Date: Fri, 10 May 2019 10:00:30 +0200

> As a side effect, `C-h f' opens *Help* buffer in the same window.  I
> still want to open *Help* in other window (original behavior).  Do you
> have idea to do so?

You could try with

(defun display-buffer-condition-from-help (_buffer-name _action)
  (string-match-p "\\`\\*\\(Help\\)\\*\\(\\|<[0-9]+>\\)\\'"
                  (buffer-name (window-buffer))))

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]