在Emacs24中需要设置什么设置才能使load-file命令不区分大小写?
发布于 2015-12-02 06:57:50
我不认为有任何直接内置的东西,但是所有标准Elisp文件都有小写名称,所以如果这是您需要处理的全部内容,您可以这样做
(defadvice load-file (around lowercase-argument activate compile)
"Call `downcase' on the FILE argument to `load-file'."
(let ((file (downcase file)))
ad-do-it))https://stackoverflow.com/questions/33699116
复制相似问题