From 2947016aa73340d27552601deb112a78d61993d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= Date: Thu, 17 May 2012 00:03:00 -0300 Subject: [PATCH] Small changes to ffap support --- lisp/progmodes/python.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 83d58360551..6284e64be8e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -66,6 +66,10 @@ ;; the shell completion in background so you should run ;; `python-shell-send-buffer' from time to time to get better results. +;; FFAP: You can find the filename for a given module when using ffap +;; out of the box. This feature needs an inferior python shell +;; running. + ;; Eldoc: returns documentation for object at point by using the ;; inferior python subprocess to inspect its documentation. As you ;; might guessed you should run `python-shell-send-buffer' from time @@ -1472,9 +1476,7 @@ It is specially designed to be added to the (python-shell-send-and-clear-output (format python-ffap-string-code module) process))) (when module-file - (ffap-locate-file - (substring-no-properties module-file 1 -1) - nil nil)))))) + (substring-no-properties module-file 1 -1)))))) (eval-after-load "ffap" '(progn -- 2.39.5