diff options
| author | Mattias EngdegÄrd | 2023-11-04 10:19:52 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-11-04 10:30:41 +0100 |
| commit | 5ab5dfd64c85cee8c8d37e988519045e11f46a98 (patch) | |
| tree | d8d2f70b6eefc5a46d517d57e239214993c85006 | |
| parent | 7ad9891e949259a0c1c3fb9ac0bfccefe3d02e78 (diff) | |
| download | emacs-5ab5dfd64c85cee8c8d37e988519045e11f46a98.tar.gz emacs-5ab5dfd64c85cee8c8d37e988519045e11f46a98.zip | |
Fix bytecomp-tests--dest-mountpoint test failure
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp-tests--dest-mountpoint): Add lexical cookie.
Bug reported and fix suggested by Jens Schmidt
(https://lists.gnu.org/archive/html/emacs-devel/2023-10/msg00719.html)
| -rw-r--r-- | test/lisp/emacs-lisp/bytecomp-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index 4aa555f1e92..06918f5901c 100644 --- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el | |||
| @@ -1697,7 +1697,8 @@ mountpoint (Bug#44631)." | |||
| 1697 | (byte-compile-error-on-warn t)) | 1697 | (byte-compile-error-on-warn t)) |
| 1698 | (should-not (file-remote-p input-file)) | 1698 | (should-not (file-remote-p input-file)) |
| 1699 | (should-not (file-remote-p output-file)) | 1699 | (should-not (file-remote-p output-file)) |
| 1700 | (write-region "" nil input-file nil nil nil 'excl) | 1700 | (write-region ";;; -*-lexical-binding:t-*-\n" |
| 1701 | nil input-file nil nil nil 'excl) | ||
| 1701 | (write-region "" nil output-file nil nil nil 'excl) | 1702 | (write-region "" nil output-file nil nil nil 'excl) |
| 1702 | (unwind-protect | 1703 | (unwind-protect |
| 1703 | (progn | 1704 | (progn |