summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/ps-mode.el3
-rw-r--r--lisp/progmodes/python.el2
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el
index c131575f57c..8b26db1a12e 100644
--- a/lisp/progmodes/ps-mode.el
+++ b/lisp/progmodes/ps-mode.el
@@ -480,6 +480,9 @@ If nil, the following are tried in turn, until success:
(setq i (1+ i)))))
+
+(declare-function doc-view-minor-mode "../doc-view")
+
;; PostScript mode.
;;;###autoload
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f54b7c9f928..4039a4f4a43 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1656,6 +1656,8 @@ instance. Assumes an inferior Python is running."
;;;; Info-look functionality.
+(declare-function info-lookup-maybe-add-help "info-look" (&rest arg))
+
(defun python-after-info-look ()
"Set up info-look for Python.
Used with `eval-after-load'."