diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 32 | ||||
| -rw-r--r-- | src/keymap.c | 6 |
2 files changed, 21 insertions, 17 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 221911121b5..e7d9d37aa3a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2004-11-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * keymap.c (Fkeymap_prompt): Accept symbol keymaps. | ||
| 4 | |||
| 1 | 2004-11-09 Kim F. Storm <storm@cua.dk> | 5 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
| 2 | 6 | ||
| 3 | * xselect.c: Include <sys/types.h> and <unistd.h> (for getpid). | 7 | * xselect.c: Include <sys/types.h> and <unistd.h> (for getpid). |
| @@ -164,8 +168,8 @@ | |||
| 164 | (x_stop_queuing_selection_requests): Add new queue for selection | 168 | (x_stop_queuing_selection_requests): Add new queue for selection |
| 165 | input events to replace previous XEvent queue in xterm.c. | 169 | input events to replace previous XEvent queue in xterm.c. |
| 166 | (queue_selection_requests_unwind): Adapt to new queue. | 170 | (queue_selection_requests_unwind): Adapt to new queue. |
| 167 | (x_reply_selection_request): Adapt to new queue. Unexpect | 171 | (x_reply_selection_request): Adapt to new queue. |
| 168 | wait_object in case of x errors (memory leak). | 172 | Unexpect wait_object in case of x errors (memory leak). |
| 169 | (x_handle_selection_request, x_handle_selection_clear): Make static. | 173 | (x_handle_selection_request, x_handle_selection_clear): Make static. |
| 170 | (x_handle_selection_event): New function. May queue selection events. | 174 | (x_handle_selection_event): New function. May queue selection events. |
| 171 | (wait_for_property_change_unwind): Use save_value instead of cons. | 175 | (wait_for_property_change_unwind): Use save_value instead of cons. |
| @@ -218,7 +222,7 @@ | |||
| 218 | * gtkutil.h: Declare use_old_gtk_file_dialog. | 222 | * gtkutil.h: Declare use_old_gtk_file_dialog. |
| 219 | 223 | ||
| 220 | * gtkutil.c: Make use_old_gtk_file_dialog non-static. | 224 | * gtkutil.c: Make use_old_gtk_file_dialog non-static. |
| 221 | (xg_initialize): Moved DEFVAR_BOOL for use_old_gtk_file_dialog ... | 225 | (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ... |
| 222 | * xfns.c (syms_of_xfns): ... to here. | 226 | * xfns.c (syms_of_xfns): ... to here. |
| 223 | 227 | ||
| 224 | * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if | 228 | * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if |
| @@ -293,20 +297,20 @@ | |||
| 293 | 297 | ||
| 294 | * lisp.h: Fx_file_dialog takes 5 parameters. | 298 | * lisp.h: Fx_file_dialog takes 5 parameters. |
| 295 | 299 | ||
| 296 | * xfns.c (Fx_file_dialog): Both Motif and GTK version: Add | 300 | * xfns.c (Fx_file_dialog): Both Motif and GTK version: |
| 297 | parameter only_dir_p. | 301 | Add parameter only_dir_p. |
| 298 | In Motif version, don't put DEFAULT_FILENAME in filter part of the | 302 | In Motif version, don't put DEFAULT_FILENAME in filter part of the |
| 299 | dialog, just text field part. Do not add DEFAULT_FILENAME | 303 | dialog, just text field part. Do not add DEFAULT_FILENAME |
| 300 | to list of files if it isn't there. | 304 | to list of files if it isn't there. |
| 301 | In GTK version, pass only_dir_p parameter to xg_get_file_name. | 305 | In GTK version, pass only_dir_p parameter to xg_get_file_name. |
| 302 | 306 | ||
| 303 | * macfns.c (Fx_file_dialog): Add parameter only_dir_p. Check | 307 | * macfns.c (Fx_file_dialog): Add parameter only_dir_p. |
| 304 | only_dir_p instead of comparing prompt to "Dired". When using | 308 | Check only_dir_p instead of comparing prompt to "Dired". When using |
| 305 | a save dialog, add option kNavDontConfirmReplacement, change title | 309 | a save dialog, add option kNavDontConfirmReplacement, change title |
| 306 | to "Enter name", change text for save button to "Ok". | 310 | to "Enter name", change text for save button to "Ok". |
| 307 | 311 | ||
| 308 | * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. Check | 312 | * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. |
| 309 | only_dir_p instead of comparing prompt to "Dired". | 313 | Check only_dir_p instead of comparing prompt to "Dired". |
| 310 | 314 | ||
| 311 | * gtkutil.c (xg_get_file_with_chooser) | 315 | * gtkutil.c (xg_get_file_with_chooser) |
| 312 | (xg_get_file_with_selection): New functions, only defined ifdef | 316 | (xg_get_file_with_selection): New functions, only defined ifdef |
| @@ -323,8 +327,8 @@ | |||
| 323 | 327 | ||
| 324 | 2004-11-01 Kim F. Storm <storm@cua.dk> | 328 | 2004-11-01 Kim F. Storm <storm@cua.dk> |
| 325 | 329 | ||
| 326 | * process.c (connect_wait_mask, num_pending_connects): Only | 330 | * process.c (connect_wait_mask, num_pending_connects): |
| 327 | declare and use them if NON_BLOCKING_CONNECT is defined. | 331 | Only declare and use them if NON_BLOCKING_CONNECT is defined. |
| 328 | (init_process): Initialize them if NON_BLOCKING_CONNECT defined. | 332 | (init_process): Initialize them if NON_BLOCKING_CONNECT defined. |
| 329 | (IF_NON_BLOCKING_CONNECT): New helper macro. | 333 | (IF_NON_BLOCKING_CONNECT): New helper macro. |
| 330 | (wait_reading_process_output): Only declare and use local vars | 334 | (wait_reading_process_output): Only declare and use local vars |
| @@ -339,8 +343,8 @@ | |||
| 339 | * xmenu.c: Add prototypes for forward function declarations. | 343 | * xmenu.c: Add prototypes for forward function declarations. |
| 340 | (popup_get_selection): Remove parameter do_timers, remove call to | 344 | (popup_get_selection): Remove parameter do_timers, remove call to |
| 341 | timer_check. | 345 | timer_check. |
| 342 | (create_and_show_popup_menu, create_and_show_dialog): Remove | 346 | (create_and_show_popup_menu, create_and_show_dialog): |
| 343 | parameter do_timers from call to popup_get_selection. | 347 | Remove parameter do_timers from call to popup_get_selection. |
| 344 | 348 | ||
| 345 | * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to | 349 | * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to |
| 346 | tool_bar_items and assign the result to f->tool_bar_items if | 350 | tool_bar_items and assign the result to f->tool_bar_items if |
| @@ -359,7 +363,7 @@ | |||
| 359 | * macterm.c: allow user to assign key modifiers to the Mac Option | 363 | * macterm.c: allow user to assign key modifiers to the Mac Option |
| 360 | key via a 'mac-option-modifier' variable. | 364 | key via a 'mac-option-modifier' variable. |
| 361 | 365 | ||
| 362 | 2004-10-28 Stefan <monnier@iro.umontreal.ca> | 366 | 2004-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 363 | 367 | ||
| 364 | * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions): | 368 | * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions): |
| 365 | Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks. | 369 | Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks. |
diff --git a/src/keymap.c b/src/keymap.c index 105a5b95793..a0d5c3b5be5 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -213,13 +213,13 @@ when reading a key-sequence to be looked-up in this keymap. */) | |||
| 213 | (map) | 213 | (map) |
| 214 | Lisp_Object map; | 214 | Lisp_Object map; |
| 215 | { | 215 | { |
| 216 | map = get_keymap (map, 0, 0); | ||
| 216 | while (CONSP (map)) | 217 | while (CONSP (map)) |
| 217 | { | 218 | { |
| 218 | register Lisp_Object tem; | 219 | Lisp_Object tem = XCAR (map); |
| 219 | tem = Fcar (map); | ||
| 220 | if (STRINGP (tem)) | 220 | if (STRINGP (tem)) |
| 221 | return tem; | 221 | return tem; |
| 222 | map = Fcdr (map); | 222 | map = XCDR (map); |
| 223 | } | 223 | } |
| 224 | return Qnil; | 224 | return Qnil; |
| 225 | } | 225 | } |