diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ce4221f7795..a6ab3b87e43 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-11-14 Ivan Andrus <darthandrus@gmail.com> | ||
| 2 | |||
| 3 | * progmodes/python.el (python-ffap-module-path): Use | ||
| 4 | `derived-mode-p' instead of equality test on `major-mode'. | ||
| 5 | |||
| 1 | 2014-11-13 Ulrich Müller <ulm@gentoo.org> | 6 | 2014-11-13 Ulrich Müller <ulm@gentoo.org> |
| 2 | 7 | ||
| 3 | * version.el (emacs-repository-get-version): Call `git log' | 8 | * version.el (emacs-repository-get-version): Call `git log' |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index c828de10304..95fc52d4d54 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -3281,7 +3281,7 @@ The skeleton will be bound to python-skeleton-NAME." | |||
| 3281 | (defun python-ffap-module-path (module) | 3281 | (defun python-ffap-module-path (module) |
| 3282 | "Function for `ffap-alist' to return path for MODULE." | 3282 | "Function for `ffap-alist' to return path for MODULE." |
| 3283 | (let ((process (or | 3283 | (let ((process (or |
| 3284 | (and (eq major-mode 'inferior-python-mode) | 3284 | (and (derived-mode-p 'inferior-python-mode) |
| 3285 | (get-buffer-process (current-buffer))) | 3285 | (get-buffer-process (current-buffer))) |
| 3286 | (python-shell-get-process)))) | 3286 | (python-shell-get-process)))) |
| 3287 | (if (not process) | 3287 | (if (not process) |