emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/crux 61bf2bd 003/112: Code style


From: ELPA Syncer
Subject: [nongnu] elpa/crux 61bf2bd 003/112: Code style
Date: Wed, 11 Aug 2021 09:57:42 -0400 (EDT)

branch: elpa/crux
commit 61bf2bd57273e4fe63f4d31c8ad4242cac88e03c
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>

    Code style
---
 crux.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crux.el b/crux.el
index 54e88b2..2c861e0 100644
--- a/crux.el
+++ b/crux.el
@@ -255,7 +255,8 @@ buffer is not visiting a file."
               (file-writable-p buffer-file-name)
               (crux-file-owned-by-user-p buffer-file-name))
     (crux-find-alternate-file-as-root buffer-file-name)))
-(add-hook 'find-file-hook 'crux-reopen-as-root)
+
+(add-hook 'find-file-hook #'crux-reopen-as-root)
 
 (defun crux-start-or-switch-to (function buffer-name)
   "Invoke FUNCTION if there is no buffer with BUFFER-NAME.



reply via email to

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