Function: dabbrev--same-major-mode-p

Check if OTHER-BUFFER has the same major mode as current buffer.

(fn OTHER-BUFFER)