Change helpful-switch-to-buffer-function

about to use popper.el.....
This commit is contained in:
Case Duckworth 2021-08-24 21:24:52 -05:00
parent e7437b1f70
commit 8d9ebc1b86

17
init.el
View File

@ -1199,14 +1199,15 @@ successive invocations."
(setup (:straight helpful)
(:option helpful-max-buffers 5
;;helpful-switch-buffer-function #'pop-to-buffer
helpful-switch-buffer-function
(lambda (buf)
(pop-to-buffer buf
'((display-buffer-reuse-mode-window
display-buffer-pop-up-window)
(mode . helpful-mode))
:norecord)))
helpful-switch-buffer-function #'pop-to-buffer
;; helpful-switch-buffer-function
;; (lambda (buf)
;; (pop-to-buffer buf
;; '((display-buffer-reuse-mode-window
;; display-buffer-pop-up-window)
;; (mode . helpful-mode))
;; :norecord))
)
(:global "<help> f" helpful-callable
"<help> v" helpful-variable
"<help> k" helpful-key