我正在将 org-mode 安装到我的 emacs 上。网上的教程告诉我应该执行以下步骤:c-u 0 m-x byte-recompile-directory<RET>
。我知道我在后一步( m-x byte-recompile-directory<RET>
)中做什么,但是 "c-u 0"
这里的含义是什么? ?谢谢!
最佳答案
来自byte-recompile-directory
文档:
If the '.elc' file does not exist, normally this function does not compile the corresponding '.el' file. However, if the prefix argument ARG is 0, that means do compile all those files. A nonzero ARG means ask the user, for each such '.el' file, whether to compile it. A nonzero ARG also means ask about each subdirectory before scanning it.
C-u 是向交互式函数提供数字参数的常用方法。除非您使用 C-u 0 提供零参数,否则不会重新编译尚未包含 .elc
文件的文件。
关于emacs - 为什么在 emacs 中调用 byte-recompile-directory 函数时需要先输入 c-u 0?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10320150/