]> git.eshelyaron.com Git - emacs.git/commit
Don't warn the user about large files if they are unreadable
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 15 Apr 2018 19:03:34 +0000 (21:03 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 15 Apr 2018 19:03:34 +0000 (21:03 +0200)
commit2e1caf3254ba6bf6bd764b60b24e298995ec2cb9
tree34806a8e1f7cee8234c32cc6b9cf351344c91e62
parentb72de45eb00b6a1c35a3d11914fb862ebb30034a
Don't warn the user about large files if they are unreadable

* lisp/files.el (abort-if-file-too-large): There's no point in
warning the user about a too-large file if we're not able to read
it (bug#29549).  Hopefully this doesn't introduce a race condition
between this test and the `file-readable-p' test later.
lisp/files.el