1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-07 20:54:32 +00:00

Fix typos in doc strings

* lisp/simple.el (undo-auto--boundary-timer)
(undo-auto--boundary-ensure-timer): Fix typos in doc strings.
This commit is contained in:
Eli Zaretskii 2018-04-05 21:38:07 +03:00
parent 8dffaeabd7
commit 9b24a7937a

View File

@ -2968,12 +2968,12 @@ REASON describes the reason that the boundary is being added; see
(setq undo-auto--undoably-changed-buffers nil)) (setq undo-auto--undoably-changed-buffers nil))
(defun undo-auto--boundary-timer () (defun undo-auto--boundary-timer ()
"Timer which will run `undo--auto-boundary-timer'." "Timer function run by `undo-auto-current-boundary-timer'."
(setq undo-auto-current-boundary-timer nil) (setq undo-auto-current-boundary-timer nil)
(undo-auto--boundaries 'timer)) (undo-auto--boundaries 'timer))
(defun undo-auto--boundary-ensure-timer () (defun undo-auto--boundary-ensure-timer ()
"Ensure that the `undo-auto-boundary-timer' is set." "Ensure that the `undo-auto-current-boundary-timer' is set."
(unless undo-auto-current-boundary-timer (unless undo-auto-current-boundary-timer
(setq undo-auto-current-boundary-timer (setq undo-auto-current-boundary-timer
(run-at-time 10 nil #'undo-auto--boundary-timer)))) (run-at-time 10 nil #'undo-auto--boundary-timer))))