changeset 11004:0f6b7b33340a

(read_minibuf): Save Voverriding_local_map. (read_minibuf_unwind): Restore Voverriding_local_map.
author Richard M. Stallman <rms@gnu.org>
date Tue, 14 Mar 1995 21:15:08 +0000
parents 71304a70d0f6
children 3155b56586e9
files src/minibuf.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Tue Mar 14 18:39:58 1995 +0000
+++ b/src/minibuf.c	Tue Mar 14 21:15:08 1995 +0000
@@ -98,6 +98,8 @@
 /* Non-nil means it is the window for C-M-v to scroll
    when the minibuffer is selected.  */
 extern Lisp_Object Vminibuf_scroll_window;
+
+extern Lisp_Object Voverriding_local_map;
 
 /* Actual minibuffer invocation. */
 
@@ -160,7 +162,8 @@
 			   Fcons (Vcurrent_prefix_arg,
 				  Fcons (Vminibuffer_history_position,
 					 Fcons (Vminibuffer_history_variable,
-						minibuf_save_list))))));
+						Fcons (Voverriding_local_map,
+						       minibuf_save_list)))))));
   minibuf_prompt_width = 0;	/* xdisp.c puts in the right value.  */
   minibuf_prompt = Fcopy_sequence (prompt);
   Vminibuffer_history_position = histpos;
@@ -403,6 +406,8 @@
   minibuf_save_list = Fcdr (minibuf_save_list);
   Vminibuffer_history_variable = Fcar (minibuf_save_list);
   minibuf_save_list = Fcdr (minibuf_save_list);
+  Voverriding_local_map = Fcar (minibuf_save_list);
+  minibuf_save_list = Fcdr (minibuf_save_list);
 }