branch: elpa/crux commit 61bf2bd57273e4fe63f4d31c8ad4242cac88e03c Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@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.