Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
必须在 Emacs24 中设置什么设置才能使load-file命令不区分大小写?
load-file
我不认为有任何直接内置的东西,但所有标准 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))