mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-21 02:48:37 +00:00
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
963f5968d3
commit
7d7144819f
|
@ -5057,8 +5057,7 @@ The following commands are available:
|
|||
'org-parse-arguments)
|
||||
(set (make-local-variable 'pcomplete-termination-string) "")
|
||||
(when (>= emacs-major-version 23)
|
||||
(set (make-local-variable 'buffer-face-mode-face) 'org-default)
|
||||
(buffer-face-mode))
|
||||
(set (make-local-variable 'buffer-face-mode-face) 'org-default))
|
||||
|
||||
;; If empty file that did not turn on org-mode automatically, make it to.
|
||||
(if (and org-insert-mode-line-in-empty-file
|
||||
|
|
Loading…
Reference in a new issue