(make-face 'spray-base-face)
(set-face-attribute 'spray-base-face nil
:background (face-background 'default)
- :foreground (face-foreground 'default))
+ :foreground (face-foreground 'default)
+ :slant 'normal)
(make-face 'spray-orp-face)
(set-face-attribute 'spray-orp-face nil
:foreground "red"
:overline (face-foreground 'default)
- :underline (face-foreground 'default))
+ :underline (face-foreground 'default)
+ :slant 'normal)
;; * internal vars
(spray-start/stop -1))))
(defun spray--pre-command-handler ()
- (unless (memq this-command
- '(spray-forward-word spray-backward-word spray-start/stop))
+ (unless (string-match "^spray-" (symbol-name this-command))
(spray-mode -1)))
(defun spray--word-at-point ()