diff options
| -rw-r--r-- | lisp/hi-lock.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index ca74d6f0a8d..da6bd441240 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el | |||
| @@ -398,7 +398,8 @@ and \\[next-history-element] to retrieve default values. | |||
| 398 | \(See info node `Minibuffer History'.)" | 398 | \(See info node `Minibuffer History'.)" |
| 399 | (interactive | 399 | (interactive |
| 400 | (list | 400 | (list |
| 401 | (hi-lock-regexp-okay (read-regexp "Regexp to highlight line")) | 401 | (hi-lock-regexp-okay |
| 402 | (read-regexp "Regexp to highlight line" (car regexp-history))) | ||
| 402 | (hi-lock-read-face-name))) | 403 | (hi-lock-read-face-name))) |
| 403 | (or (facep face) (setq face 'hi-yellow)) | 404 | (or (facep face) (setq face 'hi-yellow)) |
| 404 | (unless hi-lock-mode (hi-lock-mode 1)) | 405 | (unless hi-lock-mode (hi-lock-mode 1)) |
| @@ -421,7 +422,8 @@ and \\[next-history-element] to retrieve default values. | |||
| 421 | \(See info node `Minibuffer History'.)" | 422 | \(See info node `Minibuffer History'.)" |
| 422 | (interactive | 423 | (interactive |
| 423 | (list | 424 | (list |
| 424 | (hi-lock-regexp-okay (read-regexp "Regexp to highlight")) | 425 | (hi-lock-regexp-okay |
| 426 | (read-regexp "Regexp to highlight" (car regexp-history))) | ||
| 425 | (hi-lock-read-face-name))) | 427 | (hi-lock-read-face-name))) |
| 426 | (or (facep face) (setq face 'hi-yellow)) | 428 | (or (facep face) (setq face 'hi-yellow)) |
| 427 | (unless hi-lock-mode (hi-lock-mode 1)) | 429 | (unless hi-lock-mode (hi-lock-mode 1)) |
| @@ -439,7 +441,7 @@ lower-case letters made case insensitive." | |||
| 439 | (list | 441 | (list |
| 440 | (hi-lock-regexp-okay | 442 | (hi-lock-regexp-okay |
| 441 | (hi-lock-process-phrase | 443 | (hi-lock-process-phrase |
| 442 | (read-regexp "Phrase to highlight"))) | 444 | (read-regexp "Phrase to highlight" (car regexp-history)))) |
| 443 | (hi-lock-read-face-name))) | 445 | (hi-lock-read-face-name))) |
| 444 | (or (facep face) (setq face 'hi-yellow)) | 446 | (or (facep face) (setq face 'hi-yellow)) |
| 445 | (unless hi-lock-mode (hi-lock-mode 1)) | 447 | (unless hi-lock-mode (hi-lock-mode 1)) |