emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/tzz/auth-source-reveal-mode dbe62dd: doc/misc/auth.texi: shorten


From: Teodor Zlatanov
Subject: scratch/tzz/auth-source-reveal-mode dbe62dd: doc/misc/auth.texi: shorten use-package example
Date: Thu, 18 Jun 2020 17:26:04 -0400 (EDT)

branch: scratch/tzz/auth-source-reveal-mode
commit dbe62dd89c6452234305b5d556101973c524dfb9
Author: Ted Zlatanov <tzz@lifelogs.com>
Commit: Ted Zlatanov <tzz@lifelogs.com>

    doc/misc/auth.texi: shorten use-package example
---
 doc/misc/auth.texi | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index 30cb6fb..bb632ba 100644
--- a/doc/misc/auth.texi
+++ b/doc/misc/auth.texi
@@ -305,9 +305,7 @@ An alternative is to enable @code{auth-source-reveal-mode} 
as follows:
   :custom
   (prettify-symbols-unprettify-at-point 'right-edge)
   :hook
-  (prog-mode . auth-source-reveal-mode)
-  (json-mode . auth-source-reveal-mode)
-  (text-mode . auth-source-reveal-mode))
+  ((prog-mode js2-mode text-mode) . auth-source-reveal-mode))
 @end example
 
 You should definitely customize



reply via email to

[Prev in Thread] Current Thread [Next in Thread]