[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20806: 25.0.50; `string-match' is confused???
From: |
Vaidheeswaran C |
Subject: |
bug#20806: 25.0.50; `string-match' is confused??? |
Date: |
Sun, 14 Jun 2015 00:29:18 +0530 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 |
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.)
0001-lisp-hi-lock.el-hi-lock-regexp-okay-Minor-change.patch
Description: Text Data