Provide for customizing default regexp in hi-lock commands (Bug#13892).
authorJambunathan K <kjambunathan@gmail.com>
Fri, 8 Mar 2013 04:18:16 +0000 (09:48 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Fri, 8 Mar 2013 04:18:16 +0000 (09:48 +0530)
commiteb1a6e153a556de71886eb0d3f4deb7e6674c35c
treec7b690e69b6d3446635734cd7e12eb7805ed71e3
parent0bce5d9eb88ed1020385874ca8b3367ad6ee4359
Provide for customizing default regexp in hi-lock commands (Bug#13892).

* lisp/hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
(hi-lock-read-regexp-defaults):  New defun.
(hi-lock-line-face-buffer, hi-lock-face-buffer)
(hi-lock-face-phrase-buffer): Propagate above change.  Update
docstring.

* lisp/subr.el (find-tag-default-as-regexp): New defun.
* lisp/replace.el (read-regexp): Propagate above change.
lisp/ChangeLog
lisp/hi-lock.el
lisp/replace.el
lisp/subr.el