mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-28 10:56:57 +00:00
New face: org-default.
* install/git/org-mode/lisp/org.el (org-mode): Use org-default as the default face in org-mode. * install/git/org-mode/lisp/org-faces.el (org-default): New face. M-x customize-face RET org-default RET lets the user define a default face for org-mode.
This commit is contained in:
parent
c6b22dee33
commit
7a88eaec29
@ -51,6 +51,11 @@
|
||||
:tag "Org Faces"
|
||||
:group 'org-appearance)
|
||||
|
||||
(defface org-default
|
||||
(org-compatible-face 'default nil)
|
||||
"Face used for default text."
|
||||
:group 'org-faces)
|
||||
|
||||
(defface org-hide
|
||||
'((((background light)) (:foreground "white"))
|
||||
(((background dark)) (:foreground "black")))
|
||||
|
@ -4829,6 +4829,8 @@ The following commands are available:
|
||||
(set (make-local-variable 'pcomplete-parse-arguments-function)
|
||||
'org-parse-arguments)
|
||||
(set (make-local-variable 'pcomplete-termination-string) "")
|
||||
(set (make-local-variable 'face-remapping-alist)
|
||||
'((default 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 New Issue
Block a user