Revert a8f4d85d; back to help-fns+

Helpful, while sometime useful, tended to be slow when invoked.
This commit is contained in:
Henrik Lissner 2017-12-10 11:48:58 -05:00
parent 0ff5966379
commit e168118243
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 4 additions and 12 deletions

View file

@ -257,15 +257,9 @@ extension, try to guess one."
(def-package! expand-region
:commands (er/expand-region er/contract-region er/mark-symbol er/mark-word))
(def-package! helpful
:commands (helpful-callable helpful-function helpful-macro helpful-command
helpful-key helpful-variable helpful-at-point)
:init
(global-set-key [remap describe-function] #'helpful-callable)
(global-set-key [remap describe-variable] #'helpful-variable)
(global-set-key [remap describe-key] #'helpful-key)
:config
(map! :map helpful-mode-map :n "q" #'quit-window))
(def-package! help-fns+ ; Improved help commands
:commands (describe-buffer describe-command describe-file
describe-keymap describe-option describe-option-of-type))
(def-package! pcre2el
:commands rxt-quote-pcre)

View file

@ -106,7 +106,6 @@ recognized by DOOM's popup system. They are:
("*Warnings*" :size 12 :noselect t :autofit t)
("*Messages*" :size 12 :noselect t)
("*Help*" :size 0.3)
("^\\*Helpful" :regexp t :size 0.3)
("^\\*.*Shell Command.*\\*$" :regexp t :size 20 :noselect t :autokill t)
(apropos-mode :size 0.3 :autokill t :autoclose t)
(Buffer-menu-mode :size 20 :autokill t)

View file

@ -29,7 +29,7 @@
(package! command-log-mode)
(package! editorconfig)
(package! expand-region)
(package! helpful)
(package! help-fns+)
(package! pcre2el)
(package! smart-forward)
(package! smartparens)

View file

@ -202,7 +202,6 @@
:desc "Find library" :n "l" #'find-library
:desc "Toggle Emacs log" :n "m" #'doom/popup-toggle-messages
:desc "Command log" :n "L" #'global-command-log-mode
:desc "At point" :n "." #'helpful-at-point
:desc "Describe function" :n "f" #'describe-function
:desc "Describe key" :n "k" #'describe-key
:desc "Describe char" :n "c" #'describe-char