]> git.eshelyaron.com Git - emacs.git/commitdiff
Small changes to ffap support
authorFabián Ezequiel Gallina <fgallina@cuca>
Thu, 17 May 2012 03:03:00 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:00 +0000 (00:03 -0300)
lisp/progmodes/python.el

index 83d5836055156f87f9593b41452fd2964e596bd2..6284e64be8eb2a2feaec75f2354be5e1b8f2a3ec 100644 (file)
 ;; 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