Mercurial > emacs
comparison src/callint.c @ 6494:00475922df29
(check_mark, Fcall_interactively): Use assignment, not initialization.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 23 Mar 1994 22:26:28 +0000 |
parents | 264f353c5b00 |
children | cd81dba38a49 |
comparison
equal
deleted
inserted
replaced
6493:33a461f14903 | 6494:00475922df29 |
---|---|
140 = {"", "point", "mark", "region-beginning", "region-end"}; | 140 = {"", "point", "mark", "region-beginning", "region-end"}; |
141 | 141 |
142 static void | 142 static void |
143 check_mark () | 143 check_mark () |
144 { | 144 { |
145 Lisp_Object tem = Fmarker_buffer (current_buffer->mark); | 145 Lisp_Object tem; |
146 tem = Fmarker_buffer (current_buffer->mark); | |
146 if (NILP (tem) || (XBUFFER (tem) != current_buffer)) | 147 if (NILP (tem) || (XBUFFER (tem) != current_buffer)) |
147 error ("The mark is not set now"); | 148 error ("The mark is not set now"); |
148 if (!NILP (Vtransient_mark_mode) && NILP (Vmark_even_if_inactive) | 149 if (!NILP (Vtransient_mark_mode) && NILP (Vmark_even_if_inactive) |
149 && NILP (current_buffer->mark_active)) | 150 && NILP (current_buffer->mark_active)) |
150 Fsignal (Qmark_inactive, Qnil); | 151 Fsignal (Qmark_inactive, Qnil); |
319 if (!NILP (current_buffer->read_only)) | 320 if (!NILP (current_buffer->read_only)) |
320 Fbarf_if_buffer_read_only (); | 321 Fbarf_if_buffer_read_only (); |
321 } | 322 } |
322 else if (*string == '@') | 323 else if (*string == '@') |
323 { | 324 { |
324 Lisp_Object event = | 325 Lisp_Object event; |
325 XVECTOR (this_command_keys)->contents[next_event]; | 326 |
326 | 327 event = XVECTOR (this_command_keys)->contents[next_event]; |
327 if (EVENT_HAS_PARAMETERS (event) | 328 if (EVENT_HAS_PARAMETERS (event) |
328 && XTYPE (event = XCONS (event)->cdr) == Lisp_Cons | 329 && XTYPE (event = XCONS (event)->cdr) == Lisp_Cons |
329 && XTYPE (event = XCONS (event)->car) == Lisp_Cons | 330 && XTYPE (event = XCONS (event)->car) == Lisp_Cons |
330 && XTYPE (event = XCONS (event)->car) == Lisp_Window) | 331 && XTYPE (event = XCONS (event)->car) == Lisp_Window) |
331 { | 332 { |