org.el (org-mode): Don't use `buffer-face-mode' by default.

* org.el (org-mode): Don't use `buffer-face-mode' by default.

Still set `org-default' as the face for `buffer-face-mode-face' in
case the user turn `buffer-face-mode' on.
This commit is contained in:
Bastien Guerry 2012-04-20 11:41:24 +02:00
parent cde8a35f54
commit 628431b06f
1 changed files with 1 additions and 2 deletions

View File

@ -5057,8 +5057,7 @@ The following commands are available:
'org-parse-arguments) 'org-parse-arguments)
(set (make-local-variable 'pcomplete-termination-string) "") (set (make-local-variable 'pcomplete-termination-string) "")
(when (>= emacs-major-version 23) (when (>= emacs-major-version 23)
(set (make-local-variable 'buffer-face-mode-face) 'org-default) (set (make-local-variable 'buffer-face-mode-face) 'org-default))
(buffer-face-mode))
;; If empty file that did not turn on org-mode automatically, make it to. ;; If empty file that did not turn on org-mode automatically, make it to.
(if (and org-insert-mode-line-in-empty-file (if (and org-insert-mode-line-in-empty-file