diff options
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 0d183fa9ec0..57cbc63a9bf 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -1522,10 +1522,8 @@ With argument, insert value in current buffer after the form." | |||
| 1522 | (defun byte-compile-fix-header (filename inbuffer outbuffer) | 1522 | (defun byte-compile-fix-header (filename inbuffer outbuffer) |
| 1523 | (save-excursion | 1523 | (save-excursion |
| 1524 | (set-buffer outbuffer) | 1524 | (set-buffer outbuffer) |
| 1525 | (goto-char (point-min)) | ||
| 1526 | ;; See if the buffer has any multibyte characters. | 1525 | ;; See if the buffer has any multibyte characters. |
| 1527 | (skip-chars-forward "\0-\377") | 1526 | (when (< (point-max) (position-bytes (point-max))) |
| 1528 | (when (not (eobp)) | ||
| 1529 | (when (byte-compile-version-cond byte-compile-compatibility) | 1527 | (when (byte-compile-version-cond byte-compile-compatibility) |
| 1530 | (error "Version-18 compatibility not valid with multibyte characters")) | 1528 | (error "Version-18 compatibility not valid with multibyte characters")) |
| 1531 | (goto-char (point-min)) | 1529 | (goto-char (point-min)) |