Fixes: debbugs:18854
* progmodes/python.el (python-ffap-module-path): Use
`derived-mode-p' instead of equality test on `major-mode'.
+2014-11-14 Ivan Andrus <darthandrus@gmail.com>
+
+ * progmodes/python.el (python-ffap-module-path): Use
+ `derived-mode-p' instead of equality test on `major-mode'.
+
2014-11-13 Ulrich Müller <ulm@gentoo.org>
* version.el (emacs-repository-get-version): Call `git log'
(defun python-ffap-module-path (module)
"Function for `ffap-alist' to return path for MODULE."
(let ((process (or
- (and (eq major-mode 'inferior-python-mode)
+ (and (derived-mode-p 'inferior-python-mode)
(get-buffer-process (current-buffer)))
(python-shell-get-process))))
(if (not process)