>From dd0786d3caa8ca83276dbc8ecd363c590cbccdbb Mon Sep 17 00:00:00 2001 From: Vaidheeswaran C Date: Sat, 13 Jun 2015 15:48:10 +0530 Subject: [PATCH] * lisp/hi-lock.el (hi-lock-regexp-okay): Minor change --- lisp/hi-lock.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index 0255585..deb827c 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -658,7 +658,7 @@ not suitable." (cond ((null regexp) (error "Regexp cannot match nil")) - ((string-match regexp "") + ((string= regexp "") (error "Regexp cannot match an empty string")) (t regexp))) -- 1.7.10.4