From: Stefan Kangas Date: Wed, 26 Jun 2024 23:50:18 +0000 (+0200) Subject: Improve Local Directory Variables auto-insert X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f1c6f81dc7302698775016335882f6f32c08fee8;p=emacs.git 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) --- 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 ".*"