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

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

[nongnu] elpa/crux 1c2c179 061/112: Improve a docstring


From: ELPA Syncer
Subject: [nongnu] elpa/crux 1c2c179 061/112: Improve a docstring
Date: Wed, 11 Aug 2021 09:57:54 -0400 (EDT)

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

    Improve a docstring
---
 crux.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/crux.el b/crux.el
index 59ded1e..eb36e8c 100644
--- a/crux.el
+++ b/crux.el
@@ -401,7 +401,10 @@ buffer is not visiting a file."
     (crux-find-alternate-file-as-root buffer-file-name)))
 
 (defun crux-reopen-as-root ()
-  "Find file as root if necessary."
+  "Find file as root if necessary.
+
+Meant to be used as `find-file-hook'.
+See also `crux-reopen-as-root-mode'."
   (unless (or (tramp-tramp-file-p buffer-file-name)
               (equal major-mode 'dired-mode)
               (not (file-exists-p (file-name-directory buffer-file-name)))



reply via email to

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