Commit 4f85b479 authored by Glenn Morris's avatar Glenn Morris

* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):

`newline' does not respect `standard-output', so use `princ'.

Otherwise you can get \n inserted in the wrong buffer, eg
http://lists.gnu.org/archive/html/emacs-diffs/2013-10/msg00379.html
parent 947518db
2013-10-30 Glenn Morris <rgm@gnu.org>
* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
`newline' does not respect `standard-output', so use `princ'.
2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
......
......@@ -553,7 +553,7 @@ Return non-nil if and only if FILE adds no autoloads to OUTFILE
(princ `(push (purecopy
',(cons (intern package) version))
package--builtin-versions))
(newline)))))
(princ "\n")))))
(goto-char (point-min))
(while (not (eobp))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment