diff options
| author | Stefan Kangas | 2024-06-27 01:50:18 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2024-06-27 01:50:18 +0200 |
| commit | da11a2a5cc3fa7e28031dc87e0f07004a9a005f7 (patch) | |
| tree | c93b891bb6254ba0915419378d40215e1472e663 | |
| parent | a2c3a91f0e3b6a3a22e74ef2dc473c12059e93c9 (diff) | |
| download | emacs-da11a2a5cc3fa7e28031dc87e0f07004a9a005f7.tar.gz emacs-da11a2a5cc3fa7e28031dc87e0f07004a9a005f7.zip | |
Improve Local Directory Variables auto-insert
* lisp/autoinsert.el (auto-insert-alist): Confirm after entering
in a non-existent mode in Local Directory Variables skeleton.
| -rw-r--r-- | lisp/autoinsert.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el index f044ec83c9c..15fc9ecd469 100644 --- a/lisp/autoinsert.el +++ b/lisp/autoinsert.el | |||
| @@ -177,7 +177,7 @@ If this contains a %s, that will be replaced by the matching rule." | |||
| 177 | (when (string-match "-mode\\'" name) | 177 | (when (string-match "-mode\\'" name) |
| 178 | (push name modes))))) | 178 | (push name modes))))) |
| 179 | (sort modes 'string<))) | 179 | (sort modes 'string<))) |
| 180 | (completing-read "Local variables for mode: " v1 nil t) | 180 | (completing-read "Local variables for mode: " v1 nil 'confirm) |
| 181 | " . ((" | 181 | " . ((" |
| 182 | (let ((all-variables | 182 | (let ((all-variables |
| 183 | (apropos-internal ".*" | 183 | (apropos-internal ".*" |