[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c12166de380: Use auth-info-mode for non-hidden authinfo and netrc
From: |
Stefan Kangas |
Subject: |
master c12166de380: Use auth-info-mode for non-hidden authinfo and netrc files |
Date: |
Wed, 10 Jan 2024 17:07:55 -0500 (EST) |
branch: master
commit c12166de380397168e374931c4e59bbb3a09bf21
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Use auth-info-mode for non-hidden authinfo and netrc files
* files.el (auto-mode-alist): Match non-hidden authinfo and netrc
files, since it is reasonable to store passwords in
~/.emacs.d/authinfo.gpg or a similarly named file. (Bug#66241)
---
lisp/files.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/files.el b/lisp/files.el
index 8b4e4394e5a..9c8914bfc50 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3059,7 +3059,7 @@
ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|CBR\\|7Z\\|SQUASHFS\\)\\'" .
("\\.docbook\\'" . sgml-mode)
("\\.com\\'" . dcl-mode)
("/config\\.\\(?:bat\\|log\\)\\'" . fundamental-mode)
- ("/\\.\\(authinfo\\|netrc\\)\\'" . authinfo-mode)
+ ("/\\.?\\(authinfo\\|netrc\\)\\'" . authinfo-mode)
;; Windows candidates may be opened case sensitively on Unix
("\\.\\(?:[iI][nN][iI]\\|[lL][sS][tT]\\|[rR][eE][gG]\\|[sS][yY][sS]\\)\\'" .
conf-mode)
("\\.la\\'" . conf-unix-mode)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c12166de380: Use auth-info-mode for non-hidden authinfo and netrc files,
Stefan Kangas <=