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

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

[nongnu] elpa/undo-fu-session 98a8cc6396 14/53: Add missing docstring


From: ELPA Syncer
Subject: [nongnu] elpa/undo-fu-session 98a8cc6396 14/53: Add missing docstring
Date: Thu, 7 Jul 2022 12:05:16 -0400 (EDT)

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

    Add missing docstring
---
 undo-fu-session.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/undo-fu-session.el b/undo-fu-session.el
index b329bef63e..4cf9173143 100644
--- a/undo-fu-session.el
+++ b/undo-fu-session.el
@@ -102,6 +102,10 @@ Enforcing removes the oldest files."
 ;; Note that this only works for `buffer-undo-list', not `pending-undo-list'.
 
 (defun undo-fu-session--linear-undo-list (undo-list equiv-table)
+  "Collapse UNDO-LIST using EQUIV-TABLE making it linear.
+
+This gives the same behavior as running `undo-only',
+ignoring all branches that aren't included in the current undo state."
   (let ((linear-list nil))
     (while
       ;; Collapse all redo branches (giving the same results as if running 
'undo-only')



reply via email to

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