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:
commit
cf04f0837d
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue