From 21a3bd9f36257c77c4206381305b1d768144d446 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 23 Jan 2022 17:09:55 +0100 Subject: [PATCH] Make message in hack-local-variables-confirm clearer * lisp/files.el (hack-local-variables-confirm): Mention the .dir-locals.el file in the message to be slightly less confusing (bug#27066). --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index 51c6968cffd..e021545cf14 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3641,7 +3641,7 @@ DIR-NAME is the name of the associated directory. Otherwise it is nil." (cond (unsafe-vars (insert "The local variables list in " name - "\ncontains values that may not be safe (*)" + "\nor .dir-locals.el contains values that may not be safe (*)" (if risky-vars ", and variables that are risky (**)." "."))) -- 2.39.2