Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8f348211
Commit
8f348211
authored
Apr 26, 2005
by
Richard M. Stallman
Browse files
(python-mode): Use new name eldoc-documentation-function.
parent
49c65071
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/progmodes/python.el
lisp/progmodes/python.el
+2
-2
No files found.
lisp/progmodes/python.el
View file @
8f348211
...
@@ -1680,7 +1680,7 @@ Repeating the command scrolls the completion window."
...
@@ -1680,7 +1680,7 @@ Repeating the command scrolls the completion window."
;;;; Modes.
;;;; Modes.
(defvar outline-heading-end-regexp)
(defvar outline-heading-end-regexp)
(
defvar
eldoc-
print-current-symbol-info
-function
)
(defvar eldoc-
documentation
-function)
;;;###autoload
;;;###autoload
(define-derived-mode python-mode fundamental-mode "Python"
(define-derived-mode python-mode fundamental-mode "Python"
...
@@ -1740,7 +1740,7 @@ lines count as headers.
...
@@ -1740,7 +1740,7 @@ lines count as headers.
'python-beginning-of-defun)
'python-beginning-of-defun)
(set (make-local-variable 'end-of-defun-function) 'python-end-of-defun)
(set (make-local-variable 'end-of-defun-function) 'python-end-of-defun)
(setq imenu-create-index-function #'python-imenu-create-index)
(setq imenu-create-index-function #'python-imenu-create-index)
(
set
(
make-local-variable
'eldoc-
print-current-symbol-info
-function
)
(set (make-local-variable 'eldoc-
documentation
-function)
#'python-eldoc-function)
#'python-eldoc-function)
(add-hook 'eldoc-mode-hook
(add-hook 'eldoc-mode-hook
'(lambda () (run-python 0 t)) nil t) ; need it running
'(lambda () (run-python 0 t)) nil t) ; need it running
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment