summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eldoc.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
-rw-r--r--lisp/emacs-lisp/eldoc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index f1ce52d196b..3e701076ef3 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -903,7 +903,7 @@ the docstrings eventually produced, using
interactive))
(make-callback
(method origin)
- (let ((pos (prog1 howmany (cl-incf howmany))))
+ (let ((pos (prog1 howmany (incf howmany))))
(cl-ecase method
(:enthusiast
(lambda (string &rest plist)
@@ -920,7 +920,7 @@ the docstrings eventually produced, using
nil #'display-doc))
t))
(:patient
- (cl-incf want)
+ (incf want)
(lambda (string &rest plist)
(register-doc pos string plist origin)
(when (zerop (decf want)) (display-doc))