Skip to content

Commit

Permalink
docstring; always save TS
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtsmith committed Mar 14, 2023
1 parent ea7d5cd commit 84a4d2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vundo.el
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@

(defface vundo-last-saved
'((t (:inherit vundo-saved :weight bold)))
"Face for saved nodes in the undo tree.")
"Face for the last saved node in the undo tree.")

(defcustom vundo-roll-back-on-quit t
"If non-nil, vundo will roll back the change when it quits."
Expand Down Expand Up @@ -374,7 +374,7 @@ If MOD-LIST non-nil, extend on MOD-LIST."
(cl-incf uidx))
;; If this modification contains a timestamp, the previous
;; state is saved to file.
(when (and mod-timestamp (not pos-only) vundo-highlight-saved-nodes)
(when (and mod-timestamp (not pos-only))
(setf (vundo-m-prev-saved-ts (car new-mlist)) mod-timestamp)))))
;; Convert to vector.
(vconcat mod-list new-mlist)))
Expand Down

0 comments on commit 84a4d2f

Please sign in to comment.