]> git.eshelyaron.com Git - emacs.git/commit
Use derived-mode-p in python.el instead of equality test on major-mode
authorIvan Andrus <darthandrus@gmail.com>
Sat, 1 Nov 2014 18:33:02 +0000 (12:33 -0600)
committerIvan Andrus <darthandrus@gmail.com>
Fri, 14 Nov 2014 20:54:10 +0000 (13:54 -0700)
commitf20a19df87444d1977f63dd5b3fc42f4f2d50aa2
tree602dc3e4e4dd1f6a3da21352c3b133d83c074791
parenta6a43d654a5f2a139c69f75f6d46383bf58b3a77
Use derived-mode-p in python.el instead of equality test on major-mode

* progmodes/python.el (python-shell-font-lock-kill-buffer):
(python-shell-font-lock-with-font-lock-buffer)
(python-shell-get-buffer, python-ffap-module-path): Use
`derived-mode-p' instead of equality test on `major-mode'.
lisp/ChangeLog
lisp/progmodes/python.el