# File lib/guard/notifiers/emacs.rb, line 52 def notify(type, title, message, image, options = { }) options = DEFAULTS.merge options color = emacs_color type, options fontcolor = emacs_color :fontcolor, options elisp = "(set-face-attribute 'mode-line nil\n:background \"\#{color}\"\n:foreground \"\#{fontcolor}\")\n".gsub(/\s+/, ' ').strip run_cmd [ options[:client], '--eval', elisp ] end