diff options
| author | Juri Linkov | 2018-01-21 23:45:43 +0200 |
|---|---|---|
| committer | Noam Postavsky | 2018-08-04 11:37:39 -0400 |
| commit | cc233365a925dcf9fa7270630819f2e6e75280da (patch) | |
| tree | 7d3ecdf237cfe9a014d35034bc32cd1ec55ebfff /etc | |
| parent | f0b8e64fb7720a9376bde80cc59fe37b0df83b9d (diff) | |
| download | emacs-cc233365a925dcf9fa7270630819f2e6e75280da.tar.gz emacs-cc233365a925dcf9fa7270630819f2e6e75280da.zip | |
New function read-answer (Bug#31782)
* lisp/emacs-lisp/map-ynp.el (read-answer-short): New defcustom.
(read-answer): New function.
* lisp/subr.el (assoc-delete-all): New function.
* etc/NEWS: Announce them.
* lisp/dired.el (dired-delete-file): Use read-answer.
(dired--yes-no-all-quit-help): Remove function.
(dired-delete-help): Remove defconst.
(backported from master, "New function read-answer (bug#30073)" and
"Respect non-saved value of `read-short-answer' (Bug#31782)")
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -110,6 +110,12 @@ be removed prior using the changed 'shadow-*' commands. | |||
| 110 | 110 | ||
| 111 | * Lisp Changes in Emacs 26.2 | 111 | * Lisp Changes in Emacs 26.2 |
| 112 | 112 | ||
| 113 | ** The new function 'read-answer' accepts either long or short answers | ||
| 114 | depending on the new customizable variable 'read-answer-short'. | ||
| 115 | |||
| 116 | ** New function 'assoc-delete-all'. | ||
| 117 | Like 'assq-delete-all', but uses 'equal' for comparison. | ||
| 118 | |||
| 113 | 119 | ||
| 114 | * Changes in Emacs 26.2 on Non-Free Operating Systems | 120 | * Changes in Emacs 26.2 on Non-Free Operating Systems |
| 115 | 121 | ||