add: function buffer-major-mode