基本的にはこちらを参考にした。 http://white.s151.xrea.com/wiki/index.php?diary%2F2007-01-14%2Fmulti-major-mode 非常に便利になりましたので、メモメモ。 .xyzzy (load-library "multi-major-mode") (setq ed::*multi-mode-running* t) (setf *multi-mode-text-attribute* nil) (autoload 'html+-mode "html+-mode" t) (pushnew '("\\.s?html?$" . html+-mode) *auto-mode-alist* :test 'equal) (load-library "php-mode") (pushnew '("\\.php$" . html+-mode)