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:
parent
cde8a35f54
commit
628431b06f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue