{"title":"How to obtain major mode of current buffer","version":"1.0","url":"https://tam5917.hatenablog.com/entry/2019/05/04/235922","author_name":"tam5917","blog_url":"https://tam5917.hatenablog.com/","image_url":null,"published":"2019-05-04 23:59:22","description":"You can obtain the major mode by using following snippet: (buffer-local-value 'major-mode (current-buffer))","categories":["emacs"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftam5917.hatenablog.com%2Fentry%2F2019%2F05%2F04%2F235922\" title=\"How to obtain major mode of current buffer - \u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","author_url":"https://blog.hatena.ne.jp/tam5917/","height":"190","blog_title":"\u5099\u5fd8\u9332","width":"100%","provider_url":"https://hatena.blog","provider_name":"Hatena Blog"}