Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Wrap in eval-after-load and add-hook

  • Loading branch information...
commit acf2ede6fd57f02da4d4dcb78c48982308757eaf 1 parent 0e17bce
@papaeye authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 .emacs.d/site-start.d/50less.el
View
7 .emacs.d/site-start.d/50less.el
@@ -1,4 +1,7 @@
;;; -*- mode: emacs-lisp; coding: utf-8-unix; indent-tabs-mode: nil -*-
-(setq less-css-lessc-options '("--yui-compress" "--no-color"))
-(setq less-css-compile-at-save nil)
+(eval-after-load "less-css-mode"
+ '(add-hook
+ (lambda ()
+ (setq less-css-lessc-options '("--yui-compress" "--no-color"))
+ (setq less-css-compile-at-save nil))))
Please sign in to comment.
Something went wrong with that request. Please try again.