Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a0b8c939
Commit
a0b8c939
authored
Aug 17, 2000
by
Miles Bader
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(hi-yellow, hi-pink, hi-green, hi-blue): Force the foreground color to
black if the default background is dark.
parent
0309803d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
lisp/ChangeLog
lisp/ChangeLog
+6
-1
lisp/hi-lock.el
lisp/hi-lock.el
+8
-4
No files found.
lisp/ChangeLog
View file @
a0b8c939
2000-08-17 Miles Bader <miles@gnu.org>
* hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
foreground color to black if the background is dark.
2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
* loadhist.el (unload-feature): Typo.
...
...
@@ -79,7 +84,7 @@
2000-08-16 Sam Steingold <sds@gnu.org>
* buff-menu.el (list-buffers-noselect): Use `dolist' instead
o
f
* buff-menu.el (list-buffers-noselect): Use `dolist' instead
O
f
`while'; use `with-current-buffer' instead of `save-excursion'.
Removed unnecessary kludges now that "*Buffer List*" is excluded.
...
...
lisp/hi-lock.el
View file @
a0b8c939
...
...
@@ -119,22 +119,26 @@ calls."
:group
'hi-lock-interactive-text-highlighting
)
(
defface
hi-yellow
'
((
t
(
:background
"yellow"
)))
'
((((
background
dark
))
(
:background
"yellow"
:foreground
"black"
))
(
t
(
:background
"yellow"
)))
"Default face for hi-lock mode."
:group
'hi-lock-faces
)
(
defface
hi-pink
'
((
t
(
:background
"pink"
)))
'
(((
background
dark
)
(
:background
"pink"
:foreground
"black"
))
(
t
(
:background
"pink"
)))
"Face for hi-lock mode."
:group
'hi-lock-faces
)
(
defface
hi-green
'
((
t
(
:background
"green"
)))
'
(((
background
dark
)
(
:background
"green"
:foreground
"black"
))
(
t
(
:background
"green"
)))
"Face for hi-lock mode."
:group
'hi-lock-faces
)
(
defface
hi-blue
'
((
t
(
:background
"light blue"
)))
'
(((
background
dark
)
(
:background
"light blue"
:foreground
"black"
))
(
t
(
:background
"light blue"
)))
"Face for hi-lock mode."
:group
'hi-lock-faces
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment