我曾经能够使用该命令快速在Emacs中打开一个新的缓冲区 C-x b <non existent buffer name>
不知怎的,我在我的Emacs版本(23.1)中打破了这个.当我尝试这样做时,我[No match]在命令缓冲区中获取消息.
有谁知道我可能已经做了什么来打破这个功能,或者我有可能想到能够做到这一点?
设置confirm-nonexistent-file-or-buffer为nil:
confirm-nonexistent-file-or-buffer is a variable defined in `files.el'.
Its value is after-completion
Documentation:
Whether confirmation is requested before visiting a new file or buffer.
If nil, confirmation is not requested.
If the value is `after-completion', confirmation is only
requested if the user called `minibuffer-complete' right before
`minibuffer-complete-and-exit'.
Any other non-nil value means to request confirmation.
This affects commands like `switch-to-buffer' and `find-file'.
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 23.1 of Emacs.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
10990 次 |
| 最近记录: |