On Saturday 13 June 2015 03:03 PM, Vaidheeswaran C wrote: > Here is how I ended up with this bug. > > Debugger entered--Lisp error: (error "Regexp cannot match an empty string") > signal(error ("Regexp cannot match an empty string")) > error("Regexp cannot match an empty string") > hi-lock-regexp-okay("\\(.*\\)") > byte-code("\300\301\302\303\"!\304 D\207" [hi-lock-regexp-okay > read-regexp "Regexp to highlight" regexp-history-last > hi-lock-read-face-name] 4) > call-interactively(highlight-regexp nil nil) > command-execute(highlight-regexp) > The attached patch solves the above issue. I hope it is OK. (Stupid me got the title wrong. Apologies.)