aboutsummaryrefslogtreecommitdiffstats
path: root/src/bitmaps
diff options
context:
space:
mode:
authorPaul Eggert2025-07-11 15:33:26 -0700
committerPaul Eggert2025-07-13 21:09:39 -0700
commitb911029f96b14a03398198d5a849d6f4d0d1e071 (patch)
tree1d35649cf532013346e239b1c6e80db3f4a5cd6b /src/bitmaps
parent0a3c8a4df3f9e15737e4e5b4aecd2e63d2abbc4f (diff)
downloademacs-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