Emacs: Find Major Mode Name
Current buffer's major mode's name is stored in the variable major-mode.
To find out its value, Alt+x describe-variable
, then type “major-mode”.
![emacs find current major mode](i/emacs_find_current_major_mode.png)
describe-variable
, then type “major-mode”.
Current buffer's major mode's name is stored in the variable major-mode.
To find out its value, Alt+x describe-variable
, then type “major-mode”.
describe-variable
, then type “major-mode”.