Mercurial > emacs
diff src/minibuf.c @ 112384:f5af01a13248
Give read-expression-history a doc.
* lisp/simple.el (read-expression-history): Remove, it's in minibuf.c.
* src/minibuf.c (syms_of_minibuf) <read-expression-history>:
Give it a doc string.
* src/globals.h: Add Vread_expression_history.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 19 Jan 2011 22:40:36 -0800 |
parents | 42e22c4f06b7 |
children |
line wrap: on
line diff
--- a/src/minibuf.c Wed Jan 19 22:10:05 2011 -0800 +++ b/src/minibuf.c Wed Jan 19 22:40:36 2011 -0800 @@ -1,7 +1,8 @@ /* Minibuffer input and completion. - Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, - 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + +Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999, + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, + 2011 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -2016,6 +2017,11 @@ Qcase_fold_search = intern_c_string ("case-fold-search"); staticpro (&Qcase_fold_search); + DEFVAR_LISP ("read-expression-history", Vread_expression_history, + doc: /* A history list for arguments that are Lisp expressions to evaluate. +For example, `eval-expression' uses this. */); + Vread_expression_history = Qnil; + Qread_expression_history = intern_c_string ("read-expression-history"); staticpro (&Qread_expression_history);