]> git.eshelyaron.com Git - emacs.git/commit
Don't signal a backtrace on empty --script files
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 10 Feb 2022 12:44:55 +0000 (13:44 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 10 Feb 2022 12:44:55 +0000 (13:44 +0100)
commit53da8c50fca98b5a7d0418f6030181df50af8876
tree83d90e494cc2dcbe3298c8d0b19bb21f3ecf5dca
parent15781beda80fffa6c2dca1b5b32da8f0b4b3b306
Don't signal a backtrace on empty --script files

* lisp/startup.el (command-line--load-script): New function that
avoids erroring out if it turns out there's no forms in the buffer
(bug#4616).

* lisp/subr.el (delete-line): New utility function.
* lisp/international/mule.el (load-with-code-conversion): Accept
an eval function.
lisp/international/mule.el
lisp/startup.el
lisp/subr.el