首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >设置byte-compile-dest-file-function

设置byte-compile-dest-file-function
EN

Stack Overflow用户
提问于 2012-12-20 00:43:39
回答 2查看 179关注 0票数 0

我想使用相对路径设置emacs lisp字节编译的目标目录,比如../foo。我想我应该使用byte-compile-dest-file-function,但不知道如何设置它。如何设置?

EN

Stack Overflow用户

发布于 2012-12-20 01:27:28

您可以使用C-h v后跟该变量名来找到它。

代码语言:javascript
运行
复制
(defcustom byte-compile-dest-file-function nil
  "Function for the function `byte-compile-dest-file' to call.
It should take one argument, the name of an Emacs Lisp source
file name, and return the name of the compiled file."
  :group 'bytecomp
  :type '(choice (const nil) function)
  :version "23.2")

你可以看到它是一个可定制的变量,所以你可以将它的值改为"function“。

编辑:我不太确定这是你想要改变的变量。事实上,你可以看到它经常处理变量目录,我不知道如何设置一个特定的目录,所有的.elc都应该放在那里。

票数 0
EN
查看全部 2 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13957049

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档