diff options
-rw-r--r-- | init.el | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/init.el b/init.el index 7555dad..04abefa 100644 --- a/init.el +++ b/init.el | |||
@@ -1421,7 +1421,7 @@ successive invocations." | |||
1421 | 1421 | ||
1422 | (setup (:straight helpful) | 1422 | (setup (:straight helpful) |
1423 | (:option helpful-max-buffers 5 | 1423 | (:option helpful-max-buffers 5 |
1424 | helpful-switch-buffer-function #'pop-to-buffer | 1424 | ;; helpful-switch-buffer-function #'pop-to-buffer |
1425 | ;; helpful-switch-buffer-function | 1425 | ;; helpful-switch-buffer-function |
1426 | ;; (lambda (buf) | 1426 | ;; (lambda (buf) |
1427 | ;; (pop-to-buffer buf | 1427 | ;; (pop-to-buffer buf |
@@ -1435,13 +1435,14 @@ successive invocations." | |||
1435 | "<help> k" helpful-key | 1435 | "<help> k" helpful-key |
1436 | "<help> o" helpful-symbol | 1436 | "<help> o" helpful-symbol |
1437 | "C-c C-d" helpful-at-point) | 1437 | "C-c C-d" helpful-at-point) |
1438 | (with-eval-after-load 'helpful | 1438 | ;; (with-eval-after-load 'helpful |
1439 | (define-key helpful-mode-map "q" | 1439 | ;; (define-key helpful-mode-map "q" |
1440 | (defun helpful-mode|quit () | 1440 | ;; (defun helpful-mode|quit () |
1441 | (interactive) | 1441 | ;; (interactive) |
1442 | (bury-buffer) | 1442 | ;; (bury-buffer) |
1443 | (unless (window-parameter (frame-selected-window) 'no-other-window) | 1443 | ;; (unless (window-parameter (frame-selected-window) 'no-other-window) |
1444 | (delete-window)))))) | 1444 | ;; (delete-window))))) |
1445 | ) | ||
1445 | 1446 | ||
1446 | (setup (:straight iscroll) | 1447 | (setup (:straight iscroll) |
1447 | (:hook-into text-mode)) | 1448 | (:hook-into text-mode)) |