Skip to content

Commit f78da5b

Browse files
committed
Rename eldoc function
1 parent 0623dee commit f78da5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gnuplot-context.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,7 @@ there."
20462046
(gnuplot-context--completions)))
20472047

20482048
;; Eldoc help
2049-
(defun gnuplot-eldoc-function (&rest _)
2049+
(defun gnuplot-context-eldoc-function (&rest _)
20502050
"Return the ElDoc string for the Gnuplot construction at point."
20512051
(gnuplot-context--parse-at-point nil)
20522052
gnuplot-context--eldoc)
@@ -2200,12 +2200,12 @@ customize the variable
22002200
(progn
22012201
(remove-hook 'completion-at-point-functions #'gnuplot-completion-at-point-info-look t)
22022202
(add-hook 'completion-at-point-functions #'gnuplot-context-completion-at-point nil t)
2203-
(add-hook 'eldoc-documentation-functions #'gnuplot-eldoc-function nil 'local)
2203+
(add-hook 'eldoc-documentation-functions #'gnuplot-context-eldoc-function nil 'local)
22042204
(unless gnuplot-eldoc-hash
22052205
(load "gnuplot-eldoc" t t)))
22062206
(add-hook 'completion-at-point-functions #'gnuplot-completion-at-point-info-look nil t)
22072207
(remove-hook 'completion-at-point-functions #'gnuplot-context-completion-at-point t)
2208-
(remove-hook 'eldoc-documentation-functions #'gnuplot-eldoc-function t)))
2208+
(remove-hook 'eldoc-documentation-functions #'gnuplot-context-eldoc-function t)))
22092209

22102210
(provide 'gnuplot-context)
22112211
;;; gnuplot-context.el ends here

0 commit comments

Comments
 (0)