HI some problem with your generate autoload function
Closed this issue · 1 comments
glepnir commented
Hi @abo-abo I found your generate function ,i found it will generate two files autoload.el
and autoload.el~
when i used . Why i got this file autoload.el~
, new come to emacs from vim.thanks for your help!
(defun boot:generate-supremacs-autoloads ()
"Genreate supremacs autoload file"
(interactive)
(let ((generated-autoload-file (concat jorm-local-dir "autoload.el")))
(when (not (file-exists-p generated-autoload-file))
(with-current-buffer (find-file-noselect generated-autoload-file)
(insert ";;")
(save-buffer)))
(mapc #'update-directory-autoloads '("autoload"))))
glepnir commented
solved