diff options
author | Case Duckworth | 2021-08-24 21:24:52 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-24 21:24:52 -0500 |
commit | 8d9ebc1b86f7b3cbdf2086fec9f92e5ad277e182 (patch) | |
tree | 74313e7edb85b0e8c9a7b17f14b3d0b3e5bebc5f | |
parent | Fix ibuffer hook (diff) | |
download | emacs-8d9ebc1b86f7b3cbdf2086fec9f92e5ad277e182.tar.gz emacs-8d9ebc1b86f7b3cbdf2086fec9f92e5ad277e182.zip |
Change helpful-switch-to-buffer-function
about to use popper.el.....
-rw-r--r-- | init.el | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/init.el b/init.el index 9f4b570..5d601a8 100644 --- a/init.el +++ b/init.el | |||
@@ -1199,14 +1199,15 @@ successive invocations." | |||
1199 | 1199 | ||
1200 | (setup (:straight helpful) | 1200 | (setup (:straight helpful) |
1201 | (:option helpful-max-buffers 5 | 1201 | (:option helpful-max-buffers 5 |
1202 | ;;helpful-switch-buffer-function #'pop-to-buffer | 1202 | helpful-switch-buffer-function #'pop-to-buffer |
1203 | helpful-switch-buffer-function | 1203 | ;; helpful-switch-buffer-function |
1204 | (lambda (buf) | 1204 | ;; (lambda (buf) |
1205 | (pop-to-buffer buf | 1205 | ;; (pop-to-buffer buf |
1206 | '((display-buffer-reuse-mode-window | 1206 | ;; '((display-buffer-reuse-mode-window |
1207 | display-buffer-pop-up-window) | 1207 | ;; display-buffer-pop-up-window) |
1208 | (mode . helpful-mode)) | 1208 | ;; (mode . helpful-mode)) |
1209 | :norecord))) | 1209 | ;; :norecord)) |
1210 | ) | ||
1210 | (:global "<help> f" helpful-callable | 1211 | (:global "<help> f" helpful-callable |
1211 | "<help> v" helpful-variable | 1212 | "<help> v" helpful-variable |
1212 | "<help> k" helpful-key | 1213 | "<help> k" helpful-key |