aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2020-07-07 13:37:16 +0100
committerJoão Távora2020-07-08 11:25:33 +0100
commitfbc0bc6beff407addc9cef67c37a7c5502891d16 (patch)
treeeb53a2e1e3eb39f8b49723c754f0eac226b6d8fc
parentb3efd5c22886743da3ea4b3abea6ca880db3d594 (diff)
downloademacs-fbc0bc6beff407addc9cef67c37a7c5502891d16.tar.gz
emacs-fbc0bc6beff407addc9cef67c37a7c5502891d16.zip
Change version scheme of two Eldoc obsolete specs
* lisp/emacs-lisp/eldoc.el (eldoc-documentation-function) (eldoc-message): Obsolete spec uses eldoc-1.1.0.
-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 1f7a29f9621..27daa7580e8 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -299,7 +299,7 @@ Otherwise work like `message'."
299 (apply #'message format-string args))) 299 (apply #'message format-string args)))
300 300
301(make-obsolete 301(make-obsolete
302 'eldoc-message "use `eldoc-documentation-functions' instead." "1.1.0") 302 'eldoc-message "use `eldoc-documentation-functions' instead." "eldoc-1.1.0")
303(defun eldoc-message (&optional string) (eldoc--message string)) 303(defun eldoc-message (&optional string) (eldoc--message string))
304(defun eldoc--message (&optional string) 304(defun eldoc--message (&optional string)
305 "Display STRING as an ElDoc message if it's non-nil. 305 "Display STRING as an ElDoc message if it's non-nil.
@@ -542,7 +542,7 @@ Meant as a value for `eldoc-documentation-strategy'."
542 nil)))) 542 nil))))
543 543
544(define-obsolete-variable-alias 'eldoc-documentation-function 544(define-obsolete-variable-alias 'eldoc-documentation-function
545 'eldoc-documentation-strategy "1.1.0") 545 'eldoc-documentation-strategy "eldoc-1.1.0")
546 546
547(defcustom eldoc-documentation-strategy #'eldoc-documentation-default 547(defcustom eldoc-documentation-strategy #'eldoc-documentation-default
548 "How to collect and organize results of `eldoc-documentation-functions'. 548 "How to collect and organize results of `eldoc-documentation-functions'.