From f1c6f81dc7302698775016335882f6f32c08fee8 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 27 Jun 2024 01:50:18 +0200 Subject: [PATCH] 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. (cherry picked from commit da11a2a5cc3fa7e28031dc87e0f07004a9a005f7) --- lisp/autoinsert.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el index fe909acbe20..3d7216420dd 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." (when (string-match "-mode\\'" name) (push name modes))))) (sort modes))) - (completing-read "Local variables for mode: " v1 nil t) + (completing-read "Local variables for mode: " v1 nil 'confirm) " . ((" (let ((all-variables (apropos-internal ".*" -- 2.39.2