emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugger and mode-line


From: Thien-Thi Nguyen
Subject: Re: Debugger and mode-line
Date: 16 Jul 2006 06:26:29 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Richard Stallman <address@hidden> writes:

> This change should use record_unwind_protect.

how about the following?  is it true that using
`record_unwind_save_match_data' means it is not
necessary to use a separate auto var?

thi


___________________________________________________________
*** xdisp.c     1 Jul 2006 23:29:04 -0000       1.1109
--- xdisp.c     16 Jul 2006 10:24:53 -0000
***************
*** 16542,16547 ****
--- 16542,16548 ----
       kboard-local variables in the mode_line_format will get the right
       values.  */
    push_frame_kboard (it.f);
+   record_unwind_save_match_data ();
    display_mode_element (&it, 0, 0, 0, format, Qnil, 0);
    pop_frame_kboard ();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]