diff options
| author | Paul Eggert | 2025-07-11 15:33:26 -0700 |
|---|---|---|
| committer | Paul Eggert | 2025-07-13 21:09:39 -0700 |
| commit | b911029f96b14a03398198d5a849d6f4d0d1e071 (patch) | |
| tree | 1d35649cf532013346e239b1c6e80db3f4a5cd6b /src/bitmaps | |
| parent | 0a3c8a4df3f9e15737e4e5b4aecd2e63d2abbc4f (diff) | |
| download | emacs-b911029f96b14a03398198d5a849d6f4d0d1e071.tar.gz emacs-b911029f96b14a03398198d5a849d6f4d0d1e071.zip | |
Fix (find-file "/dev/null")
* lisp/files.el (find-file-noselect-1): When the file exists,
propagate any errors signaled by insert-file-contents,
instead of propagating them only when the file is unreadable.
This way, (find-file "/dev/null") gives a sensible diagnostic
"not a regular file" instead of the nonsense
"Maximum buffer size exceeded".
Diffstat (limited to 'src/bitmaps')
0 files changed, 0 insertions, 0 deletions