Subject: minibuffer-history-variable gets messed up

From: Glenn Morris <[email-masked]>
Date: Mon, 09 Sep 2013 22:06:33 -0400

Package: emacs
Version: 24.3.50

Current trunk on GNU/Linux:

emacs -Q -l dired-x
C-x d ~ RET
M-x dired-mark-sexp RET (equal size 99) RET
M-x dired-mark-sexp RET M-p

  Debugger entered--Lisp error: (wrong-type-argument symbolp "(equal size 99)")
    goto-history-element(1)
    previous-history-element(1)

Somehow, minibuffer-history-variable got set to "(equal size 99)".