找出來。在我的.emacs中將(header-line-format 0)
添加到我的php模式鉤子中就可以實現。所以一起看起來像:
(autoload 'php-mode "php-mode" "Major mode for editing php scripts." t)
(setq auto-mode-alist (cons '(".php$" . php-mode) auto-mode-alist))
(require 'php-mode)
(load-file "~/.emacs.d/emacs_includes/plugins/php-mode/php-electric.el")
(add-hook 'php-mode-hook
'(lambda()
(define-abbrev php-mode-abbrev-table "ex" "extends")
(define-key php-mode-map '[M-S-up] 'flymake-goto-prev-error)
(define-key php-mode-map '[M-S-down] 'flymake-goto-next-error)
(require 'php-electric)
(php-electric-mode t)
(tabbar-local-mode 1)
(header-line-format 0)
(semantic-show-unmatched-syntax-mode 0)
))