]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix function name
authorPhilipp Stephani <phst@google.com>
Sat, 29 Apr 2017 19:29:55 +0000 (21:29 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 29 Apr 2017 19:29:55 +0000 (21:29 +0200)
lisp/files.el

index d3958b56438c8487a8650bad2f2e20b56bf70bca..af2a713822d23faa7cb33d0c6475b25366b59f0a 100644 (file)
@@ -420,7 +420,7 @@ If called from Lisp, enable the mode if ARG is omitted or nil,
 and toggle it if ARG is `toggle'."
   :group 'auto-save
   :global t
-  (when auto-save--timer (kill-timer auto-save--timer))
+  (when auto-save--timer (cancel-timer auto-save--timer))
   (setq auto-save--timer
         (when auto-save-visited-mode
           (run-with-idle-timer