diff options
| author | Eli Zaretskii | 2023-07-28 09:31:25 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2023-07-28 09:31:25 +0300 |
| commit | 36b6124d810679cc0f23282d51d9bf8b01f26011 (patch) | |
| tree | caec6017da7c4a3fcd8038b2b740803ac8ea618e /java/org/gnu | |
| parent | fd88b6cdd4b070622e46a87ab2d11dc69bd91b38 (diff) | |
| download | emacs-36b6124d810679cc0f23282d51d9bf8b01f26011.tar.gz emacs-36b6124d810679cc0f23282d51d9bf8b01f26011.zip | |
Fix userlock.el and filelock-tests in some rare cases
* lisp/userlock.el (userlock--check-content-unchanged): Don't
assume 'file-truename' of FILENAME is always non-nil. It could be
nil if we are called from a temporary buffer where some Lisp
program has forcibly set 'buffer-file-name'. (Bug#64821)
* test/src/filelock-tests.el (filelock-tests--fixture): Set
'buffer-file-name' to the true name of the temporary file.
Patch by Mattias EngdegÄrd <mattias.engdegard@gmail.com>.
(filelock-tests-detect-external-change): Quote the file names
passed to shell commands.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions