jacktasia / dumb-jump

an Emacs "jump to definition" package for 50+ languages
GNU General Public License v3.0
1.57k stars 150 forks source link

Use derived-mode-p instead of checking buffer names #420

Open phikal opened 2 years ago

phikal commented 2 years ago

While reviewing #418, I noticed this issue. Using derived-mode-p is more robust, in case someone has more than one shell buffer or used commands from project.el.