gpt4 book ai didi

emacs - 为什么在emacs中调用byte-recompile-directory函数时需要先输入c-u 0?

转载 作者:行者123 更新时间:2023-12-04 05:49:02 24 4
gpt4 key购买 nike

我正在为我的 emacs 安装 org-mode。网上某处的教程告诉我应该执行以下步骤: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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com