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

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

[nongnu] elpa/undo-fu-session 386e22322c 03/11: Cleanup: doc-string warn


From: ELPA Syncer
Subject: [nongnu] elpa/undo-fu-session 386e22322c 03/11: Cleanup: doc-string warnings
Date: Sat, 7 Jan 2023 20:00:29 -0500 (EST)

branch: elpa/undo-fu-session
commit 386e22322cd3e5638de4ea051f8f4917b6db265f
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: doc-string warnings
---
 undo-fu-session.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/undo-fu-session.el b/undo-fu-session.el
index bc93eb653d..3606166086 100755
--- a/undo-fu-session.el
+++ b/undo-fu-session.el
@@ -458,6 +458,7 @@ Argument PENDING-LIST an `pending-undo-list' compatible 
list."
         (throw 'found t)))))
 
 (defun undo-fu-session--directory-ensure ()
+  "Ensure the undo directory has been created."
   (unless (file-directory-p undo-fu-session-directory)
     (make-directory undo-fu-session-directory t)
     ;; These files should only readable by the owner, see #2.
@@ -707,7 +708,7 @@ Argument PENDING-LIST an `pending-undo-list' compatible 
list."
     mode-in-any-buffer))
 
 (defun undo-fu-session--mode-enable ()
-  "Turn on 'undo-fu-session-mode' for the current buffer."
+  "Turn on `undo-fu-session-mode' for the current buffer."
   ;; Even though this runs on save, call here since it's better the user 
catches
   ;; errors when the mode is enabled instead of having the hook fail.
   (undo-fu-session--directory-ensure)
@@ -716,7 +717,7 @@ Argument PENDING-LIST an `pending-undo-list' compatible 
list."
   (add-hook 'find-file-hook #'undo-fu-session--recover-safe))
 
 (defun undo-fu-session--mode-disable ()
-  "Turn off 'undo-fu-session-mode' for the current buffer."
+  "Turn off `undo-fu-session-mode' for the current buffer."
   (unless (undo-fu-session--mode-in-any-buffer)
     (remove-hook 'write-file-functions #'undo-fu-session--save-safe)
     (remove-hook 'find-file-hook #'undo-fu-session--recover-safe)))



reply via email to

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