aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2018-04-05 21:38:07 +0300
committerEli Zaretskii2018-04-05 21:38:07 +0300
commit9b24a7937a6b47b6a51f0dba19651c4ba9ce11fe (patch)
tree753289c34499d99deddff6792158409f3a030e4f
parent8dffaeabd758edcbe4a60bc2576f4a7e3bbaacc0 (diff)
downloademacs-9b24a7937a6b47b6a51f0dba19651c4ba9ce11fe.tar.gz
emacs-9b24a7937a6b47b6a51f0dba19651c4ba9ce11fe.zip
Fix typos in doc strings
* lisp/simple.el (undo-auto--boundary-timer) (undo-auto--boundary-ensure-timer): Fix typos in doc strings.
-rw-r--r--lisp/simple.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index d8abeb30004..0113156fbe0 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2968,12 +2968,12 @@ REASON describes the reason that the boundary is being added; see
2968 (setq undo-auto--undoably-changed-buffers nil)) 2968 (setq undo-auto--undoably-changed-buffers nil))
2969 2969
2970(defun undo-auto--boundary-timer () 2970(defun undo-auto--boundary-timer ()
2971 "Timer which will run `undo--auto-boundary-timer'." 2971 "Timer function run by `undo-auto-current-boundary-timer'."
2972 (setq undo-auto-current-boundary-timer nil) 2972 (setq undo-auto-current-boundary-timer nil)
2973 (undo-auto--boundaries 'timer)) 2973 (undo-auto--boundaries 'timer))
2974 2974
2975(defun undo-auto--boundary-ensure-timer () 2975(defun undo-auto--boundary-ensure-timer ()
2976 "Ensure that the `undo-auto-boundary-timer' is set." 2976 "Ensure that the `undo-auto-current-boundary-timer' is set."
2977 (unless undo-auto-current-boundary-timer 2977 (unless undo-auto-current-boundary-timer
2978 (setq undo-auto-current-boundary-timer 2978 (setq undo-auto-current-boundary-timer
2979 (run-at-time 10 nil #'undo-auto--boundary-timer)))) 2979 (run-at-time 10 nil #'undo-auto--boundary-timer))))