.emacs.d

My Emacs configuration files.
Log | Files | Refs | README

commit bd70f14026aa8f746900f31d24fa576fb798d375
parent db8c7d06b93c9eb4d6b67424f0e444e307af2e3f
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Mon,  1 Oct 2018 10:29:42 -0400

Replace the `hexcolour-css.el` function by `hexrgb` package

Diffstat:
Ddefuns/hexcolour-css.el | 15---------------
1 file changed, 0 insertions(+), 15 deletions(-)

diff --git a/defuns/hexcolour-css.el b/defuns/hexcolour-css.el @@ -1,15 +0,0 @@ -;; Display colors from hex values in CSS -(defvar hexcolour-keywords - '(("#[abcdef[:digit:]]\\{6\\}" - (0 (put-text-property - (match-beginning 0) - (match-end 0) - 'face (list :background - (match-string-no-properties 0))))))) -(defun hexcolour-add-to-font-lock () - (font-lock-add-keywords nil hexcolour-keywords)) - -(add-hook 'css-mode-hook 'hexcolour-add-to-font-lock) -(add-hook 'scss-mode-hook 'hexcolour-add-to-font-lock) -(add-hook 'php-mode-hook 'hexcolour-add-to-font-lock) -(add-hook 'html-mode-hook 'hexcolour-add-to-font-lock)