Comments (2)
This is a working version
(defun rainbow-colorize-match (color &optional match)
"Return a matched string propertized with a face whose
background is COLOR. The foreground is computed using
`rainbow-color-luminance', and is either white or black."
`((:foreground ,(if (> 0.5 (rainbow-x-color-luminance color))
"white" "black"))
(:background ,color))
;; (let ((match (or match 0)))
;; (put-text-property
;; (match-beginning match) (match-end match)
;; 'face `((:foreground ,(if (> 0.5 (rainbow-x-color-luminance color))
;; "white" "black"))
;; (:background ,color))))
)
from .emacs.d.
The patched code is already upstream
from .emacs.d.
Related Issues (20)
- The "smart ret" in org does not work in plain lists HOT 2
- Add fontify-face and org-radiobutton as submodules
- Investigate pomodoro tools for emacs HOT 1
- Investigate annotate.el
- Make a package for flycheck to automatically use local installations
- Update capture template to respect pomodoro state
- Add Makefile target to dump autoloads in vendor/dev
- Look at magit/forge
- Try to use straight.el for package management HOT 1
- Make the airbank to ledger converter work on region by repeating itself
- configure fold-dwim
- Switch flycheck-phpstan to https://github.com/emacs-php/phpstan.el
- move ledger-mode to straight
- turn org-archive-subtree advice into a package
- Configure calendar sync to add schedule / deadline / todo keywords
- `org-get-local-archive-location` and `org-extract-archive-file` are no more. HOT 4
- Logic behind your keybindings? HOT 1
- Add a LICENSE HOT 1
- Add a clockreport scope subtree with archive
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from .emacs.d.