Emacs给出了有关字节编译的有用警告。有没有插件可以添加关于正在使用的破坏性操作的警告?所以当我像这样写代码时:
(defun get-countdown ()
(let ((x (number-sequence 0 10)))
(message (format "%s" (sort x #'>)))
x))#Emacs抱怨:
temp.el:4:5:Warning: using variable modified by `sort'.或者像elisp-newbie-mode这样突出显示所有破坏性功能的工具?
发布于 2013-08-18 13:29:28
我今天向Emacs Dev发送了一个补丁,将其添加到字节编译器中。
不管怎么说,这是一个开始。参见Emacs bug #15122。
https://stackoverflow.com/questions/17610046
复制相似问题