Backport Use derived-mode-p in python.el instead of equality test with major-mode
commit15ec2d7cffe5f0eb4c073ef7b446a654fb8419e4
authorIvan Andrus <darthandrus@gmail.com>
Sat, 1 Nov 2014 18:33:02 +0000 (1 12:33 -0600)
committerIvan Andrus <darthandrus@gmail.com>
Sat, 15 Nov 2014 04:56:11 +0000 (14 21:56 -0700)
tree7a7a6b37d8e48183c824c15ce5cdd5c50be3ae87
parentdf33e85a807656a13b3020d8f65d5da728bb808e
Backport Use derived-mode-p in python.el instead of equality test with major-mode

Fixes: debbugs:18854

* progmodes/python.el (python-ffap-module-path): Use
`derived-mode-p' instead of equality test on `major-mode'.
lisp/ChangeLog
lisp/progmodes/python.el