Windows 10, Emacs 26.1
Steps:
- Start Emacs
- Open
*scratch*
buffer. C-s
textC-g
C-s
visitC-g
Nice. Now I want to go backward and forward through search history with M-p
and M-n
respectively.
But I get error:
M-p/M-n is underfined".
If I input command "previous-history-element
" I get another error: Wrong type argument: number-or-marker-p, nil
I try this in pure Emacs by: emacs -Q
But I get same errors.
M-x C-s
? I've just checked Emacs 26.1 under windows 7 without any init file, andisearch
history seems to just work for me. – user12563 Oct 24 '18 at 17:53M-x
. – user12563 Oct 24 '18 at 20:28