\(See info node `Minibuffer History'.)"
(interactive
(list
- (hi-lock-regexp-okay (read-regexp "Regexp to highlight line"))
+ (hi-lock-regexp-okay
+ (read-regexp "Regexp to highlight line" (car regexp-history)))
(hi-lock-read-face-name)))
(or (facep face) (setq face 'hi-yellow))
(unless hi-lock-mode (hi-lock-mode 1))
\(See info node `Minibuffer History'.)"
(interactive
(list
- (hi-lock-regexp-okay (read-regexp "Regexp to highlight"))
+ (hi-lock-regexp-okay
+ (read-regexp "Regexp to highlight" (car regexp-history)))
(hi-lock-read-face-name)))
(or (facep face) (setq face 'hi-yellow))
(unless hi-lock-mode (hi-lock-mode 1))
(list
(hi-lock-regexp-okay
(hi-lock-process-phrase
- (read-regexp "Phrase to highlight")))
+ (read-regexp "Phrase to highlight" (car regexp-history))))
(hi-lock-read-face-name)))
(or (facep face) (setq face 'hi-yellow))
(unless hi-lock-mode (hi-lock-mode 1))