Function: semantic-tag-include-filename-python-mode

semantic-tag-include-filename-python-mode is a byte-compiled function defined in python.el.gz.

Signature

(semantic-tag-include-filename-python-mode TAG)

Documentation

Return a suitable path for (some) Python imports.

Override semantic-tag-include-filename in python-mode buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/python.el.gz
;; Adapted from the semantic Java support by Andrey Torba
(define-mode-local-override semantic-tag-include-filename python-mode (tag)
  "Return a suitable path for (some) Python imports."
  (let ((name (semantic-tag-name tag)))
    (concat (mapconcat #'identity (split-string name "\\.") "/") ".py")))