summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Martín <mardani29@yahoo.es>2021-05-06 10:27:03 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-05-06 10:27:03 +0200
commitb61c828ea37f6d875f9c2672a262482af5efedb4 (patch)
tree42bd8c0bbebdee167f6e5e93ee1ecbed9b1344d1 /etc
parent2705fc4ab05bb81ba8c6fd6469499be32a4ac420 (diff)
downloademacs-b61c828ea37f6d875f9c2672a262482af5efedb4.tar.gz
Add a help option to the open large files prompt
* lisp/files.el (files--ask-user-about-large-file-help-text): New function that returns information about opening large files in Emacs. (Bug#45412) (files--ask-user-about-large-file): Use read-multiple-choice to display the available actions. * etc/NEWS: Advertise the new feature.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c759b333b60..737b64b0dad 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -284,6 +284,14 @@ that have been marked for deletion. However, if this new option is
non-nil then Emacs will require confirmation with 'yes-or-no-p' before
deleting.
+---
+** New help window when Emacs prompts before opening a large file.
+Commands like 'find-file' or 'visit-tags-table' ask to visit a file
+normally or literally when the file is larger than a certain size (by
+default, 9.5 MiB). Press '?' or 'C-h' in that prompt to read more
+about the different options to visit a file, how you can disable the
+prompt, and how you can tweak the file size threshold.
+
* Editing Changes in Emacs 28.1