Ch f之后选择* Help *窗口缓冲区


14

我为emacs lisp函数做了很多“ Ch f”操作。我更喜欢选择显示“ 帮助”缓冲区的窗口(在Ch f之后),然后在完成关闭窗口时按“ q”。有没有办法做到这一点?


轻度相关:您可以使用github.com/abo-abo/ace-link导航*Help*缓冲区。
abo-abo 2014年

Answers:


19

尝试

(setq help-window-select t)

或自定义此变量。完整的文档指出:

Documentation:
Non-nil means select help window for viewing.
Choices are:
 never (nil) Select help window only if there is no other window
             on its frame.
 other       Select help window unless the selected window is the
             only other window on the help window's frame.
 always (t)  Always select the help window.

This option has effect if and only if the help window was created
by `with-help-window'

You can customize this variable.

This variable was introduced, or its default value was changed, in
version 23.1 of Emacs.

1
很高兴知道这是“现在”的内置功能!很久以来,我一直在为各种帮助功能使用建议。
辣椒粉
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.