diff options
| author | Richard M. Stallman | 1993-08-05 01:51:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-05 01:51:54 +0000 |
| commit | 0ce830bc2648634e9dfbb8ede58f5457a7d4a83e (patch) | |
| tree | 428aed7ef39423f82a2ecded9361a0dbfd4ed2ca /src | |
| parent | 97c48db572b849a8ae8ba2aaa70eec6085799f15 (diff) | |
| download | emacs-0ce830bc2648634e9dfbb8ede58f5457a7d4a83e.tar.gz emacs-0ce830bc2648634e9dfbb8ede58f5457a7d4a83e.zip | |
(Fyes_or_no_p): Use Qyes_or_no_p_history.
(syms_of_fns): Set up Qyes_or_no_p_history.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -33,6 +33,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 33 | #include "intervals.h" | 33 | #include "intervals.h" |
| 34 | 34 | ||
| 35 | Lisp_Object Qstring_lessp, Qprovide, Qrequire; | 35 | Lisp_Object Qstring_lessp, Qprovide, Qrequire; |
| 36 | Lisp_Object Qyes_or_no_p_history; | ||
| 36 | 37 | ||
| 37 | static Lisp_Object internal_equal (); | 38 | static Lisp_Object internal_equal (); |
| 38 | 39 | ||
| @@ -1216,7 +1217,8 @@ and can edit it until it as been confirmed.") | |||
| 1216 | GCPRO1 (prompt); | 1217 | GCPRO1 (prompt); |
| 1217 | while (1) | 1218 | while (1) |
| 1218 | { | 1219 | { |
| 1219 | ans = Fdowncase (Fread_string (prompt, Qnil)); | 1220 | ans = Fdowncase (Fread_from_minibuffer (prompt, Qnil, Qnil, Qnil, |
| 1221 | Qyes_or_no_p_history)); | ||
| 1220 | if (XSTRING (ans)->size == 3 && !strcmp (XSTRING (ans)->data, "yes")) | 1222 | if (XSTRING (ans)->size == 3 && !strcmp (XSTRING (ans)->data, "yes")) |
| 1221 | { | 1223 | { |
| 1222 | UNGCPRO; | 1224 | UNGCPRO; |
| @@ -1333,6 +1335,8 @@ syms_of_fns () | |||
| 1333 | staticpro (&Qprovide); | 1335 | staticpro (&Qprovide); |
| 1334 | Qrequire = intern ("require"); | 1336 | Qrequire = intern ("require"); |
| 1335 | staticpro (&Qrequire); | 1337 | staticpro (&Qrequire); |
| 1338 | Qyes_or_no_p_history = intern ("yes-or-no-p-history"); | ||
| 1339 | staticpro (&Qyes_or_no_p_history); | ||
| 1336 | 1340 | ||
| 1337 | DEFVAR_LISP ("features", &Vfeatures, | 1341 | DEFVAR_LISP ("features", &Vfeatures, |
| 1338 | "A list of symbols which are the features of the executing emacs.\n\ | 1342 | "A list of symbols which are the features of the executing emacs.\n\ |