using require

This commit is contained in:
2023-05-16 11:18:38 +02:00
parent 8fdad944f9
commit 98ccb528ea
65 changed files with 5977 additions and 0 deletions

26
lisp/init-help.el Normal file
View File

@@ -0,0 +1,26 @@
;; *** Help Mode
;; I even customize help windows! ... at least a little :)
(defun tvd-close-help ()
(interactive)
(kill-this-buffer)
(winner-undo))
(eval-after-load "Help"
'(progn
(add-hook 'help-mode-hook
(lambda ()
; doesn' work the way I like
;(local-set-key (kbd "q") 'tvd-close-help)
(local-set-key (kbd "q") 'quit-window)
(local-set-key (kbd "p") 'help-go-back)
(local-set-key (kbd "b") 'help-go-back)
(local-set-key (kbd "n") 'help-go-forward)
(local-set-key (kbd "f") 'help-go-forward)
(setq help-window-select t)
))))
(provide 'init-help)
;;; init-help.el ends here