Ticket #183: mini_comp_gc.patch

File mini_comp_gc.patch, 0.5 kB (added by fujii, 3 years ago)

Fminibuffer_complete_word で GCPRO するためのパッチ

  • src/minibuf.c

    old new  
    23362336 
    23372337  /* Otherwise insert in minibuffer the chars we got */ 
    23382338 
     2339  GCPRO1(completion); 
     2340 
    23392341  if (! NILP (Vminibuffer_completing_file_name) 
    23402342      && SREF (completion, SBYTES (completion) - 1) == '/' 
    23412343      && PT < ZV 
     
    23472349    del_range (prompt_end_charpos, PT); 
    23482350 
    23492351  insert_from_string (completion, 0, 0, i, i_byte, 1); 
     2352 
     2353  UNGCPRO; 
     2354 
    23502355  return Qt; 
    23512356} 
    23522357