0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 19:07:52 +00:00

Merge branch 'maint'

This commit is contained in:
Kyle Meyer 2020-03-04 22:43:58 -05:00
commit cf04f0837d

View file

@ -161,7 +161,11 @@
(defun org-eldoc-load ()
"Set up org-eldoc documentation function."
(interactive)
(setq-local eldoc-documentation-function #'org-eldoc-documentation-function))
(if (boundp 'eldoc-documentation-functions)
(add-hook 'eldoc-documentation-functions
#'org-eldoc-documentation-function nil t)
(setq-local eldoc-documentation-function
#'org-eldoc-documentation-function)))
;;;###autoload
(add-hook 'org-mode-hook #'org-eldoc-load)