diff options
-rw-r--r-- | lisp/hi-lock.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index a81cefacb03..536a1af8462 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -493,6 +493,8 @@ the major mode specifies support for Font Lock." 'regexp-history-last))) (hi-lock-read-face-name) current-prefix-arg)) + (when (stringp face) + (setq face (intern face))) (or (facep face) (setq face 'hi-yellow)) (unless hi-lock-mode (hi-lock-mode 1)) (hi-lock-set-pattern |