diff options
| author | Glenn Morris | 2011-01-07 18:31:57 -0800 |
|---|---|---|
| committer | Glenn Morris | 2011-01-07 18:31:57 -0800 |
| commit | 9dc3366b13a1ff121aa5ab98d4ea67d38430fc6f (patch) | |
| tree | 71885cbcf0e6d32c7efa18c3d5a56af489dbde73 | |
| parent | 466cbae99a69f4551726cd43adaf213e9d060f9e (diff) | |
| download | emacs-9dc3366b13a1ff121aa5ab98d4ea67d38430fc6f.tar.gz emacs-9dc3366b13a1ff121aa5ab98d4ea67d38430fc6f.zip | |
Fix bug#7750.
* src/xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
* src/emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/emacs.c | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 6 |
3 files changed, 10 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d4283dffffd..d8c0bee3577 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-01-08 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here... | ||
| 4 | * emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here. | ||
| 5 | |||
| 1 | 2011-01-07 Andreas Schwab <schwab@linux-m68k.org> | 6 | 2011-01-07 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 7 | ||
| 3 | * image.c (imagemagick_load_image): Fix some resource leaks and | 8 | * image.c (imagemagick_load_image): Fix some resource leaks and |
diff --git a/src/emacs.c b/src/emacs.c index 2388146105b..6a04eda9aa2 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -178,6 +178,8 @@ Lisp_Object Vsystem_configuration_options; | |||
| 178 | 178 | ||
| 179 | Lisp_Object Qfile_name_handler_alist; | 179 | Lisp_Object Qfile_name_handler_alist; |
| 180 | 180 | ||
| 181 | Lisp_Object Qrisky_local_variable; | ||
| 182 | |||
| 181 | /* Current and previous system locales for messages and time. */ | 183 | /* Current and previous system locales for messages and time. */ |
| 182 | Lisp_Object Vsystem_messages_locale; | 184 | Lisp_Object Vsystem_messages_locale; |
| 183 | Lisp_Object Vprevious_system_messages_locale; | 185 | Lisp_Object Vprevious_system_messages_locale; |
| @@ -2407,6 +2409,8 @@ syms_of_emacs (void) | |||
| 2407 | { | 2409 | { |
| 2408 | Qfile_name_handler_alist = intern_c_string ("file-name-handler-alist"); | 2410 | Qfile_name_handler_alist = intern_c_string ("file-name-handler-alist"); |
| 2409 | staticpro (&Qfile_name_handler_alist); | 2411 | staticpro (&Qfile_name_handler_alist); |
| 2412 | Qrisky_local_variable = intern_c_string ("risky-local-variable"); | ||
| 2413 | staticpro (&Qrisky_local_variable); | ||
| 2410 | 2414 | ||
| 2411 | #ifndef CANNOT_DUMP | 2415 | #ifndef CANNOT_DUMP |
| 2412 | defsubr (&Sdump_emacs); | 2416 | defsubr (&Sdump_emacs); |
diff --git a/src/xdisp.c b/src/xdisp.c index 4e15e8a5f6d..f7df35d059d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1997, 1998, | 3 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1997, 1998, |
| 4 | 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, | 4 | 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, |
| 5 | 2010 Free Software Foundation, Inc. | 5 | 2010, 2011 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | This file is part of GNU Emacs. | 7 | This file is part of GNU Emacs. |
| 8 | 8 | ||
| @@ -336,8 +336,6 @@ Lisp_Object Qbar, Qhbar, Qbox, Qhollow; | |||
| 336 | /* Pointer shapes */ | 336 | /* Pointer shapes */ |
| 337 | Lisp_Object Qarrow, Qhand, Qtext; | 337 | Lisp_Object Qarrow, Qhand, Qtext; |
| 338 | 338 | ||
| 339 | Lisp_Object Qrisky_local_variable; | ||
| 340 | |||
| 341 | /* Holds the list (error). */ | 339 | /* Holds the list (error). */ |
| 342 | Lisp_Object list_of_error; | 340 | Lisp_Object list_of_error; |
| 343 | 341 | ||
| @@ -26581,8 +26579,6 @@ syms_of_xdisp (void) | |||
| 26581 | staticpro (&Qarrow); | 26579 | staticpro (&Qarrow); |
| 26582 | Qtext = intern_c_string ("text"); | 26580 | Qtext = intern_c_string ("text"); |
| 26583 | staticpro (&Qtext); | 26581 | staticpro (&Qtext); |
| 26584 | Qrisky_local_variable = intern_c_string ("risky-local-variable"); | ||
| 26585 | staticpro (&Qrisky_local_variable); | ||
| 26586 | Qinhibit_free_realized_faces = intern_c_string ("inhibit-free-realized-faces"); | 26582 | Qinhibit_free_realized_faces = intern_c_string ("inhibit-free-realized-faces"); |
| 26587 | staticpro (&Qinhibit_free_realized_faces); | 26583 | staticpro (&Qinhibit_free_realized_faces); |
| 26588 | 26584 | ||