diff options
| author | Dan Nicolaescu | 2009-11-06 06:50:52 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-11-06 06:50:52 +0000 |
| commit | d67b4f80dbe514d6e351e7d89c78921c85e7dbe7 (patch) | |
| tree | da83a5dc49e499e330365feaa8123709fdf0cc88 /src | |
| parent | 495bd5ca19cf79a9e91b77bf2e2ea37b8be3ef1f (diff) | |
| download | emacs-d67b4f80dbe514d6e351e7d89c78921c85e7dbe7.tar.gz emacs-d67b4f80dbe514d6e351e7d89c78921c85e7dbe7.zip | |
* xterm.c (syms_of_xterm):
* xselect.c (syms_of_xselect):
* xmenu.c (syms_of_xmenu):
* xfns.c (syms_of_xfns):
* xfaces.c (syms_of_xfaces):
* xdisp.c (syms_of_xdisp):
* window.c (syms_of_window):
* w32fns.c (syms_of_w32fns):
* undo.c (syms_of_undo):
* textprop.c (syms_of_textprop):
* terminal.c (syms_of_terminal):
* syntax.c (syms_of_syntax):
* sound.c (syms_of_sound):
* search.c (syms_of_search):
* print.c (syms_of_print):
* minibuf.c (syms_of_minibuf):
* macros.c (syms_of_macros):
* keymap.c (syms_of_keymap, initial_define_key)
(initial_define_lispy_key):
* keyboard.c (syms_of_keyboard):
* insdel.c (syms_of_insdel):
* image.c (syms_of_image):
* fringe.c (syms_of_fringe):
* frame.c (syms_of_frame):
* fontset.c (syms_of_fontset):
* fns.c (syms_of_fns):
* fns.c (syms_of_fns):
* fileio.c (syms_of_fileio):
* fileio.c (syms_of_fileio):
* eval.c (syms_of_eval):
* doc.c (syms_of_doc):
* dispnew.c (syms_of_display):
* dired.c (syms_of_dired):
* dbusbind.c (syms_of_dbusbind):
* data.c (syms_of_data):
* composite.c (syms_of_composite):
* coding.c (syms_of_coding):
* cmds.c (syms_of_cmds):
* charset.c (define_charset_internal, syms_of_character):
* ccl.c (syms_of_ccl):
* category.c (syms_of_category, init_category_once):
* casetab.c (syms_of_casetab):
* casefiddle.c (syms_of_casefiddle):
* callint.c (syms_of_callint):
* bytecode.c (syms_of_bytecode):
* buffer.c (keys_of_buffer, syms_of_buffer):
* alloc.c (syms_of_alloc):
* process.c (syms_of_process, init_process):
* lread.c (syms_of_lread, init_obarray):
* font.c (build_style_table):
* emacs.c (syms_of_emacs, main): Replace calls to intern with
intern_c_string, calls to make_pure_string with
make_pure_c_string. Use pure_cons instead of Fcons.
* process.c (socket_options): Make it const.
(set_socket_option, init_process): Use a const pointer.
* lread.c (intern_c_string): New function.
(defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
(defvar_int): Uset it. Make the name const char*.
* font.c (struct table_entry): Remove unused member. Make NAMES
constant.
(weight_table, slant_table, width_table): Make constant.
* emacs.c (struct standard_args): Make name and longname constant.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 54 | ||||
| -rw-r--r-- | src/alloc.c | 8 | ||||
| -rw-r--r-- | src/buffer.c | 58 | ||||
| -rw-r--r-- | src/bytecode.c | 4 | ||||
| -rw-r--r-- | src/callint.c | 37 | ||||
| -rw-r--r-- | src/casefiddle.c | 2 | ||||
| -rw-r--r-- | src/casetab.c | 6 | ||||
| -rw-r--r-- | src/category.c | 10 | ||||
| -rw-r--r-- | src/ccl.c | 12 | ||||
| -rw-r--r-- | src/character.c | 2 | ||||
| -rw-r--r-- | src/charset.c | 14 | ||||
| -rw-r--r-- | src/cmds.c | 8 | ||||
| -rw-r--r-- | src/coding.c | 80 | ||||
| -rw-r--r-- | src/composite.c | 8 | ||||
| -rw-r--r-- | src/data.c | 276 | ||||
| -rw-r--r-- | src/dbusbind.c | 62 | ||||
| -rw-r--r-- | src/dired.c | 14 | ||||
| -rw-r--r-- | src/dispnew.c | 4 | ||||
| -rw-r--r-- | src/doc.c | 2 | ||||
| -rw-r--r-- | src/editfns.c | 8 | ||||
| -rw-r--r-- | src/emacs.c | 14 | ||||
| -rw-r--r-- | src/eval.c | 26 | ||||
| -rw-r--r-- | src/fileio.c | 106 | ||||
| -rw-r--r-- | src/fns.c | 52 | ||||
| -rw-r--r-- | src/font.c | 2 | ||||
| -rw-r--r-- | src/fontset.c | 4 | ||||
| -rw-r--r-- | src/frame.c | 92 | ||||
| -rw-r--r-- | src/fringe.c | 12 | ||||
| -rw-r--r-- | src/image.c | 64 | ||||
| -rw-r--r-- | src/insdel.c | 2 | ||||
| -rw-r--r-- | src/keyboard.c | 120 | ||||
| -rw-r--r-- | src/keymap.c | 56 | ||||
| -rw-r--r-- | src/lread.c | 66 | ||||
| -rw-r--r-- | src/macros.c | 4 | ||||
| -rw-r--r-- | src/minibuf.c | 34 | ||||
| -rw-r--r-- | src/print.c | 14 | ||||
| -rw-r--r-- | src/process.c | 230 | ||||
| -rw-r--r-- | src/search.c | 12 | ||||
| -rw-r--r-- | src/sound.c | 8 | ||||
| -rw-r--r-- | src/syntax.c | 14 | ||||
| -rw-r--r-- | src/terminal.c | 6 | ||||
| -rw-r--r-- | src/textprop.c | 38 | ||||
| -rw-r--r-- | src/undo.c | 4 | ||||
| -rw-r--r-- | src/w32fns.c | 4 | ||||
| -rw-r--r-- | src/window.c | 18 | ||||
| -rw-r--r-- | src/xdisp.c | 134 | ||||
| -rw-r--r-- | src/xfaces.c | 142 | ||||
| -rw-r--r-- | src/xfns.c | 26 | ||||
| -rw-r--r-- | src/xmenu.c | 6 | ||||
| -rw-r--r-- | src/xselect.c | 54 | ||||
| -rw-r--r-- | src/xterm.c | 24 |
51 files changed, 1054 insertions, 1003 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cde49c410b9..a0deac67367 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,59 @@ | |||
| 1 | 2009-11-06 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2009-11-06 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * xterm.c (syms_of_xterm): | ||
| 4 | * xselect.c (syms_of_xselect): | ||
| 5 | * xmenu.c (syms_of_xmenu): | ||
| 6 | * xfns.c (syms_of_xfns): | ||
| 7 | * xfaces.c (syms_of_xfaces): | ||
| 8 | * xdisp.c (syms_of_xdisp): | ||
| 9 | * window.c (syms_of_window): | ||
| 10 | * w32fns.c (syms_of_w32fns): | ||
| 11 | * undo.c (syms_of_undo): | ||
| 12 | * textprop.c (syms_of_textprop): | ||
| 13 | * terminal.c (syms_of_terminal): | ||
| 14 | * syntax.c (syms_of_syntax): | ||
| 15 | * sound.c (syms_of_sound): | ||
| 16 | * search.c (syms_of_search): | ||
| 17 | * print.c (syms_of_print): | ||
| 18 | * minibuf.c (syms_of_minibuf): | ||
| 19 | * macros.c (syms_of_macros): | ||
| 20 | * keymap.c (syms_of_keymap, initial_define_key) | ||
| 21 | (initial_define_lispy_key): | ||
| 22 | * keyboard.c (syms_of_keyboard): | ||
| 23 | * insdel.c (syms_of_insdel): | ||
| 24 | * image.c (syms_of_image): | ||
| 25 | * fringe.c (syms_of_fringe): | ||
| 26 | * frame.c (syms_of_frame): | ||
| 27 | * fontset.c (syms_of_fontset): | ||
| 28 | * fns.c (syms_of_fns): | ||
| 29 | * fns.c (syms_of_fns): | ||
| 30 | * fileio.c (syms_of_fileio): | ||
| 31 | * fileio.c (syms_of_fileio): | ||
| 32 | * eval.c (syms_of_eval): | ||
| 33 | * doc.c (syms_of_doc): | ||
| 34 | * dispnew.c (syms_of_display): | ||
| 35 | * dired.c (syms_of_dired): | ||
| 36 | * dbusbind.c (syms_of_dbusbind): | ||
| 37 | * data.c (syms_of_data): | ||
| 38 | * composite.c (syms_of_composite): | ||
| 39 | * coding.c (syms_of_coding): | ||
| 40 | * cmds.c (syms_of_cmds): | ||
| 41 | * charset.c (define_charset_internal, syms_of_character): | ||
| 42 | * ccl.c (syms_of_ccl): | ||
| 43 | * category.c (syms_of_category, init_category_once): | ||
| 44 | * casetab.c (syms_of_casetab): | ||
| 45 | * casefiddle.c (syms_of_casefiddle): | ||
| 46 | * callint.c (syms_of_callint): | ||
| 47 | * bytecode.c (syms_of_bytecode): | ||
| 48 | * buffer.c (keys_of_buffer, syms_of_buffer): | ||
| 49 | * alloc.c (syms_of_alloc): | ||
| 50 | * process.c (syms_of_process, init_process): | ||
| 51 | * lread.c (syms_of_lread, init_obarray): | ||
| 52 | * font.c (build_style_table): | ||
| 53 | * emacs.c (syms_of_emacs, main): Replace calls to intern with | ||
| 54 | intern_c_string, calls to make_pure_string with | ||
| 55 | make_pure_c_string. Use pure_cons instead of Fcons. | ||
| 56 | |||
| 3 | * process.c (socket_options): Make it const. | 57 | * process.c (socket_options): Make it const. |
| 4 | (set_socket_option, init_process): Use a const pointer. | 58 | (set_socket_option, init_process): Use a const pointer. |
| 5 | 59 | ||
diff --git a/src/alloc.c b/src/alloc.c index a074bfe2d72..97c4c45733d 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -31,8 +31,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 31 | #undef INLINE | 31 | #undef INLINE |
| 32 | #endif | 32 | #endif |
| 33 | 33 | ||
| 34 | /* Note that this declares bzero on OSF/1. How dumb. */ | ||
| 35 | |||
| 36 | #include <signal.h> | 34 | #include <signal.h> |
| 37 | 35 | ||
| 38 | #ifdef HAVE_GTK_AND_PTHREAD | 36 | #ifdef HAVE_GTK_AND_PTHREAD |
| @@ -6396,7 +6394,7 @@ This means that certain objects should be allocated in shared (pure) space. */) | |||
| 6396 | DEFVAR_LISP ("post-gc-hook", &Vpost_gc_hook, | 6394 | DEFVAR_LISP ("post-gc-hook", &Vpost_gc_hook, |
| 6397 | doc: /* Hook run after garbage collection has finished. */); | 6395 | doc: /* Hook run after garbage collection has finished. */); |
| 6398 | Vpost_gc_hook = Qnil; | 6396 | Vpost_gc_hook = Qnil; |
| 6399 | Qpost_gc_hook = intern ("post-gc-hook"); | 6397 | Qpost_gc_hook = intern_c_string ("post-gc-hook"); |
| 6400 | staticpro (&Qpost_gc_hook); | 6398 | staticpro (&Qpost_gc_hook); |
| 6401 | 6399 | ||
| 6402 | DEFVAR_LISP ("memory-signal-data", &Vmemory_signal_data, | 6400 | DEFVAR_LISP ("memory-signal-data", &Vmemory_signal_data, |
| @@ -6412,10 +6410,10 @@ This means that certain objects should be allocated in shared (pure) space. */) | |||
| 6412 | Vmemory_full = Qnil; | 6410 | Vmemory_full = Qnil; |
| 6413 | 6411 | ||
| 6414 | staticpro (&Qgc_cons_threshold); | 6412 | staticpro (&Qgc_cons_threshold); |
| 6415 | Qgc_cons_threshold = intern ("gc-cons-threshold"); | 6413 | Qgc_cons_threshold = intern_c_string ("gc-cons-threshold"); |
| 6416 | 6414 | ||
| 6417 | staticpro (&Qchar_table_extra_slots); | 6415 | staticpro (&Qchar_table_extra_slots); |
| 6418 | Qchar_table_extra_slots = intern ("char-table-extra-slots"); | 6416 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); |
| 6419 | 6417 | ||
| 6420 | DEFVAR_LISP ("gc-elapsed", &Vgc_elapsed, | 6418 | DEFVAR_LISP ("gc-elapsed", &Vgc_elapsed, |
| 6421 | doc: /* Accumulated time elapsed in garbage collections. | 6419 | doc: /* Accumulated time elapsed in garbage collections. |
diff --git a/src/buffer.c b/src/buffer.c index 2fc7a8b3a7c..5359c7cf69c 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5162,7 +5162,7 @@ init_buffer_once () | |||
| 5162 | /* Must do these before making the first buffer! */ | 5162 | /* Must do these before making the first buffer! */ |
| 5163 | 5163 | ||
| 5164 | /* real setup is done in bindings.el */ | 5164 | /* real setup is done in bindings.el */ |
| 5165 | buffer_defaults.mode_line_format = build_string ("%-"); | 5165 | buffer_defaults.mode_line_format = make_pure_c_string ("%-"); |
| 5166 | buffer_defaults.header_line_format = Qnil; | 5166 | buffer_defaults.header_line_format = Qnil; |
| 5167 | buffer_defaults.abbrev_mode = Qnil; | 5167 | buffer_defaults.abbrev_mode = Qnil; |
| 5168 | buffer_defaults.overwrite_mode = Qnil; | 5168 | buffer_defaults.overwrite_mode = Qnil; |
| @@ -5304,25 +5304,25 @@ init_buffer_once () | |||
| 5304 | 5304 | ||
| 5305 | QSFundamental = build_string ("Fundamental"); | 5305 | QSFundamental = build_string ("Fundamental"); |
| 5306 | 5306 | ||
| 5307 | Qfundamental_mode = intern ("fundamental-mode"); | 5307 | Qfundamental_mode = intern_c_string ("fundamental-mode"); |
| 5308 | buffer_defaults.major_mode = Qfundamental_mode; | 5308 | buffer_defaults.major_mode = Qfundamental_mode; |
| 5309 | 5309 | ||
| 5310 | Qmode_class = intern ("mode-class"); | 5310 | Qmode_class = intern_c_string ("mode-class"); |
| 5311 | 5311 | ||
| 5312 | Qprotected_field = intern ("protected-field"); | 5312 | Qprotected_field = intern_c_string ("protected-field"); |
| 5313 | 5313 | ||
| 5314 | Qpermanent_local = intern ("permanent-local"); | 5314 | Qpermanent_local = intern_c_string ("permanent-local"); |
| 5315 | 5315 | ||
| 5316 | Qkill_buffer_hook = intern ("kill-buffer-hook"); | 5316 | Qkill_buffer_hook = intern_c_string ("kill-buffer-hook"); |
| 5317 | Fput (Qkill_buffer_hook, Qpermanent_local, Qt); | 5317 | Fput (Qkill_buffer_hook, Qpermanent_local, Qt); |
| 5318 | 5318 | ||
| 5319 | Qucs_set_table_for_input = intern ("ucs-set-table-for-input"); | 5319 | Qucs_set_table_for_input = intern_c_string ("ucs-set-table-for-input"); |
| 5320 | 5320 | ||
| 5321 | /* super-magic invisible buffer */ | 5321 | /* super-magic invisible buffer */ |
| 5322 | Vprin1_to_string_buffer = Fget_buffer_create (build_string (" prin1")); | 5322 | Vprin1_to_string_buffer = Fget_buffer_create (make_pure_c_string (" prin1")); |
| 5323 | Vbuffer_alist = Qnil; | 5323 | Vbuffer_alist = Qnil; |
| 5324 | 5324 | ||
| 5325 | Fset_buffer (Fget_buffer_create (build_string ("*scratch*"))); | 5325 | Fset_buffer (Fget_buffer_create (make_pure_c_string ("*scratch*"))); |
| 5326 | 5326 | ||
| 5327 | inhibit_modification_hooks = 0; | 5327 | inhibit_modification_hooks = 0; |
| 5328 | } | 5328 | } |
| @@ -5451,45 +5451,45 @@ syms_of_buffer () | |||
| 5451 | staticpro (&Vbuffer_alist); | 5451 | staticpro (&Vbuffer_alist); |
| 5452 | staticpro (&Qprotected_field); | 5452 | staticpro (&Qprotected_field); |
| 5453 | staticpro (&Qpermanent_local); | 5453 | staticpro (&Qpermanent_local); |
| 5454 | Qpermanent_local_hook = intern ("permanent-local-hook"); | 5454 | Qpermanent_local_hook = intern_c_string ("permanent-local-hook"); |
| 5455 | staticpro (&Qpermanent_local_hook); | 5455 | staticpro (&Qpermanent_local_hook); |
| 5456 | staticpro (&Qkill_buffer_hook); | 5456 | staticpro (&Qkill_buffer_hook); |
| 5457 | Qoverlayp = intern ("overlayp"); | 5457 | Qoverlayp = intern_c_string ("overlayp"); |
| 5458 | staticpro (&Qoverlayp); | 5458 | staticpro (&Qoverlayp); |
| 5459 | Qevaporate = intern ("evaporate"); | 5459 | Qevaporate = intern_c_string ("evaporate"); |
| 5460 | staticpro (&Qevaporate); | 5460 | staticpro (&Qevaporate); |
| 5461 | Qmodification_hooks = intern ("modification-hooks"); | 5461 | Qmodification_hooks = intern_c_string ("modification-hooks"); |
| 5462 | staticpro (&Qmodification_hooks); | 5462 | staticpro (&Qmodification_hooks); |
| 5463 | Qinsert_in_front_hooks = intern ("insert-in-front-hooks"); | 5463 | Qinsert_in_front_hooks = intern_c_string ("insert-in-front-hooks"); |
| 5464 | staticpro (&Qinsert_in_front_hooks); | 5464 | staticpro (&Qinsert_in_front_hooks); |
| 5465 | Qinsert_behind_hooks = intern ("insert-behind-hooks"); | 5465 | Qinsert_behind_hooks = intern_c_string ("insert-behind-hooks"); |
| 5466 | staticpro (&Qinsert_behind_hooks); | 5466 | staticpro (&Qinsert_behind_hooks); |
| 5467 | Qget_file_buffer = intern ("get-file-buffer"); | 5467 | Qget_file_buffer = intern_c_string ("get-file-buffer"); |
| 5468 | staticpro (&Qget_file_buffer); | 5468 | staticpro (&Qget_file_buffer); |
| 5469 | Qpriority = intern ("priority"); | 5469 | Qpriority = intern_c_string ("priority"); |
| 5470 | staticpro (&Qpriority); | 5470 | staticpro (&Qpriority); |
| 5471 | Qwindow = intern ("window"); | 5471 | Qwindow = intern_c_string ("window"); |
| 5472 | staticpro (&Qwindow); | 5472 | staticpro (&Qwindow); |
| 5473 | Qbefore_string = intern ("before-string"); | 5473 | Qbefore_string = intern_c_string ("before-string"); |
| 5474 | staticpro (&Qbefore_string); | 5474 | staticpro (&Qbefore_string); |
| 5475 | Qafter_string = intern ("after-string"); | 5475 | Qafter_string = intern_c_string ("after-string"); |
| 5476 | staticpro (&Qafter_string); | 5476 | staticpro (&Qafter_string); |
| 5477 | Qfirst_change_hook = intern ("first-change-hook"); | 5477 | Qfirst_change_hook = intern_c_string ("first-change-hook"); |
| 5478 | staticpro (&Qfirst_change_hook); | 5478 | staticpro (&Qfirst_change_hook); |
| 5479 | Qbefore_change_functions = intern ("before-change-functions"); | 5479 | Qbefore_change_functions = intern_c_string ("before-change-functions"); |
| 5480 | staticpro (&Qbefore_change_functions); | 5480 | staticpro (&Qbefore_change_functions); |
| 5481 | Qafter_change_functions = intern ("after-change-functions"); | 5481 | Qafter_change_functions = intern_c_string ("after-change-functions"); |
| 5482 | staticpro (&Qafter_change_functions); | 5482 | staticpro (&Qafter_change_functions); |
| 5483 | /* The next one is initialized in init_buffer_once. */ | 5483 | /* The next one is initialized in init_buffer_once. */ |
| 5484 | staticpro (&Qucs_set_table_for_input); | 5484 | staticpro (&Qucs_set_table_for_input); |
| 5485 | 5485 | ||
| 5486 | Qkill_buffer_query_functions = intern ("kill-buffer-query-functions"); | 5486 | Qkill_buffer_query_functions = intern_c_string ("kill-buffer-query-functions"); |
| 5487 | staticpro (&Qkill_buffer_query_functions); | 5487 | staticpro (&Qkill_buffer_query_functions); |
| 5488 | 5488 | ||
| 5489 | Fput (Qprotected_field, Qerror_conditions, | 5489 | Fput (Qprotected_field, Qerror_conditions, |
| 5490 | Fcons (Qprotected_field, Fcons (Qerror, Qnil))); | 5490 | pure_cons (Qprotected_field, pure_cons (Qerror, Qnil))); |
| 5491 | Fput (Qprotected_field, Qerror_message, | 5491 | Fput (Qprotected_field, Qerror_message, |
| 5492 | build_string ("Attempt to modify a protected field")); | 5492 | make_pure_c_string ("Attempt to modify a protected field")); |
| 5493 | 5493 | ||
| 5494 | /* All these use DEFVAR_LISP_NOPRO because the slots in | 5494 | /* All these use DEFVAR_LISP_NOPRO because the slots in |
| 5495 | buffer_defaults will all be marked via Vbuffer_defaults. */ | 5495 | buffer_defaults will all be marked via Vbuffer_defaults. */ |
| @@ -5769,7 +5769,7 @@ use the function `set-buffer-multibyte' to change a buffer's representation. | |||
| 5769 | Changing its default value with `setq-default' is supported. | 5769 | Changing its default value with `setq-default' is supported. |
| 5770 | See also variable `default-enable-multibyte-characters' and Info node | 5770 | See also variable `default-enable-multibyte-characters' and Info node |
| 5771 | `(elisp)Text Representations'. */); | 5771 | `(elisp)Text Representations'. */); |
| 5772 | XSYMBOL (intern ("enable-multibyte-characters"))->constant = 1; | 5772 | XSYMBOL (intern_c_string ("enable-multibyte-characters"))->constant = 1; |
| 5773 | 5773 | ||
| 5774 | DEFVAR_PER_BUFFER ("buffer-file-coding-system", | 5774 | DEFVAR_PER_BUFFER ("buffer-file-coding-system", |
| 5775 | ¤t_buffer->buffer_file_coding_system, Qnil, | 5775 | ¤t_buffer->buffer_file_coding_system, Qnil, |
| @@ -6278,7 +6278,7 @@ If any of them returns nil, the buffer is not killed. */); | |||
| 6278 | doc: /* Normal hook run before changing the major mode of a buffer. | 6278 | doc: /* Normal hook run before changing the major mode of a buffer. |
| 6279 | The function `kill-all-local-variables' runs this before doing anything else. */); | 6279 | The function `kill-all-local-variables' runs this before doing anything else. */); |
| 6280 | Vchange_major_mode_hook = Qnil; | 6280 | Vchange_major_mode_hook = Qnil; |
| 6281 | Qchange_major_mode_hook = intern ("change-major-mode-hook"); | 6281 | Qchange_major_mode_hook = intern_c_string ("change-major-mode-hook"); |
| 6282 | staticpro (&Qchange_major_mode_hook); | 6282 | staticpro (&Qchange_major_mode_hook); |
| 6283 | 6283 | ||
| 6284 | defsubr (&Sbuffer_live_p); | 6284 | defsubr (&Sbuffer_live_p); |
| @@ -6340,7 +6340,7 @@ keys_of_buffer () | |||
| 6340 | 6340 | ||
| 6341 | /* This must not be in syms_of_buffer, because Qdisabled is not | 6341 | /* This must not be in syms_of_buffer, because Qdisabled is not |
| 6342 | initialized when that function gets called. */ | 6342 | initialized when that function gets called. */ |
| 6343 | Fput (intern ("erase-buffer"), Qdisabled, Qt); | 6343 | Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt); |
| 6344 | } | 6344 | } |
| 6345 | 6345 | ||
| 6346 | /* arch-tag: e48569bf-69a9-4b65-a23b-8e68769436e1 | 6346 | /* arch-tag: e48569bf-69a9-4b65-a23b-8e68769436e1 |
diff --git a/src/bytecode.c b/src/bytecode.c index 4a1e2da3556..2768ed81f99 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -1679,7 +1679,7 @@ If the third argument is incorrect, Emacs may crash. */) | |||
| 1679 | void | 1679 | void |
| 1680 | syms_of_bytecode () | 1680 | syms_of_bytecode () |
| 1681 | { | 1681 | { |
| 1682 | Qbytecode = intern ("byte-code"); | 1682 | Qbytecode = intern_c_string ("byte-code"); |
| 1683 | staticpro (&Qbytecode); | 1683 | staticpro (&Qbytecode); |
| 1684 | 1684 | ||
| 1685 | defsubr (&Sbyte_code); | 1685 | defsubr (&Sbyte_code); |
| @@ -1702,7 +1702,7 @@ integer, it is incremented each time that symbol's function is called. */); | |||
| 1702 | 1702 | ||
| 1703 | byte_metering_on = 0; | 1703 | byte_metering_on = 0; |
| 1704 | Vbyte_code_meter = Fmake_vector (make_number (256), make_number (0)); | 1704 | Vbyte_code_meter = Fmake_vector (make_number (256), make_number (0)); |
| 1705 | Qbyte_code_meter = intern ("byte-code-meter"); | 1705 | Qbyte_code_meter = intern_c_string ("byte-code-meter"); |
| 1706 | staticpro (&Qbyte_code_meter); | 1706 | staticpro (&Qbyte_code_meter); |
| 1707 | { | 1707 | { |
| 1708 | int i = 256; | 1708 | int i = 256; |
diff --git a/src/callint.c b/src/callint.c index a9f8f231462..371dd55dec9 100644 --- a/src/callint.c +++ b/src/callint.c | |||
| @@ -905,46 +905,45 @@ syms_of_callint () | |||
| 905 | callint_message = Qnil; | 905 | callint_message = Qnil; |
| 906 | staticpro (&callint_message); | 906 | staticpro (&callint_message); |
| 907 | 907 | ||
| 908 | preserved_fns = Fcons (intern ("region-beginning"), | 908 | preserved_fns = pure_cons (intern_c_string ("region-beginning"), |
| 909 | Fcons (intern ("region-end"), | 909 | pure_cons (intern_c_string ("region-end"), |
| 910 | Fcons (intern ("point"), | 910 | pure_cons (intern_c_string ("point"), |
| 911 | Fcons (intern ("mark"), Qnil)))); | 911 | pure_cons (intern_c_string ("mark"), Qnil)))); |
| 912 | staticpro (&preserved_fns); | ||
| 913 | 912 | ||
| 914 | Qlist = intern ("list"); | 913 | Qlist = intern_c_string ("list"); |
| 915 | staticpro (&Qlist); | 914 | staticpro (&Qlist); |
| 916 | Qlet = intern ("let"); | 915 | Qlet = intern_c_string ("let"); |
| 917 | staticpro (&Qlet); | 916 | staticpro (&Qlet); |
| 918 | Qif = intern ("if"); | 917 | Qif = intern_c_string ("if"); |
| 919 | staticpro (&Qif); | 918 | staticpro (&Qif); |
| 920 | Qwhen = intern ("when"); | 919 | Qwhen = intern_c_string ("when"); |
| 921 | staticpro (&Qwhen); | 920 | staticpro (&Qwhen); |
| 922 | Qletx = intern ("let*"); | 921 | Qletx = intern_c_string ("let*"); |
| 923 | staticpro (&Qletx); | 922 | staticpro (&Qletx); |
| 924 | Qsave_excursion = intern ("save-excursion"); | 923 | Qsave_excursion = intern_c_string ("save-excursion"); |
| 925 | staticpro (&Qsave_excursion); | 924 | staticpro (&Qsave_excursion); |
| 926 | Qprogn = intern ("progn"); | 925 | Qprogn = intern_c_string ("progn"); |
| 927 | staticpro (&Qprogn); | 926 | staticpro (&Qprogn); |
| 928 | 927 | ||
| 929 | Qminus = intern ("-"); | 928 | Qminus = intern_c_string ("-"); |
| 930 | staticpro (&Qminus); | 929 | staticpro (&Qminus); |
| 931 | 930 | ||
| 932 | Qplus = intern ("+"); | 931 | Qplus = intern_c_string ("+"); |
| 933 | staticpro (&Qplus); | 932 | staticpro (&Qplus); |
| 934 | 933 | ||
| 935 | Qhandle_shift_selection = intern ("handle-shift-selection"); | 934 | Qhandle_shift_selection = intern_c_string ("handle-shift-selection"); |
| 936 | staticpro (&Qhandle_shift_selection); | 935 | staticpro (&Qhandle_shift_selection); |
| 937 | 936 | ||
| 938 | Qcall_interactively = intern ("call-interactively"); | 937 | Qcall_interactively = intern_c_string ("call-interactively"); |
| 939 | staticpro (&Qcall_interactively); | 938 | staticpro (&Qcall_interactively); |
| 940 | 939 | ||
| 941 | Qcommand_debug_status = intern ("command-debug-status"); | 940 | Qcommand_debug_status = intern_c_string ("command-debug-status"); |
| 942 | staticpro (&Qcommand_debug_status); | 941 | staticpro (&Qcommand_debug_status); |
| 943 | 942 | ||
| 944 | Qenable_recursive_minibuffers = intern ("enable-recursive-minibuffers"); | 943 | Qenable_recursive_minibuffers = intern_c_string ("enable-recursive-minibuffers"); |
| 945 | staticpro (&Qenable_recursive_minibuffers); | 944 | staticpro (&Qenable_recursive_minibuffers); |
| 946 | 945 | ||
| 947 | Qmouse_leave_buffer_hook = intern ("mouse-leave-buffer-hook"); | 946 | Qmouse_leave_buffer_hook = intern_c_string ("mouse-leave-buffer-hook"); |
| 948 | staticpro (&Qmouse_leave_buffer_hook); | 947 | staticpro (&Qmouse_leave_buffer_hook); |
| 949 | 948 | ||
| 950 | DEFVAR_KBOARD ("prefix-arg", Vprefix_arg, | 949 | DEFVAR_KBOARD ("prefix-arg", Vprefix_arg, |
diff --git a/src/casefiddle.c b/src/casefiddle.c index 112198b3225..f9f19927313 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c | |||
| @@ -429,7 +429,7 @@ With negative argument, capitalize previous words but do not move. */) | |||
| 429 | void | 429 | void |
| 430 | syms_of_casefiddle () | 430 | syms_of_casefiddle () |
| 431 | { | 431 | { |
| 432 | Qidentity = intern ("identity"); | 432 | Qidentity = intern_c_string ("identity"); |
| 433 | staticpro (&Qidentity); | 433 | staticpro (&Qidentity); |
| 434 | defsubr (&Supcase); | 434 | defsubr (&Supcase); |
| 435 | defsubr (&Sdowncase); | 435 | defsubr (&Sdowncase); |
diff --git a/src/casetab.c b/src/casetab.c index 5ae4ee2b5f2..ca8979bdb3c 100644 --- a/src/casetab.c +++ b/src/casetab.c | |||
| @@ -254,13 +254,13 @@ init_casetab_once () | |||
| 254 | { | 254 | { |
| 255 | register int i; | 255 | register int i; |
| 256 | Lisp_Object down, up; | 256 | Lisp_Object down, up; |
| 257 | Qcase_table = intern ("case-table"); | 257 | Qcase_table = intern_c_string ("case-table"); |
| 258 | staticpro (&Qcase_table); | 258 | staticpro (&Qcase_table); |
| 259 | 259 | ||
| 260 | /* Intern this now in case it isn't already done. | 260 | /* Intern this now in case it isn't already done. |
| 261 | Setting this variable twice is harmless. | 261 | Setting this variable twice is harmless. |
| 262 | But don't staticpro it here--that is done in alloc.c. */ | 262 | But don't staticpro it here--that is done in alloc.c. */ |
| 263 | Qchar_table_extra_slots = intern ("char-table-extra-slots"); | 263 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); |
| 264 | 264 | ||
| 265 | /* Now we are ready to set up this property, so we can | 265 | /* Now we are ready to set up this property, so we can |
| 266 | create char tables. */ | 266 | create char tables. */ |
| @@ -298,7 +298,7 @@ init_casetab_once () | |||
| 298 | void | 298 | void |
| 299 | syms_of_casetab () | 299 | syms_of_casetab () |
| 300 | { | 300 | { |
| 301 | Qcase_table_p = intern ("case-table-p"); | 301 | Qcase_table_p = intern_c_string ("case-table-p"); |
| 302 | staticpro (&Qcase_table_p); | 302 | staticpro (&Qcase_table_p); |
| 303 | 303 | ||
| 304 | staticpro (&Vascii_canon_table); | 304 | staticpro (&Vascii_canon_table); |
diff --git a/src/category.c b/src/category.c index 88337ff4fe7..7d7553411e6 100644 --- a/src/category.c +++ b/src/category.c | |||
| @@ -467,13 +467,13 @@ void | |||
| 467 | init_category_once () | 467 | init_category_once () |
| 468 | { | 468 | { |
| 469 | /* This has to be done here, before we call Fmake_char_table. */ | 469 | /* This has to be done here, before we call Fmake_char_table. */ |
| 470 | Qcategory_table = intern ("category-table"); | 470 | Qcategory_table = intern_c_string ("category-table"); |
| 471 | staticpro (&Qcategory_table); | 471 | staticpro (&Qcategory_table); |
| 472 | 472 | ||
| 473 | /* Intern this now in case it isn't already done. | 473 | /* Intern this now in case it isn't already done. |
| 474 | Setting this variable twice is harmless. | 474 | Setting this variable twice is harmless. |
| 475 | But don't staticpro it here--that is done in alloc.c. */ | 475 | But don't staticpro it here--that is done in alloc.c. */ |
| 476 | Qchar_table_extra_slots = intern ("char-table-extra-slots"); | 476 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); |
| 477 | 477 | ||
| 478 | /* Now we are ready to set up this property, so we can | 478 | /* Now we are ready to set up this property, so we can |
| 479 | create category tables. */ | 479 | create category tables. */ |
| @@ -489,11 +489,11 @@ init_category_once () | |||
| 489 | void | 489 | void |
| 490 | syms_of_category () | 490 | syms_of_category () |
| 491 | { | 491 | { |
| 492 | Qcategoryp = intern ("categoryp"); | 492 | Qcategoryp = intern_c_string ("categoryp"); |
| 493 | staticpro (&Qcategoryp); | 493 | staticpro (&Qcategoryp); |
| 494 | Qcategorysetp = intern ("categorysetp"); | 494 | Qcategorysetp = intern_c_string ("categorysetp"); |
| 495 | staticpro (&Qcategorysetp); | 495 | staticpro (&Qcategorysetp); |
| 496 | Qcategory_table_p = intern ("category-table-p"); | 496 | Qcategory_table_p = intern_c_string ("category-table-p"); |
| 497 | staticpro (&Qcategory_table_p); | 497 | staticpro (&Qcategory_table_p); |
| 498 | 498 | ||
| 499 | DEFVAR_LISP ("word-combining-categories", &Vword_combining_categories, | 499 | DEFVAR_LISP ("word-combining-categories", &Vword_combining_categories, |
| @@ -2323,22 +2323,22 @@ syms_of_ccl () | |||
| 2323 | staticpro (&Vccl_program_table); | 2323 | staticpro (&Vccl_program_table); |
| 2324 | Vccl_program_table = Fmake_vector (make_number (32), Qnil); | 2324 | Vccl_program_table = Fmake_vector (make_number (32), Qnil); |
| 2325 | 2325 | ||
| 2326 | Qccl = intern ("ccl"); | 2326 | Qccl = intern_c_string ("ccl"); |
| 2327 | staticpro (&Qccl); | 2327 | staticpro (&Qccl); |
| 2328 | 2328 | ||
| 2329 | Qcclp = intern ("cclp"); | 2329 | Qcclp = intern_c_string ("cclp"); |
| 2330 | staticpro (&Qcclp); | 2330 | staticpro (&Qcclp); |
| 2331 | 2331 | ||
| 2332 | Qccl_program = intern ("ccl-program"); | 2332 | Qccl_program = intern_c_string ("ccl-program"); |
| 2333 | staticpro (&Qccl_program); | 2333 | staticpro (&Qccl_program); |
| 2334 | 2334 | ||
| 2335 | Qccl_program_idx = intern ("ccl-program-idx"); | 2335 | Qccl_program_idx = intern_c_string ("ccl-program-idx"); |
| 2336 | staticpro (&Qccl_program_idx); | 2336 | staticpro (&Qccl_program_idx); |
| 2337 | 2337 | ||
| 2338 | Qcode_conversion_map = intern ("code-conversion-map"); | 2338 | Qcode_conversion_map = intern_c_string ("code-conversion-map"); |
| 2339 | staticpro (&Qcode_conversion_map); | 2339 | staticpro (&Qcode_conversion_map); |
| 2340 | 2340 | ||
| 2341 | Qcode_conversion_map_id = intern ("code-conversion-map-id"); | 2341 | Qcode_conversion_map_id = intern_c_string ("code-conversion-map-id"); |
| 2342 | staticpro (&Qcode_conversion_map_id); | 2342 | staticpro (&Qcode_conversion_map_id); |
| 2343 | 2343 | ||
| 2344 | DEFVAR_LISP ("code-conversion-map-vector", &Vcode_conversion_map_vector, | 2344 | DEFVAR_LISP ("code-conversion-map-vector", &Vcode_conversion_map_vector, |
diff --git a/src/character.c b/src/character.c index 33d6969be89..ff2f4a716d8 100644 --- a/src/character.c +++ b/src/character.c | |||
| @@ -1142,7 +1142,7 @@ It has one extra slot whose value is a list of script symbols. */); | |||
| 1142 | /* Intern this now in case it isn't already done. | 1142 | /* Intern this now in case it isn't already done. |
| 1143 | Setting this variable twice is harmless. | 1143 | Setting this variable twice is harmless. |
| 1144 | But don't staticpro it here--that is done in alloc.c. */ | 1144 | But don't staticpro it here--that is done in alloc.c. */ |
| 1145 | Qchar_table_extra_slots = intern ("char-table-extra-slots"); | 1145 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); |
| 1146 | DEFSYM (Qchar_script_table, "char-script-table"); | 1146 | DEFSYM (Qchar_script_table, "char-script-table"); |
| 1147 | Fput (Qchar_script_table, Qchar_table_extra_slots, make_number (1)); | 1147 | Fput (Qchar_script_table, Qchar_table_extra_slots, make_number (1)); |
| 1148 | Vchar_script_table = Fmake_char_table (Qchar_script_table, Qnil); | 1148 | Vchar_script_table = Fmake_char_table (Qchar_script_table, Qnil); |
diff --git a/src/charset.c b/src/charset.c index cfdf95565a7..32d5fc52c7a 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -1323,19 +1323,19 @@ define_charset_internal (name, dimension, code_space, min_code, max_code, | |||
| 1323 | args[charset_arg_superset] = Qnil; | 1323 | args[charset_arg_superset] = Qnil; |
| 1324 | args[charset_arg_unify_map] = Qnil; | 1324 | args[charset_arg_unify_map] = Qnil; |
| 1325 | 1325 | ||
| 1326 | plist[0] = intern (":name"); | 1326 | plist[0] = intern_c_string (":name"); |
| 1327 | plist[1] = args[charset_arg_name]; | 1327 | plist[1] = args[charset_arg_name]; |
| 1328 | plist[2] = intern (":dimension"); | 1328 | plist[2] = intern_c_string (":dimension"); |
| 1329 | plist[3] = args[charset_arg_dimension]; | 1329 | plist[3] = args[charset_arg_dimension]; |
| 1330 | plist[4] = intern (":code-space"); | 1330 | plist[4] = intern_c_string (":code-space"); |
| 1331 | plist[5] = args[charset_arg_code_space]; | 1331 | plist[5] = args[charset_arg_code_space]; |
| 1332 | plist[6] = intern (":iso-final-char"); | 1332 | plist[6] = intern_c_string (":iso-final-char"); |
| 1333 | plist[7] = args[charset_arg_iso_final]; | 1333 | plist[7] = args[charset_arg_iso_final]; |
| 1334 | plist[8] = intern (":emacs-mule-id"); | 1334 | plist[8] = intern_c_string (":emacs-mule-id"); |
| 1335 | plist[9] = args[charset_arg_emacs_mule_id]; | 1335 | plist[9] = args[charset_arg_emacs_mule_id]; |
| 1336 | plist[10] = intern (":ascii-compatible-p"); | 1336 | plist[10] = intern_c_string (":ascii-compatible-p"); |
| 1337 | plist[11] = args[charset_arg_ascii_compatible_p]; | 1337 | plist[11] = args[charset_arg_ascii_compatible_p]; |
| 1338 | plist[12] = intern (":code-offset"); | 1338 | plist[12] = intern_c_string (":code-offset"); |
| 1339 | plist[13] = args[charset_arg_code_offset]; | 1339 | plist[13] = args[charset_arg_code_offset]; |
| 1340 | 1340 | ||
| 1341 | args[charset_arg_plist] = Flist (14, plist); | 1341 | args[charset_arg_plist] = Flist (14, plist); |
diff --git a/src/cmds.c b/src/cmds.c index 5b5c6de817e..69b967aa7e2 100644 --- a/src/cmds.c +++ b/src/cmds.c | |||
| @@ -589,16 +589,16 @@ internal_self_insert (c, noautofill) | |||
| 589 | void | 589 | void |
| 590 | syms_of_cmds () | 590 | syms_of_cmds () |
| 591 | { | 591 | { |
| 592 | Qkill_backward_chars = intern ("kill-backward-chars"); | 592 | Qkill_backward_chars = intern_c_string ("kill-backward-chars"); |
| 593 | staticpro (&Qkill_backward_chars); | 593 | staticpro (&Qkill_backward_chars); |
| 594 | 594 | ||
| 595 | Qkill_forward_chars = intern ("kill-forward-chars"); | 595 | Qkill_forward_chars = intern_c_string ("kill-forward-chars"); |
| 596 | staticpro (&Qkill_forward_chars); | 596 | staticpro (&Qkill_forward_chars); |
| 597 | 597 | ||
| 598 | Qoverwrite_mode_binary = intern ("overwrite-mode-binary"); | 598 | Qoverwrite_mode_binary = intern_c_string ("overwrite-mode-binary"); |
| 599 | staticpro (&Qoverwrite_mode_binary); | 599 | staticpro (&Qoverwrite_mode_binary); |
| 600 | 600 | ||
| 601 | Qexpand_abbrev = intern ("expand-abbrev"); | 601 | Qexpand_abbrev = intern_c_string ("expand-abbrev"); |
| 602 | staticpro (&Qexpand_abbrev); | 602 | staticpro (&Qexpand_abbrev); |
| 603 | 603 | ||
| 604 | DEFVAR_LISP ("self-insert-face", &Vself_insert_face, | 604 | DEFVAR_LISP ("self-insert-face", &Vself_insert_face, |
diff --git a/src/coding.c b/src/coding.c index 678bafaa9ea..b13766e3076 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -10415,7 +10415,7 @@ syms_of_coding () | |||
| 10415 | Vcode_conversion_reused_workbuf = Qnil; | 10415 | Vcode_conversion_reused_workbuf = Qnil; |
| 10416 | 10416 | ||
| 10417 | staticpro (&Vcode_conversion_workbuf_name); | 10417 | staticpro (&Vcode_conversion_workbuf_name); |
| 10418 | Vcode_conversion_workbuf_name = build_string (" *code-conversion-work*"); | 10418 | Vcode_conversion_workbuf_name = make_pure_c_string (" *code-conversion-work*"); |
| 10419 | 10419 | ||
| 10420 | reused_workbuf_in_use = 0; | 10420 | reused_workbuf_in_use = 0; |
| 10421 | 10421 | ||
| @@ -10476,14 +10476,14 @@ syms_of_coding () | |||
| 10476 | 10476 | ||
| 10477 | DEFSYM (Qcoding_system_error, "coding-system-error"); | 10477 | DEFSYM (Qcoding_system_error, "coding-system-error"); |
| 10478 | Fput (Qcoding_system_error, Qerror_conditions, | 10478 | Fput (Qcoding_system_error, Qerror_conditions, |
| 10479 | Fcons (Qcoding_system_error, Fcons (Qerror, Qnil))); | 10479 | pure_cons (Qcoding_system_error, pure_cons (Qerror, Qnil))); |
| 10480 | Fput (Qcoding_system_error, Qerror_message, | 10480 | Fput (Qcoding_system_error, Qerror_message, |
| 10481 | build_string ("Invalid coding system")); | 10481 | make_pure_c_string ("Invalid coding system")); |
| 10482 | 10482 | ||
| 10483 | /* Intern this now in case it isn't already done. | 10483 | /* Intern this now in case it isn't already done. |
| 10484 | Setting this variable twice is harmless. | 10484 | Setting this variable twice is harmless. |
| 10485 | But don't staticpro it here--that is done in alloc.c. */ | 10485 | But don't staticpro it here--that is done in alloc.c. */ |
| 10486 | Qchar_table_extra_slots = intern ("char-table-extra-slots"); | 10486 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); |
| 10487 | 10487 | ||
| 10488 | DEFSYM (Qtranslation_table, "translation-table"); | 10488 | DEFSYM (Qtranslation_table, "translation-table"); |
| 10489 | Fput (Qtranslation_table, Qchar_table_extra_slots, make_number (2)); | 10489 | Fput (Qtranslation_table, Qchar_table_extra_slots, make_number (2)); |
| @@ -10509,48 +10509,48 @@ syms_of_coding () | |||
| 10509 | staticpro (&Vcoding_category_table); | 10509 | staticpro (&Vcoding_category_table); |
| 10510 | /* Followings are target of code detection. */ | 10510 | /* Followings are target of code detection. */ |
| 10511 | ASET (Vcoding_category_table, coding_category_iso_7, | 10511 | ASET (Vcoding_category_table, coding_category_iso_7, |
| 10512 | intern ("coding-category-iso-7")); | 10512 | intern_c_string ("coding-category-iso-7")); |
| 10513 | ASET (Vcoding_category_table, coding_category_iso_7_tight, | 10513 | ASET (Vcoding_category_table, coding_category_iso_7_tight, |
| 10514 | intern ("coding-category-iso-7-tight")); | 10514 | intern_c_string ("coding-category-iso-7-tight")); |
| 10515 | ASET (Vcoding_category_table, coding_category_iso_8_1, | 10515 | ASET (Vcoding_category_table, coding_category_iso_8_1, |
| 10516 | intern ("coding-category-iso-8-1")); | 10516 | intern_c_string ("coding-category-iso-8-1")); |
| 10517 | ASET (Vcoding_category_table, coding_category_iso_8_2, | 10517 | ASET (Vcoding_category_table, coding_category_iso_8_2, |
| 10518 | intern ("coding-category-iso-8-2")); | 10518 | intern_c_string ("coding-category-iso-8-2")); |
| 10519 | ASET (Vcoding_category_table, coding_category_iso_7_else, | 10519 | ASET (Vcoding_category_table, coding_category_iso_7_else, |
| 10520 | intern ("coding-category-iso-7-else")); | 10520 | intern_c_string ("coding-category-iso-7-else")); |
| 10521 | ASET (Vcoding_category_table, coding_category_iso_8_else, | 10521 | ASET (Vcoding_category_table, coding_category_iso_8_else, |
| 10522 | intern ("coding-category-iso-8-else")); | 10522 | intern_c_string ("coding-category-iso-8-else")); |
| 10523 | ASET (Vcoding_category_table, coding_category_utf_8_auto, | 10523 | ASET (Vcoding_category_table, coding_category_utf_8_auto, |
| 10524 | intern ("coding-category-utf-8-auto")); | 10524 | intern_c_string ("coding-category-utf-8-auto")); |
| 10525 | ASET (Vcoding_category_table, coding_category_utf_8_nosig, | 10525 | ASET (Vcoding_category_table, coding_category_utf_8_nosig, |
| 10526 | intern ("coding-category-utf-8")); | 10526 | intern_c_string ("coding-category-utf-8")); |
| 10527 | ASET (Vcoding_category_table, coding_category_utf_8_sig, | 10527 | ASET (Vcoding_category_table, coding_category_utf_8_sig, |
| 10528 | intern ("coding-category-utf-8-sig")); | 10528 | intern_c_string ("coding-category-utf-8-sig")); |
| 10529 | ASET (Vcoding_category_table, coding_category_utf_16_be, | 10529 | ASET (Vcoding_category_table, coding_category_utf_16_be, |
| 10530 | intern ("coding-category-utf-16-be")); | 10530 | intern_c_string ("coding-category-utf-16-be")); |
| 10531 | ASET (Vcoding_category_table, coding_category_utf_16_auto, | 10531 | ASET (Vcoding_category_table, coding_category_utf_16_auto, |
| 10532 | intern ("coding-category-utf-16-auto")); | 10532 | intern_c_string ("coding-category-utf-16-auto")); |
| 10533 | ASET (Vcoding_category_table, coding_category_utf_16_le, | 10533 | ASET (Vcoding_category_table, coding_category_utf_16_le, |
| 10534 | intern ("coding-category-utf-16-le")); | 10534 | intern_c_string ("coding-category-utf-16-le")); |
| 10535 | ASET (Vcoding_category_table, coding_category_utf_16_be_nosig, | 10535 | ASET (Vcoding_category_table, coding_category_utf_16_be_nosig, |
| 10536 | intern ("coding-category-utf-16-be-nosig")); | 10536 | intern_c_string ("coding-category-utf-16-be-nosig")); |
| 10537 | ASET (Vcoding_category_table, coding_category_utf_16_le_nosig, | 10537 | ASET (Vcoding_category_table, coding_category_utf_16_le_nosig, |
| 10538 | intern ("coding-category-utf-16-le-nosig")); | 10538 | intern_c_string ("coding-category-utf-16-le-nosig")); |
| 10539 | ASET (Vcoding_category_table, coding_category_charset, | 10539 | ASET (Vcoding_category_table, coding_category_charset, |
| 10540 | intern ("coding-category-charset")); | 10540 | intern_c_string ("coding-category-charset")); |
| 10541 | ASET (Vcoding_category_table, coding_category_sjis, | 10541 | ASET (Vcoding_category_table, coding_category_sjis, |
| 10542 | intern ("coding-category-sjis")); | 10542 | intern_c_string ("coding-category-sjis")); |
| 10543 | ASET (Vcoding_category_table, coding_category_big5, | 10543 | ASET (Vcoding_category_table, coding_category_big5, |
| 10544 | intern ("coding-category-big5")); | 10544 | intern_c_string ("coding-category-big5")); |
| 10545 | ASET (Vcoding_category_table, coding_category_ccl, | 10545 | ASET (Vcoding_category_table, coding_category_ccl, |
| 10546 | intern ("coding-category-ccl")); | 10546 | intern_c_string ("coding-category-ccl")); |
| 10547 | ASET (Vcoding_category_table, coding_category_emacs_mule, | 10547 | ASET (Vcoding_category_table, coding_category_emacs_mule, |
| 10548 | intern ("coding-category-emacs-mule")); | 10548 | intern_c_string ("coding-category-emacs-mule")); |
| 10549 | /* Followings are NOT target of code detection. */ | 10549 | /* Followings are NOT target of code detection. */ |
| 10550 | ASET (Vcoding_category_table, coding_category_raw_text, | 10550 | ASET (Vcoding_category_table, coding_category_raw_text, |
| 10551 | intern ("coding-category-raw-text")); | 10551 | intern_c_string ("coding-category-raw-text")); |
| 10552 | ASET (Vcoding_category_table, coding_category_undecided, | 10552 | ASET (Vcoding_category_table, coding_category_undecided, |
| 10553 | intern ("coding-category-undecided")); | 10553 | intern_c_string ("coding-category-undecided")); |
| 10554 | 10554 | ||
| 10555 | DEFSYM (Qinsufficient_source, "insufficient-source"); | 10555 | DEFSYM (Qinsufficient_source, "insufficient-source"); |
| 10556 | DEFSYM (Qinconsistent_eol, "inconsistent-eol"); | 10556 | DEFSYM (Qinconsistent_eol, "inconsistent-eol"); |
| @@ -10751,22 +10751,22 @@ Also used for decoding keyboard input on X Window system. */); | |||
| 10751 | DEFVAR_LISP ("eol-mnemonic-unix", &eol_mnemonic_unix, | 10751 | DEFVAR_LISP ("eol-mnemonic-unix", &eol_mnemonic_unix, |
| 10752 | doc: /* | 10752 | doc: /* |
| 10753 | *String displayed in mode line for UNIX-like (LF) end-of-line format. */); | 10753 | *String displayed in mode line for UNIX-like (LF) end-of-line format. */); |
| 10754 | eol_mnemonic_unix = build_string (":"); | 10754 | eol_mnemonic_unix = make_pure_c_string (":"); |
| 10755 | 10755 | ||
| 10756 | DEFVAR_LISP ("eol-mnemonic-dos", &eol_mnemonic_dos, | 10756 | DEFVAR_LISP ("eol-mnemonic-dos", &eol_mnemonic_dos, |
| 10757 | doc: /* | 10757 | doc: /* |
| 10758 | *String displayed in mode line for DOS-like (CRLF) end-of-line format. */); | 10758 | *String displayed in mode line for DOS-like (CRLF) end-of-line format. */); |
| 10759 | eol_mnemonic_dos = build_string ("\\"); | 10759 | eol_mnemonic_dos = make_pure_c_string ("\\"); |
| 10760 | 10760 | ||
| 10761 | DEFVAR_LISP ("eol-mnemonic-mac", &eol_mnemonic_mac, | 10761 | DEFVAR_LISP ("eol-mnemonic-mac", &eol_mnemonic_mac, |
| 10762 | doc: /* | 10762 | doc: /* |
| 10763 | *String displayed in mode line for MAC-like (CR) end-of-line format. */); | 10763 | *String displayed in mode line for MAC-like (CR) end-of-line format. */); |
| 10764 | eol_mnemonic_mac = build_string ("/"); | 10764 | eol_mnemonic_mac = make_pure_c_string ("/"); |
| 10765 | 10765 | ||
| 10766 | DEFVAR_LISP ("eol-mnemonic-undecided", &eol_mnemonic_undecided, | 10766 | DEFVAR_LISP ("eol-mnemonic-undecided", &eol_mnemonic_undecided, |
| 10767 | doc: /* | 10767 | doc: /* |
| 10768 | *String displayed in mode line when end-of-line format is not yet determined. */); | 10768 | *String displayed in mode line when end-of-line format is not yet determined. */); |
| 10769 | eol_mnemonic_undecided = build_string (":"); | 10769 | eol_mnemonic_undecided = make_pure_c_string (":"); |
| 10770 | 10770 | ||
| 10771 | DEFVAR_LISP ("enable-character-translation", &Venable_character_translation, | 10771 | DEFVAR_LISP ("enable-character-translation", &Venable_character_translation, |
| 10772 | doc: /* | 10772 | doc: /* |
| @@ -10891,25 +10891,25 @@ internal character representation. */); | |||
| 10891 | for (i = 0; i < coding_arg_max; i++) | 10891 | for (i = 0; i < coding_arg_max; i++) |
| 10892 | args[i] = Qnil; | 10892 | args[i] = Qnil; |
| 10893 | 10893 | ||
| 10894 | plist[0] = intern (":name"); | 10894 | plist[0] = intern_c_string (":name"); |
| 10895 | plist[1] = args[coding_arg_name] = Qno_conversion; | 10895 | plist[1] = args[coding_arg_name] = Qno_conversion; |
| 10896 | plist[2] = intern (":mnemonic"); | 10896 | plist[2] = intern_c_string (":mnemonic"); |
| 10897 | plist[3] = args[coding_arg_mnemonic] = make_number ('='); | 10897 | plist[3] = args[coding_arg_mnemonic] = make_number ('='); |
| 10898 | plist[4] = intern (":coding-type"); | 10898 | plist[4] = intern_c_string (":coding-type"); |
| 10899 | plist[5] = args[coding_arg_coding_type] = Qraw_text; | 10899 | plist[5] = args[coding_arg_coding_type] = Qraw_text; |
| 10900 | plist[6] = intern (":ascii-compatible-p"); | 10900 | plist[6] = intern_c_string (":ascii-compatible-p"); |
| 10901 | plist[7] = args[coding_arg_ascii_compatible_p] = Qt; | 10901 | plist[7] = args[coding_arg_ascii_compatible_p] = Qt; |
| 10902 | plist[8] = intern (":default-char"); | 10902 | plist[8] = intern_c_string (":default-char"); |
| 10903 | plist[9] = args[coding_arg_default_char] = make_number (0); | 10903 | plist[9] = args[coding_arg_default_char] = make_number (0); |
| 10904 | plist[10] = intern (":for-unibyte"); | 10904 | plist[10] = intern_c_string (":for-unibyte"); |
| 10905 | plist[11] = args[coding_arg_for_unibyte] = Qt; | 10905 | plist[11] = args[coding_arg_for_unibyte] = Qt; |
| 10906 | plist[12] = intern (":docstring"); | 10906 | plist[12] = intern_c_string (":docstring"); |
| 10907 | plist[13] = build_string ("Do no conversion.\n\ | 10907 | plist[13] = make_pure_c_string ("Do no conversion.\n\ |
| 10908 | \n\ | 10908 | \n\ |
| 10909 | When you visit a file with this coding, the file is read into a\n\ | 10909 | When you visit a file with this coding, the file is read into a\n\ |
| 10910 | unibyte buffer as is, thus each byte of a file is treated as a\n\ | 10910 | unibyte buffer as is, thus each byte of a file is treated as a\n\ |
| 10911 | character."); | 10911 | character."); |
| 10912 | plist[14] = intern (":eol-type"); | 10912 | plist[14] = intern_c_string (":eol-type"); |
| 10913 | plist[15] = args[coding_arg_eol_type] = Qunix; | 10913 | plist[15] = args[coding_arg_eol_type] = Qunix; |
| 10914 | args[coding_arg_plist] = Flist (16, plist); | 10914 | args[coding_arg_plist] = Flist (16, plist); |
| 10915 | Fdefine_coding_system_internal (coding_arg_max, args); | 10915 | Fdefine_coding_system_internal (coding_arg_max, args); |
| @@ -10919,10 +10919,10 @@ character."); | |||
| 10919 | plist[5] = args[coding_arg_coding_type] = Qundecided; | 10919 | plist[5] = args[coding_arg_coding_type] = Qundecided; |
| 10920 | /* This is already set. | 10920 | /* This is already set. |
| 10921 | plist[7] = args[coding_arg_ascii_compatible_p] = Qt; */ | 10921 | plist[7] = args[coding_arg_ascii_compatible_p] = Qt; */ |
| 10922 | plist[8] = intern (":charset-list"); | 10922 | plist[8] = intern_c_string (":charset-list"); |
| 10923 | plist[9] = args[coding_arg_charset_list] = Fcons (Qascii, Qnil); | 10923 | plist[9] = args[coding_arg_charset_list] = Fcons (Qascii, Qnil); |
| 10924 | plist[11] = args[coding_arg_for_unibyte] = Qnil; | 10924 | plist[11] = args[coding_arg_for_unibyte] = Qnil; |
| 10925 | plist[13] = build_string ("No conversion on encoding, automatic conversion on decoding."); | 10925 | plist[13] = make_pure_c_string ("No conversion on encoding, automatic conversion on decoding."); |
| 10926 | plist[15] = args[coding_arg_eol_type] = Qnil; | 10926 | plist[15] = args[coding_arg_eol_type] = Qnil; |
| 10927 | args[coding_arg_plist] = Flist (16, plist); | 10927 | args[coding_arg_plist] = Flist (16, plist); |
| 10928 | Fdefine_coding_system_internal (coding_arg_max, args); | 10928 | Fdefine_coding_system_internal (coding_arg_max, args); |
diff --git a/src/composite.c b/src/composite.c index a654b5e8088..f7bfc28973a 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -1711,7 +1711,7 @@ syms_of_composite () | |||
| 1711 | { | 1711 | { |
| 1712 | int i; | 1712 | int i; |
| 1713 | 1713 | ||
| 1714 | Qcomposition = intern ("composition"); | 1714 | Qcomposition = intern_c_string ("composition"); |
| 1715 | staticpro (&Qcomposition); | 1715 | staticpro (&Qcomposition); |
| 1716 | 1716 | ||
| 1717 | /* Make a hash table for static composition. */ | 1717 | /* Make a hash table for static composition. */ |
| @@ -1772,12 +1772,12 @@ inserted or deleted to keep `composition' property of buffer text | |||
| 1772 | valid. | 1772 | valid. |
| 1773 | 1773 | ||
| 1774 | The default value is the function `compose-chars-after'. */); | 1774 | The default value is the function `compose-chars-after'. */); |
| 1775 | Vcompose_chars_after_function = intern ("compose-chars-after"); | 1775 | Vcompose_chars_after_function = intern_c_string ("compose-chars-after"); |
| 1776 | 1776 | ||
| 1777 | Qauto_composed = intern ("auto-composed"); | 1777 | Qauto_composed = intern_c_string ("auto-composed"); |
| 1778 | staticpro (&Qauto_composed); | 1778 | staticpro (&Qauto_composed); |
| 1779 | 1779 | ||
| 1780 | Qauto_composition_function = intern ("auto-composition-function"); | 1780 | Qauto_composition_function = intern_c_string ("auto-composition-function"); |
| 1781 | staticpro (&Qauto_composition_function); | 1781 | staticpro (&Qauto_composition_function); |
| 1782 | 1782 | ||
| 1783 | DEFVAR_LISP ("auto-composition-function", &Vauto_composition_function, | 1783 | DEFVAR_LISP ("auto-composition-function", &Vauto_composition_function, |
diff --git a/src/data.c b/src/data.c index 6d469e161db..fc50658dd7c 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -2860,208 +2860,208 @@ syms_of_data () | |||
| 2860 | { | 2860 | { |
| 2861 | Lisp_Object error_tail, arith_tail; | 2861 | Lisp_Object error_tail, arith_tail; |
| 2862 | 2862 | ||
| 2863 | Qquote = intern ("quote"); | 2863 | Qquote = intern_c_string ("quote"); |
| 2864 | Qlambda = intern ("lambda"); | 2864 | Qlambda = intern_c_string ("lambda"); |
| 2865 | Qsubr = intern ("subr"); | 2865 | Qsubr = intern_c_string ("subr"); |
| 2866 | Qerror_conditions = intern ("error-conditions"); | 2866 | Qerror_conditions = intern_c_string ("error-conditions"); |
| 2867 | Qerror_message = intern ("error-message"); | 2867 | Qerror_message = intern_c_string ("error-message"); |
| 2868 | Qtop_level = intern ("top-level"); | 2868 | Qtop_level = intern_c_string ("top-level"); |
| 2869 | 2869 | ||
| 2870 | Qerror = intern ("error"); | 2870 | Qerror = intern_c_string ("error"); |
| 2871 | Qquit = intern ("quit"); | 2871 | Qquit = intern_c_string ("quit"); |
| 2872 | Qwrong_type_argument = intern ("wrong-type-argument"); | 2872 | Qwrong_type_argument = intern_c_string ("wrong-type-argument"); |
| 2873 | Qargs_out_of_range = intern ("args-out-of-range"); | 2873 | Qargs_out_of_range = intern_c_string ("args-out-of-range"); |
| 2874 | Qvoid_function = intern ("void-function"); | 2874 | Qvoid_function = intern_c_string ("void-function"); |
| 2875 | Qcyclic_function_indirection = intern ("cyclic-function-indirection"); | 2875 | Qcyclic_function_indirection = intern_c_string ("cyclic-function-indirection"); |
| 2876 | Qcyclic_variable_indirection = intern ("cyclic-variable-indirection"); | 2876 | Qcyclic_variable_indirection = intern_c_string ("cyclic-variable-indirection"); |
| 2877 | Qvoid_variable = intern ("void-variable"); | 2877 | Qvoid_variable = intern_c_string ("void-variable"); |
| 2878 | Qsetting_constant = intern ("setting-constant"); | 2878 | Qsetting_constant = intern_c_string ("setting-constant"); |
| 2879 | Qinvalid_read_syntax = intern ("invalid-read-syntax"); | 2879 | Qinvalid_read_syntax = intern_c_string ("invalid-read-syntax"); |
| 2880 | 2880 | ||
| 2881 | Qinvalid_function = intern ("invalid-function"); | 2881 | Qinvalid_function = intern_c_string ("invalid-function"); |
| 2882 | Qwrong_number_of_arguments = intern ("wrong-number-of-arguments"); | 2882 | Qwrong_number_of_arguments = intern_c_string ("wrong-number-of-arguments"); |
| 2883 | Qno_catch = intern ("no-catch"); | 2883 | Qno_catch = intern_c_string ("no-catch"); |
| 2884 | Qend_of_file = intern ("end-of-file"); | 2884 | Qend_of_file = intern_c_string ("end-of-file"); |
| 2885 | Qarith_error = intern ("arith-error"); | 2885 | Qarith_error = intern_c_string ("arith-error"); |
| 2886 | Qbeginning_of_buffer = intern ("beginning-of-buffer"); | 2886 | Qbeginning_of_buffer = intern_c_string ("beginning-of-buffer"); |
| 2887 | Qend_of_buffer = intern ("end-of-buffer"); | 2887 | Qend_of_buffer = intern_c_string ("end-of-buffer"); |
| 2888 | Qbuffer_read_only = intern ("buffer-read-only"); | 2888 | Qbuffer_read_only = intern_c_string ("buffer-read-only"); |
| 2889 | Qtext_read_only = intern ("text-read-only"); | 2889 | Qtext_read_only = intern_c_string ("text-read-only"); |
| 2890 | Qmark_inactive = intern ("mark-inactive"); | 2890 | Qmark_inactive = intern_c_string ("mark-inactive"); |
| 2891 | 2891 | ||
| 2892 | Qlistp = intern ("listp"); | 2892 | Qlistp = intern_c_string ("listp"); |
| 2893 | Qconsp = intern ("consp"); | 2893 | Qconsp = intern_c_string ("consp"); |
| 2894 | Qsymbolp = intern ("symbolp"); | 2894 | Qsymbolp = intern_c_string ("symbolp"); |
| 2895 | Qkeywordp = intern ("keywordp"); | 2895 | Qkeywordp = intern_c_string ("keywordp"); |
| 2896 | Qintegerp = intern ("integerp"); | 2896 | Qintegerp = intern_c_string ("integerp"); |
| 2897 | Qnatnump = intern ("natnump"); | 2897 | Qnatnump = intern_c_string ("natnump"); |
| 2898 | Qwholenump = intern ("wholenump"); | 2898 | Qwholenump = intern_c_string ("wholenump"); |
| 2899 | Qstringp = intern ("stringp"); | 2899 | Qstringp = intern_c_string ("stringp"); |
| 2900 | Qarrayp = intern ("arrayp"); | 2900 | Qarrayp = intern_c_string ("arrayp"); |
| 2901 | Qsequencep = intern ("sequencep"); | 2901 | Qsequencep = intern_c_string ("sequencep"); |
| 2902 | Qbufferp = intern ("bufferp"); | 2902 | Qbufferp = intern_c_string ("bufferp"); |
| 2903 | Qvectorp = intern ("vectorp"); | 2903 | Qvectorp = intern_c_string ("vectorp"); |
| 2904 | Qchar_or_string_p = intern ("char-or-string-p"); | 2904 | Qchar_or_string_p = intern_c_string ("char-or-string-p"); |
| 2905 | Qmarkerp = intern ("markerp"); | 2905 | Qmarkerp = intern_c_string ("markerp"); |
| 2906 | Qbuffer_or_string_p = intern ("buffer-or-string-p"); | 2906 | Qbuffer_or_string_p = intern_c_string ("buffer-or-string-p"); |
| 2907 | Qinteger_or_marker_p = intern ("integer-or-marker-p"); | 2907 | Qinteger_or_marker_p = intern_c_string ("integer-or-marker-p"); |
| 2908 | Qboundp = intern ("boundp"); | 2908 | Qboundp = intern_c_string ("boundp"); |
| 2909 | Qfboundp = intern ("fboundp"); | 2909 | Qfboundp = intern_c_string ("fboundp"); |
| 2910 | 2910 | ||
| 2911 | Qfloatp = intern ("floatp"); | 2911 | Qfloatp = intern_c_string ("floatp"); |
| 2912 | Qnumberp = intern ("numberp"); | 2912 | Qnumberp = intern_c_string ("numberp"); |
| 2913 | Qnumber_or_marker_p = intern ("number-or-marker-p"); | 2913 | Qnumber_or_marker_p = intern_c_string ("number-or-marker-p"); |
| 2914 | 2914 | ||
| 2915 | Qchar_table_p = intern ("char-table-p"); | 2915 | Qchar_table_p = intern_c_string ("char-table-p"); |
| 2916 | Qvector_or_char_table_p = intern ("vector-or-char-table-p"); | 2916 | Qvector_or_char_table_p = intern_c_string ("vector-or-char-table-p"); |
| 2917 | 2917 | ||
| 2918 | Qsubrp = intern ("subrp"); | 2918 | Qsubrp = intern_c_string ("subrp"); |
| 2919 | Qunevalled = intern ("unevalled"); | 2919 | Qunevalled = intern_c_string ("unevalled"); |
| 2920 | Qmany = intern ("many"); | 2920 | Qmany = intern_c_string ("many"); |
| 2921 | 2921 | ||
| 2922 | Qcdr = intern ("cdr"); | 2922 | Qcdr = intern_c_string ("cdr"); |
| 2923 | 2923 | ||
| 2924 | /* Handle automatic advice activation */ | 2924 | /* Handle automatic advice activation */ |
| 2925 | Qad_advice_info = intern ("ad-advice-info"); | 2925 | Qad_advice_info = intern_c_string ("ad-advice-info"); |
| 2926 | Qad_activate_internal = intern ("ad-activate-internal"); | 2926 | Qad_activate_internal = intern_c_string ("ad-activate-internal"); |
| 2927 | 2927 | ||
| 2928 | error_tail = Fcons (Qerror, Qnil); | 2928 | error_tail = pure_cons (Qerror, Qnil); |
| 2929 | 2929 | ||
| 2930 | /* ERROR is used as a signaler for random errors for which nothing else is right */ | 2930 | /* ERROR is used as a signaler for random errors for which nothing else is right */ |
| 2931 | 2931 | ||
| 2932 | Fput (Qerror, Qerror_conditions, | 2932 | Fput (Qerror, Qerror_conditions, |
| 2933 | error_tail); | 2933 | error_tail); |
| 2934 | Fput (Qerror, Qerror_message, | 2934 | Fput (Qerror, Qerror_message, |
| 2935 | build_string ("error")); | 2935 | make_pure_c_string ("error")); |
| 2936 | 2936 | ||
| 2937 | Fput (Qquit, Qerror_conditions, | 2937 | Fput (Qquit, Qerror_conditions, |
| 2938 | Fcons (Qquit, Qnil)); | 2938 | pure_cons (Qquit, Qnil)); |
| 2939 | Fput (Qquit, Qerror_message, | 2939 | Fput (Qquit, Qerror_message, |
| 2940 | build_string ("Quit")); | 2940 | make_pure_c_string ("Quit")); |
| 2941 | 2941 | ||
| 2942 | Fput (Qwrong_type_argument, Qerror_conditions, | 2942 | Fput (Qwrong_type_argument, Qerror_conditions, |
| 2943 | Fcons (Qwrong_type_argument, error_tail)); | 2943 | pure_cons (Qwrong_type_argument, error_tail)); |
| 2944 | Fput (Qwrong_type_argument, Qerror_message, | 2944 | Fput (Qwrong_type_argument, Qerror_message, |
| 2945 | build_string ("Wrong type argument")); | 2945 | make_pure_c_string ("Wrong type argument")); |
| 2946 | 2946 | ||
| 2947 | Fput (Qargs_out_of_range, Qerror_conditions, | 2947 | Fput (Qargs_out_of_range, Qerror_conditions, |
| 2948 | Fcons (Qargs_out_of_range, error_tail)); | 2948 | pure_cons (Qargs_out_of_range, error_tail)); |
| 2949 | Fput (Qargs_out_of_range, Qerror_message, | 2949 | Fput (Qargs_out_of_range, Qerror_message, |
| 2950 | build_string ("Args out of range")); | 2950 | make_pure_c_string ("Args out of range")); |
| 2951 | 2951 | ||
| 2952 | Fput (Qvoid_function, Qerror_conditions, | 2952 | Fput (Qvoid_function, Qerror_conditions, |
| 2953 | Fcons (Qvoid_function, error_tail)); | 2953 | pure_cons (Qvoid_function, error_tail)); |
| 2954 | Fput (Qvoid_function, Qerror_message, | 2954 | Fput (Qvoid_function, Qerror_message, |
| 2955 | build_string ("Symbol's function definition is void")); | 2955 | make_pure_c_string ("Symbol's function definition is void")); |
| 2956 | 2956 | ||
| 2957 | Fput (Qcyclic_function_indirection, Qerror_conditions, | 2957 | Fput (Qcyclic_function_indirection, Qerror_conditions, |
| 2958 | Fcons (Qcyclic_function_indirection, error_tail)); | 2958 | pure_cons (Qcyclic_function_indirection, error_tail)); |
| 2959 | Fput (Qcyclic_function_indirection, Qerror_message, | 2959 | Fput (Qcyclic_function_indirection, Qerror_message, |
| 2960 | build_string ("Symbol's chain of function indirections contains a loop")); | 2960 | make_pure_c_string ("Symbol's chain of function indirections contains a loop")); |
| 2961 | 2961 | ||
| 2962 | Fput (Qcyclic_variable_indirection, Qerror_conditions, | 2962 | Fput (Qcyclic_variable_indirection, Qerror_conditions, |
| 2963 | Fcons (Qcyclic_variable_indirection, error_tail)); | 2963 | pure_cons (Qcyclic_variable_indirection, error_tail)); |
| 2964 | Fput (Qcyclic_variable_indirection, Qerror_message, | 2964 | Fput (Qcyclic_variable_indirection, Qerror_message, |
| 2965 | build_string ("Symbol's chain of variable indirections contains a loop")); | 2965 | make_pure_c_string ("Symbol's chain of variable indirections contains a loop")); |
| 2966 | 2966 | ||
| 2967 | Qcircular_list = intern ("circular-list"); | 2967 | Qcircular_list = intern_c_string ("circular-list"); |
| 2968 | staticpro (&Qcircular_list); | 2968 | staticpro (&Qcircular_list); |
| 2969 | Fput (Qcircular_list, Qerror_conditions, | 2969 | Fput (Qcircular_list, Qerror_conditions, |
| 2970 | Fcons (Qcircular_list, error_tail)); | 2970 | pure_cons (Qcircular_list, error_tail)); |
| 2971 | Fput (Qcircular_list, Qerror_message, | 2971 | Fput (Qcircular_list, Qerror_message, |
| 2972 | build_string ("List contains a loop")); | 2972 | make_pure_c_string ("List contains a loop")); |
| 2973 | 2973 | ||
| 2974 | Fput (Qvoid_variable, Qerror_conditions, | 2974 | Fput (Qvoid_variable, Qerror_conditions, |
| 2975 | Fcons (Qvoid_variable, error_tail)); | 2975 | pure_cons (Qvoid_variable, error_tail)); |
| 2976 | Fput (Qvoid_variable, Qerror_message, | 2976 | Fput (Qvoid_variable, Qerror_message, |
| 2977 | build_string ("Symbol's value as variable is void")); | 2977 | make_pure_c_string ("Symbol's value as variable is void")); |
| 2978 | 2978 | ||
| 2979 | Fput (Qsetting_constant, Qerror_conditions, | 2979 | Fput (Qsetting_constant, Qerror_conditions, |
| 2980 | Fcons (Qsetting_constant, error_tail)); | 2980 | pure_cons (Qsetting_constant, error_tail)); |
| 2981 | Fput (Qsetting_constant, Qerror_message, | 2981 | Fput (Qsetting_constant, Qerror_message, |
| 2982 | build_string ("Attempt to set a constant symbol")); | 2982 | make_pure_c_string ("Attempt to set a constant symbol")); |
| 2983 | 2983 | ||
| 2984 | Fput (Qinvalid_read_syntax, Qerror_conditions, | 2984 | Fput (Qinvalid_read_syntax, Qerror_conditions, |
| 2985 | Fcons (Qinvalid_read_syntax, error_tail)); | 2985 | pure_cons (Qinvalid_read_syntax, error_tail)); |
| 2986 | Fput (Qinvalid_read_syntax, Qerror_message, | 2986 | Fput (Qinvalid_read_syntax, Qerror_message, |
| 2987 | build_string ("Invalid read syntax")); | 2987 | make_pure_c_string ("Invalid read syntax")); |
| 2988 | 2988 | ||
| 2989 | Fput (Qinvalid_function, Qerror_conditions, | 2989 | Fput (Qinvalid_function, Qerror_conditions, |
| 2990 | Fcons (Qinvalid_function, error_tail)); | 2990 | pure_cons (Qinvalid_function, error_tail)); |
| 2991 | Fput (Qinvalid_function, Qerror_message, | 2991 | Fput (Qinvalid_function, Qerror_message, |
| 2992 | build_string ("Invalid function")); | 2992 | make_pure_c_string ("Invalid function")); |
| 2993 | 2993 | ||
| 2994 | Fput (Qwrong_number_of_arguments, Qerror_conditions, | 2994 | Fput (Qwrong_number_of_arguments, Qerror_conditions, |
| 2995 | Fcons (Qwrong_number_of_arguments, error_tail)); | 2995 | pure_cons (Qwrong_number_of_arguments, error_tail)); |
| 2996 | Fput (Qwrong_number_of_arguments, Qerror_message, | 2996 | Fput (Qwrong_number_of_arguments, Qerror_message, |
| 2997 | build_string ("Wrong number of arguments")); | 2997 | make_pure_c_string ("Wrong number of arguments")); |
| 2998 | 2998 | ||
| 2999 | Fput (Qno_catch, Qerror_conditions, | 2999 | Fput (Qno_catch, Qerror_conditions, |
| 3000 | Fcons (Qno_catch, error_tail)); | 3000 | pure_cons (Qno_catch, error_tail)); |
| 3001 | Fput (Qno_catch, Qerror_message, | 3001 | Fput (Qno_catch, Qerror_message, |
| 3002 | build_string ("No catch for tag")); | 3002 | make_pure_c_string ("No catch for tag")); |
| 3003 | 3003 | ||
| 3004 | Fput (Qend_of_file, Qerror_conditions, | 3004 | Fput (Qend_of_file, Qerror_conditions, |
| 3005 | Fcons (Qend_of_file, error_tail)); | 3005 | pure_cons (Qend_of_file, error_tail)); |
| 3006 | Fput (Qend_of_file, Qerror_message, | 3006 | Fput (Qend_of_file, Qerror_message, |
| 3007 | build_string ("End of file during parsing")); | 3007 | make_pure_c_string ("End of file during parsing")); |
| 3008 | 3008 | ||
| 3009 | arith_tail = Fcons (Qarith_error, error_tail); | 3009 | arith_tail = pure_cons (Qarith_error, error_tail); |
| 3010 | Fput (Qarith_error, Qerror_conditions, | 3010 | Fput (Qarith_error, Qerror_conditions, |
| 3011 | arith_tail); | 3011 | arith_tail); |
| 3012 | Fput (Qarith_error, Qerror_message, | 3012 | Fput (Qarith_error, Qerror_message, |
| 3013 | build_string ("Arithmetic error")); | 3013 | make_pure_c_string ("Arithmetic error")); |
| 3014 | 3014 | ||
| 3015 | Fput (Qbeginning_of_buffer, Qerror_conditions, | 3015 | Fput (Qbeginning_of_buffer, Qerror_conditions, |
| 3016 | Fcons (Qbeginning_of_buffer, error_tail)); | 3016 | pure_cons (Qbeginning_of_buffer, error_tail)); |
| 3017 | Fput (Qbeginning_of_buffer, Qerror_message, | 3017 | Fput (Qbeginning_of_buffer, Qerror_message, |
| 3018 | build_string ("Beginning of buffer")); | 3018 | make_pure_c_string ("Beginning of buffer")); |
| 3019 | 3019 | ||
| 3020 | Fput (Qend_of_buffer, Qerror_conditions, | 3020 | Fput (Qend_of_buffer, Qerror_conditions, |
| 3021 | Fcons (Qend_of_buffer, error_tail)); | 3021 | pure_cons (Qend_of_buffer, error_tail)); |
| 3022 | Fput (Qend_of_buffer, Qerror_message, | 3022 | Fput (Qend_of_buffer, Qerror_message, |
| 3023 | build_string ("End of buffer")); | 3023 | make_pure_c_string ("End of buffer")); |
| 3024 | 3024 | ||
| 3025 | Fput (Qbuffer_read_only, Qerror_conditions, | 3025 | Fput (Qbuffer_read_only, Qerror_conditions, |
| 3026 | Fcons (Qbuffer_read_only, error_tail)); | 3026 | pure_cons (Qbuffer_read_only, error_tail)); |
| 3027 | Fput (Qbuffer_read_only, Qerror_message, | 3027 | Fput (Qbuffer_read_only, Qerror_message, |
| 3028 | build_string ("Buffer is read-only")); | 3028 | make_pure_c_string ("Buffer is read-only")); |
| 3029 | 3029 | ||
| 3030 | Fput (Qtext_read_only, Qerror_conditions, | 3030 | Fput (Qtext_read_only, Qerror_conditions, |
| 3031 | Fcons (Qtext_read_only, error_tail)); | 3031 | pure_cons (Qtext_read_only, error_tail)); |
| 3032 | Fput (Qtext_read_only, Qerror_message, | 3032 | Fput (Qtext_read_only, Qerror_message, |
| 3033 | build_string ("Text is read-only")); | 3033 | make_pure_c_string ("Text is read-only")); |
| 3034 | 3034 | ||
| 3035 | Qrange_error = intern ("range-error"); | 3035 | Qrange_error = intern_c_string ("range-error"); |
| 3036 | Qdomain_error = intern ("domain-error"); | 3036 | Qdomain_error = intern_c_string ("domain-error"); |
| 3037 | Qsingularity_error = intern ("singularity-error"); | 3037 | Qsingularity_error = intern_c_string ("singularity-error"); |
| 3038 | Qoverflow_error = intern ("overflow-error"); | 3038 | Qoverflow_error = intern_c_string ("overflow-error"); |
| 3039 | Qunderflow_error = intern ("underflow-error"); | 3039 | Qunderflow_error = intern_c_string ("underflow-error"); |
| 3040 | 3040 | ||
| 3041 | Fput (Qdomain_error, Qerror_conditions, | 3041 | Fput (Qdomain_error, Qerror_conditions, |
| 3042 | Fcons (Qdomain_error, arith_tail)); | 3042 | pure_cons (Qdomain_error, arith_tail)); |
| 3043 | Fput (Qdomain_error, Qerror_message, | 3043 | Fput (Qdomain_error, Qerror_message, |
| 3044 | build_string ("Arithmetic domain error")); | 3044 | make_pure_c_string ("Arithmetic domain error")); |
| 3045 | 3045 | ||
| 3046 | Fput (Qrange_error, Qerror_conditions, | 3046 | Fput (Qrange_error, Qerror_conditions, |
| 3047 | Fcons (Qrange_error, arith_tail)); | 3047 | pure_cons (Qrange_error, arith_tail)); |
| 3048 | Fput (Qrange_error, Qerror_message, | 3048 | Fput (Qrange_error, Qerror_message, |
| 3049 | build_string ("Arithmetic range error")); | 3049 | make_pure_c_string ("Arithmetic range error")); |
| 3050 | 3050 | ||
| 3051 | Fput (Qsingularity_error, Qerror_conditions, | 3051 | Fput (Qsingularity_error, Qerror_conditions, |
| 3052 | Fcons (Qsingularity_error, Fcons (Qdomain_error, arith_tail))); | 3052 | pure_cons (Qsingularity_error, Fcons (Qdomain_error, arith_tail))); |
| 3053 | Fput (Qsingularity_error, Qerror_message, | 3053 | Fput (Qsingularity_error, Qerror_message, |
| 3054 | build_string ("Arithmetic singularity error")); | 3054 | make_pure_c_string ("Arithmetic singularity error")); |
| 3055 | 3055 | ||
| 3056 | Fput (Qoverflow_error, Qerror_conditions, | 3056 | Fput (Qoverflow_error, Qerror_conditions, |
| 3057 | Fcons (Qoverflow_error, Fcons (Qdomain_error, arith_tail))); | 3057 | pure_cons (Qoverflow_error, Fcons (Qdomain_error, arith_tail))); |
| 3058 | Fput (Qoverflow_error, Qerror_message, | 3058 | Fput (Qoverflow_error, Qerror_message, |
| 3059 | build_string ("Arithmetic overflow error")); | 3059 | make_pure_c_string ("Arithmetic overflow error")); |
| 3060 | 3060 | ||
| 3061 | Fput (Qunderflow_error, Qerror_conditions, | 3061 | Fput (Qunderflow_error, Qerror_conditions, |
| 3062 | Fcons (Qunderflow_error, Fcons (Qdomain_error, arith_tail))); | 3062 | pure_cons (Qunderflow_error, Fcons (Qdomain_error, arith_tail))); |
| 3063 | Fput (Qunderflow_error, Qerror_message, | 3063 | Fput (Qunderflow_error, Qerror_message, |
| 3064 | build_string ("Arithmetic underflow error")); | 3064 | make_pure_c_string ("Arithmetic underflow error")); |
| 3065 | 3065 | ||
| 3066 | staticpro (&Qrange_error); | 3066 | staticpro (&Qrange_error); |
| 3067 | staticpro (&Qdomain_error); | 3067 | staticpro (&Qdomain_error); |
| @@ -3132,24 +3132,24 @@ syms_of_data () | |||
| 3132 | staticpro (&Qad_activate_internal); | 3132 | staticpro (&Qad_activate_internal); |
| 3133 | 3133 | ||
| 3134 | /* Types that type-of returns. */ | 3134 | /* Types that type-of returns. */ |
| 3135 | Qinteger = intern ("integer"); | 3135 | Qinteger = intern_c_string ("integer"); |
| 3136 | Qsymbol = intern ("symbol"); | 3136 | Qsymbol = intern_c_string ("symbol"); |
| 3137 | Qstring = intern ("string"); | 3137 | Qstring = intern_c_string ("string"); |
| 3138 | Qcons = intern ("cons"); | 3138 | Qcons = intern_c_string ("cons"); |
| 3139 | Qmarker = intern ("marker"); | 3139 | Qmarker = intern_c_string ("marker"); |
| 3140 | Qoverlay = intern ("overlay"); | 3140 | Qoverlay = intern_c_string ("overlay"); |
| 3141 | Qfloat = intern ("float"); | 3141 | Qfloat = intern_c_string ("float"); |
| 3142 | Qwindow_configuration = intern ("window-configuration"); | 3142 | Qwindow_configuration = intern_c_string ("window-configuration"); |
| 3143 | Qprocess = intern ("process"); | 3143 | Qprocess = intern_c_string ("process"); |
| 3144 | Qwindow = intern ("window"); | 3144 | Qwindow = intern_c_string ("window"); |
| 3145 | /* Qsubr = intern ("subr"); */ | 3145 | /* Qsubr = intern_c_string ("subr"); */ |
| 3146 | Qcompiled_function = intern ("compiled-function"); | 3146 | Qcompiled_function = intern_c_string ("compiled-function"); |
| 3147 | Qbuffer = intern ("buffer"); | 3147 | Qbuffer = intern_c_string ("buffer"); |
| 3148 | Qframe = intern ("frame"); | 3148 | Qframe = intern_c_string ("frame"); |
| 3149 | Qvector = intern ("vector"); | 3149 | Qvector = intern_c_string ("vector"); |
| 3150 | Qchar_table = intern ("char-table"); | 3150 | Qchar_table = intern_c_string ("char-table"); |
| 3151 | Qbool_vector = intern ("bool-vector"); | 3151 | Qbool_vector = intern_c_string ("bool-vector"); |
| 3152 | Qhash_table = intern ("hash-table"); | 3152 | Qhash_table = intern_c_string ("hash-table"); |
| 3153 | 3153 | ||
| 3154 | DEFSYM (Qfont_spec, "font-spec"); | 3154 | DEFSYM (Qfont_spec, "font-spec"); |
| 3155 | DEFSYM (Qfont_entity, "font-entity"); | 3155 | DEFSYM (Qfont_entity, "font-entity"); |
| @@ -3276,12 +3276,12 @@ syms_of_data () | |||
| 3276 | DEFVAR_LISP ("most-positive-fixnum", &Vmost_positive_fixnum, | 3276 | DEFVAR_LISP ("most-positive-fixnum", &Vmost_positive_fixnum, |
| 3277 | doc: /* The largest value that is representable in a Lisp integer. */); | 3277 | doc: /* The largest value that is representable in a Lisp integer. */); |
| 3278 | Vmost_positive_fixnum = make_number (MOST_POSITIVE_FIXNUM); | 3278 | Vmost_positive_fixnum = make_number (MOST_POSITIVE_FIXNUM); |
| 3279 | XSYMBOL (intern ("most-positive-fixnum"))->constant = 1; | 3279 | XSYMBOL (intern_c_string ("most-positive-fixnum"))->constant = 1; |
| 3280 | 3280 | ||
| 3281 | DEFVAR_LISP ("most-negative-fixnum", &Vmost_negative_fixnum, | 3281 | DEFVAR_LISP ("most-negative-fixnum", &Vmost_negative_fixnum, |
| 3282 | doc: /* The smallest value that is representable in a Lisp integer. */); | 3282 | doc: /* The smallest value that is representable in a Lisp integer. */); |
| 3283 | Vmost_negative_fixnum = make_number (MOST_NEGATIVE_FIXNUM); | 3283 | Vmost_negative_fixnum = make_number (MOST_NEGATIVE_FIXNUM); |
| 3284 | XSYMBOL (intern ("most-negative-fixnum"))->constant = 1; | 3284 | XSYMBOL (intern_c_string ("most-negative-fixnum"))->constant = 1; |
| 3285 | } | 3285 | } |
| 3286 | 3286 | ||
| 3287 | SIGTYPE | 3287 | SIGTYPE |
diff --git a/src/dbusbind.c b/src/dbusbind.c index c2512e687c7..10ae8700cb0 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c | |||
| @@ -1972,104 +1972,104 @@ void | |||
| 1972 | syms_of_dbusbind () | 1972 | syms_of_dbusbind () |
| 1973 | { | 1973 | { |
| 1974 | 1974 | ||
| 1975 | Qdbus_init_bus = intern ("dbus-init-bus"); | 1975 | Qdbus_init_bus = intern_c_string ("dbus-init-bus"); |
| 1976 | staticpro (&Qdbus_init_bus); | 1976 | staticpro (&Qdbus_init_bus); |
| 1977 | defsubr (&Sdbus_init_bus); | 1977 | defsubr (&Sdbus_init_bus); |
| 1978 | 1978 | ||
| 1979 | Qdbus_get_unique_name = intern ("dbus-get-unique-name"); | 1979 | Qdbus_get_unique_name = intern_c_string ("dbus-get-unique-name"); |
| 1980 | staticpro (&Qdbus_get_unique_name); | 1980 | staticpro (&Qdbus_get_unique_name); |
| 1981 | defsubr (&Sdbus_get_unique_name); | 1981 | defsubr (&Sdbus_get_unique_name); |
| 1982 | 1982 | ||
| 1983 | Qdbus_call_method = intern ("dbus-call-method"); | 1983 | Qdbus_call_method = intern_c_string ("dbus-call-method"); |
| 1984 | staticpro (&Qdbus_call_method); | 1984 | staticpro (&Qdbus_call_method); |
| 1985 | defsubr (&Sdbus_call_method); | 1985 | defsubr (&Sdbus_call_method); |
| 1986 | 1986 | ||
| 1987 | Qdbus_call_method_asynchronously = intern ("dbus-call-method-asynchronously"); | 1987 | Qdbus_call_method_asynchronously = intern_c_string ("dbus-call-method-asynchronously"); |
| 1988 | staticpro (&Qdbus_call_method_asynchronously); | 1988 | staticpro (&Qdbus_call_method_asynchronously); |
| 1989 | defsubr (&Sdbus_call_method_asynchronously); | 1989 | defsubr (&Sdbus_call_method_asynchronously); |
| 1990 | 1990 | ||
| 1991 | Qdbus_method_return_internal = intern ("dbus-method-return-internal"); | 1991 | Qdbus_method_return_internal = intern_c_string ("dbus-method-return-internal"); |
| 1992 | staticpro (&Qdbus_method_return_internal); | 1992 | staticpro (&Qdbus_method_return_internal); |
| 1993 | defsubr (&Sdbus_method_return_internal); | 1993 | defsubr (&Sdbus_method_return_internal); |
| 1994 | 1994 | ||
| 1995 | Qdbus_method_error_internal = intern ("dbus-method-error-internal"); | 1995 | Qdbus_method_error_internal = intern_c_string ("dbus-method-error-internal"); |
| 1996 | staticpro (&Qdbus_method_error_internal); | 1996 | staticpro (&Qdbus_method_error_internal); |
| 1997 | defsubr (&Sdbus_method_error_internal); | 1997 | defsubr (&Sdbus_method_error_internal); |
| 1998 | 1998 | ||
| 1999 | Qdbus_send_signal = intern ("dbus-send-signal"); | 1999 | Qdbus_send_signal = intern_c_string ("dbus-send-signal"); |
| 2000 | staticpro (&Qdbus_send_signal); | 2000 | staticpro (&Qdbus_send_signal); |
| 2001 | defsubr (&Sdbus_send_signal); | 2001 | defsubr (&Sdbus_send_signal); |
| 2002 | 2002 | ||
| 2003 | Qdbus_register_signal = intern ("dbus-register-signal"); | 2003 | Qdbus_register_signal = intern_c_string ("dbus-register-signal"); |
| 2004 | staticpro (&Qdbus_register_signal); | 2004 | staticpro (&Qdbus_register_signal); |
| 2005 | defsubr (&Sdbus_register_signal); | 2005 | defsubr (&Sdbus_register_signal); |
| 2006 | 2006 | ||
| 2007 | Qdbus_register_method = intern ("dbus-register-method"); | 2007 | Qdbus_register_method = intern_c_string ("dbus-register-method"); |
| 2008 | staticpro (&Qdbus_register_method); | 2008 | staticpro (&Qdbus_register_method); |
| 2009 | defsubr (&Sdbus_register_method); | 2009 | defsubr (&Sdbus_register_method); |
| 2010 | 2010 | ||
| 2011 | Qdbus_error = intern ("dbus-error"); | 2011 | Qdbus_error = intern_c_string ("dbus-error"); |
| 2012 | staticpro (&Qdbus_error); | 2012 | staticpro (&Qdbus_error); |
| 2013 | Fput (Qdbus_error, Qerror_conditions, | 2013 | Fput (Qdbus_error, Qerror_conditions, |
| 2014 | list2 (Qdbus_error, Qerror)); | 2014 | list2 (Qdbus_error, Qerror)); |
| 2015 | Fput (Qdbus_error, Qerror_message, | 2015 | Fput (Qdbus_error, Qerror_message, |
| 2016 | build_string ("D-Bus error")); | 2016 | make_pure_c_string ("D-Bus error")); |
| 2017 | 2017 | ||
| 2018 | QCdbus_system_bus = intern (":system"); | 2018 | QCdbus_system_bus = intern_c_string (":system"); |
| 2019 | staticpro (&QCdbus_system_bus); | 2019 | staticpro (&QCdbus_system_bus); |
| 2020 | 2020 | ||
| 2021 | QCdbus_session_bus = intern (":session"); | 2021 | QCdbus_session_bus = intern_c_string (":session"); |
| 2022 | staticpro (&QCdbus_session_bus); | 2022 | staticpro (&QCdbus_session_bus); |
| 2023 | 2023 | ||
| 2024 | QCdbus_timeout = intern (":timeout"); | 2024 | QCdbus_timeout = intern_c_string (":timeout"); |
| 2025 | staticpro (&QCdbus_timeout); | 2025 | staticpro (&QCdbus_timeout); |
| 2026 | 2026 | ||
| 2027 | QCdbus_type_byte = intern (":byte"); | 2027 | QCdbus_type_byte = intern_c_string (":byte"); |
| 2028 | staticpro (&QCdbus_type_byte); | 2028 | staticpro (&QCdbus_type_byte); |
| 2029 | 2029 | ||
| 2030 | QCdbus_type_boolean = intern (":boolean"); | 2030 | QCdbus_type_boolean = intern_c_string (":boolean"); |
| 2031 | staticpro (&QCdbus_type_boolean); | 2031 | staticpro (&QCdbus_type_boolean); |
| 2032 | 2032 | ||
| 2033 | QCdbus_type_int16 = intern (":int16"); | 2033 | QCdbus_type_int16 = intern_c_string (":int16"); |
| 2034 | staticpro (&QCdbus_type_int16); | 2034 | staticpro (&QCdbus_type_int16); |
| 2035 | 2035 | ||
| 2036 | QCdbus_type_uint16 = intern (":uint16"); | 2036 | QCdbus_type_uint16 = intern_c_string (":uint16"); |
| 2037 | staticpro (&QCdbus_type_uint16); | 2037 | staticpro (&QCdbus_type_uint16); |
| 2038 | 2038 | ||
| 2039 | QCdbus_type_int32 = intern (":int32"); | 2039 | QCdbus_type_int32 = intern_c_string (":int32"); |
| 2040 | staticpro (&QCdbus_type_int32); | 2040 | staticpro (&QCdbus_type_int32); |
| 2041 | 2041 | ||
| 2042 | QCdbus_type_uint32 = intern (":uint32"); | 2042 | QCdbus_type_uint32 = intern_c_string (":uint32"); |
| 2043 | staticpro (&QCdbus_type_uint32); | 2043 | staticpro (&QCdbus_type_uint32); |
| 2044 | 2044 | ||
| 2045 | QCdbus_type_int64 = intern (":int64"); | 2045 | QCdbus_type_int64 = intern_c_string (":int64"); |
| 2046 | staticpro (&QCdbus_type_int64); | 2046 | staticpro (&QCdbus_type_int64); |
| 2047 | 2047 | ||
| 2048 | QCdbus_type_uint64 = intern (":uint64"); | 2048 | QCdbus_type_uint64 = intern_c_string (":uint64"); |
| 2049 | staticpro (&QCdbus_type_uint64); | 2049 | staticpro (&QCdbus_type_uint64); |
| 2050 | 2050 | ||
| 2051 | QCdbus_type_double = intern (":double"); | 2051 | QCdbus_type_double = intern_c_string (":double"); |
| 2052 | staticpro (&QCdbus_type_double); | 2052 | staticpro (&QCdbus_type_double); |
| 2053 | 2053 | ||
| 2054 | QCdbus_type_string = intern (":string"); | 2054 | QCdbus_type_string = intern_c_string (":string"); |
| 2055 | staticpro (&QCdbus_type_string); | 2055 | staticpro (&QCdbus_type_string); |
| 2056 | 2056 | ||
| 2057 | QCdbus_type_object_path = intern (":object-path"); | 2057 | QCdbus_type_object_path = intern_c_string (":object-path"); |
| 2058 | staticpro (&QCdbus_type_object_path); | 2058 | staticpro (&QCdbus_type_object_path); |
| 2059 | 2059 | ||
| 2060 | QCdbus_type_signature = intern (":signature"); | 2060 | QCdbus_type_signature = intern_c_string (":signature"); |
| 2061 | staticpro (&QCdbus_type_signature); | 2061 | staticpro (&QCdbus_type_signature); |
| 2062 | 2062 | ||
| 2063 | QCdbus_type_array = intern (":array"); | 2063 | QCdbus_type_array = intern_c_string (":array"); |
| 2064 | staticpro (&QCdbus_type_array); | 2064 | staticpro (&QCdbus_type_array); |
| 2065 | 2065 | ||
| 2066 | QCdbus_type_variant = intern (":variant"); | 2066 | QCdbus_type_variant = intern_c_string (":variant"); |
| 2067 | staticpro (&QCdbus_type_variant); | 2067 | staticpro (&QCdbus_type_variant); |
| 2068 | 2068 | ||
| 2069 | QCdbus_type_struct = intern (":struct"); | 2069 | QCdbus_type_struct = intern_c_string (":struct"); |
| 2070 | staticpro (&QCdbus_type_struct); | 2070 | staticpro (&QCdbus_type_struct); |
| 2071 | 2071 | ||
| 2072 | QCdbus_type_dict_entry = intern (":dict-entry"); | 2072 | QCdbus_type_dict_entry = intern_c_string (":dict-entry"); |
| 2073 | staticpro (&QCdbus_type_dict_entry); | 2073 | staticpro (&QCdbus_type_dict_entry); |
| 2074 | 2074 | ||
| 2075 | DEFVAR_LISP ("dbus-registered-functions-table", | 2075 | DEFVAR_LISP ("dbus-registered-functions-table", |
| @@ -2111,7 +2111,7 @@ message arrives. */); | |||
| 2111 | Vdbus_debug = Qnil; | 2111 | Vdbus_debug = Qnil; |
| 2112 | #endif | 2112 | #endif |
| 2113 | 2113 | ||
| 2114 | Fprovide (intern ("dbusbind"), Qnil); | 2114 | Fprovide (intern_c_string ("dbusbind"), Qnil); |
| 2115 | 2115 | ||
| 2116 | } | 2116 | } |
| 2117 | 2117 | ||
diff --git a/src/dired.c b/src/dired.c index 5aedd045870..630693fe634 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -1109,13 +1109,13 @@ Comparison is in lexicographic order and case is significant. */) | |||
| 1109 | void | 1109 | void |
| 1110 | syms_of_dired () | 1110 | syms_of_dired () |
| 1111 | { | 1111 | { |
| 1112 | Qdirectory_files = intern ("directory-files"); | 1112 | Qdirectory_files = intern_c_string ("directory-files"); |
| 1113 | Qdirectory_files_and_attributes = intern ("directory-files-and-attributes"); | 1113 | Qdirectory_files_and_attributes = intern_c_string ("directory-files-and-attributes"); |
| 1114 | Qfile_name_completion = intern ("file-name-completion"); | 1114 | Qfile_name_completion = intern_c_string ("file-name-completion"); |
| 1115 | Qfile_name_all_completions = intern ("file-name-all-completions"); | 1115 | Qfile_name_all_completions = intern_c_string ("file-name-all-completions"); |
| 1116 | Qfile_attributes = intern ("file-attributes"); | 1116 | Qfile_attributes = intern_c_string ("file-attributes"); |
| 1117 | Qfile_attributes_lessp = intern ("file-attributes-lessp"); | 1117 | Qfile_attributes_lessp = intern_c_string ("file-attributes-lessp"); |
| 1118 | Qdefault_directory = intern ("default-directory"); | 1118 | Qdefault_directory = intern_c_string ("default-directory"); |
| 1119 | 1119 | ||
| 1120 | staticpro (&Qdirectory_files); | 1120 | staticpro (&Qdirectory_files); |
| 1121 | staticpro (&Qdirectory_files_and_attributes); | 1121 | staticpro (&Qdirectory_files_and_attributes); |
diff --git a/src/dispnew.c b/src/dispnew.c index ba50b001980..0039ec0d181 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -7111,9 +7111,9 @@ syms_of_display () | |||
| 7111 | frame_and_buffer_state = Fmake_vector (make_number (20), Qlambda); | 7111 | frame_and_buffer_state = Fmake_vector (make_number (20), Qlambda); |
| 7112 | staticpro (&frame_and_buffer_state); | 7112 | staticpro (&frame_and_buffer_state); |
| 7113 | 7113 | ||
| 7114 | Qdisplay_table = intern ("display-table"); | 7114 | Qdisplay_table = intern_c_string ("display-table"); |
| 7115 | staticpro (&Qdisplay_table); | 7115 | staticpro (&Qdisplay_table); |
| 7116 | Qredisplay_dont_pause = intern ("redisplay-dont-pause"); | 7116 | Qredisplay_dont_pause = intern_c_string ("redisplay-dont-pause"); |
| 7117 | staticpro (&Qredisplay_dont_pause); | 7117 | staticpro (&Qredisplay_dont_pause); |
| 7118 | 7118 | ||
| 7119 | DEFVAR_INT ("baud-rate", &baud_rate, | 7119 | DEFVAR_INT ("baud-rate", &baud_rate, |
| @@ -954,7 +954,7 @@ a new string, without any text properties, is returned. */) | |||
| 954 | void | 954 | void |
| 955 | syms_of_doc () | 955 | syms_of_doc () |
| 956 | { | 956 | { |
| 957 | Qfunction_documentation = intern ("function-documentation"); | 957 | Qfunction_documentation = intern_c_string ("function-documentation"); |
| 958 | staticpro (&Qfunction_documentation); | 958 | staticpro (&Qfunction_documentation); |
| 959 | 959 | ||
| 960 | DEFVAR_LISP ("internal-doc-file-name", &Vdoc_file_name, | 960 | DEFVAR_LISP ("internal-doc-file-name", &Vdoc_file_name, |
diff --git a/src/editfns.c b/src/editfns.c index 806e75dc0f1..8cf182dff0f 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -4626,7 +4626,7 @@ syms_of_editfns () | |||
| 4626 | initial_tz = 0; | 4626 | initial_tz = 0; |
| 4627 | 4627 | ||
| 4628 | Qbuffer_access_fontify_functions | 4628 | Qbuffer_access_fontify_functions |
| 4629 | = intern ("buffer-access-fontify-functions"); | 4629 | = intern_c_string ("buffer-access-fontify-functions"); |
| 4630 | staticpro (&Qbuffer_access_fontify_functions); | 4630 | staticpro (&Qbuffer_access_fontify_functions); |
| 4631 | 4631 | ||
| 4632 | DEFVAR_LISP ("inhibit-field-text-motion", &Vinhibit_field_text_motion, | 4632 | DEFVAR_LISP ("inhibit-field-text-motion", &Vinhibit_field_text_motion, |
| @@ -4647,7 +4647,7 @@ of the buffer being accessed. */); | |||
| 4647 | /* Do this here, because init_buffer_once is too early--it won't work. */ | 4647 | /* Do this here, because init_buffer_once is too early--it won't work. */ |
| 4648 | Fset_buffer (Vprin1_to_string_buffer); | 4648 | Fset_buffer (Vprin1_to_string_buffer); |
| 4649 | /* Make sure buffer-access-fontify-functions is nil in this buffer. */ | 4649 | /* Make sure buffer-access-fontify-functions is nil in this buffer. */ |
| 4650 | Fset (Fmake_local_variable (intern ("buffer-access-fontify-functions")), | 4650 | Fset (Fmake_local_variable (intern_c_string ("buffer-access-fontify-functions")), |
| 4651 | Qnil); | 4651 | Qnil); |
| 4652 | Fset_buffer (obuf); | 4652 | Fset_buffer (obuf); |
| 4653 | } | 4653 | } |
| @@ -4690,9 +4690,9 @@ functions if all the text being accessed has this property. */); | |||
| 4690 | defsubr (&Sregion_end); | 4690 | defsubr (&Sregion_end); |
| 4691 | 4691 | ||
| 4692 | staticpro (&Qfield); | 4692 | staticpro (&Qfield); |
| 4693 | Qfield = intern ("field"); | 4693 | Qfield = intern_c_string ("field"); |
| 4694 | staticpro (&Qboundary); | 4694 | staticpro (&Qboundary); |
| 4695 | Qboundary = intern ("boundary"); | 4695 | Qboundary = intern_c_string ("boundary"); |
| 4696 | defsubr (&Sfield_beginning); | 4696 | defsubr (&Sfield_beginning); |
| 4697 | defsubr (&Sfield_end); | 4697 | defsubr (&Sfield_end); |
| 4698 | defsubr (&Sfield_string); | 4698 | defsubr (&Sfield_string); |
diff --git a/src/emacs.c b/src/emacs.c index ce34f11591b..4099a4f4795 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -846,8 +846,8 @@ main (int argc, char **argv) | |||
| 846 | && initialized) | 846 | && initialized) |
| 847 | { | 847 | { |
| 848 | Lisp_Object tem, tem2; | 848 | Lisp_Object tem, tem2; |
| 849 | tem = Fsymbol_value (intern ("emacs-version")); | 849 | tem = Fsymbol_value (intern_c_string ("emacs-version")); |
| 850 | tem2 = Fsymbol_value (intern ("emacs-copyright")); | 850 | tem2 = Fsymbol_value (intern_c_string ("emacs-copyright")); |
| 851 | if (!STRINGP (tem)) | 851 | if (!STRINGP (tem)) |
| 852 | { | 852 | { |
| 853 | fprintf (stderr, "Invalid value of `emacs-version'\n"); | 853 | fprintf (stderr, "Invalid value of `emacs-version'\n"); |
| @@ -1436,7 +1436,7 @@ main (int argc, char **argv) | |||
| 1436 | Lisp_Object old_log_max; | 1436 | Lisp_Object old_log_max; |
| 1437 | Lisp_Object symbol, tail; | 1437 | Lisp_Object symbol, tail; |
| 1438 | 1438 | ||
| 1439 | symbol = intern ("enable-multibyte-characters"); | 1439 | symbol = intern_c_string ("enable-multibyte-characters"); |
| 1440 | Fset_default (symbol, Qnil); | 1440 | Fset_default (symbol, Qnil); |
| 1441 | 1441 | ||
| 1442 | if (initialized) | 1442 | if (initialized) |
| @@ -1755,11 +1755,11 @@ main (int argc, char **argv) | |||
| 1755 | char *file; | 1755 | char *file; |
| 1756 | /* Handle -l loadup, args passed by Makefile. */ | 1756 | /* Handle -l loadup, args passed by Makefile. */ |
| 1757 | if (argmatch (argv, argc, "-l", "--load", 3, &file, &skip_args)) | 1757 | if (argmatch (argv, argc, "-l", "--load", 3, &file, &skip_args)) |
| 1758 | Vtop_level = Fcons (intern ("load"), | 1758 | Vtop_level = Fcons (intern_c_string ("load"), |
| 1759 | Fcons (build_string (file), Qnil)); | 1759 | Fcons (build_string (file), Qnil)); |
| 1760 | /* Unless next switch is -nl, load "loadup.el" first thing. */ | 1760 | /* Unless next switch is -nl, load "loadup.el" first thing. */ |
| 1761 | if (! no_loadup) | 1761 | if (! no_loadup) |
| 1762 | Vtop_level = Fcons (intern ("load"), | 1762 | Vtop_level = Fcons (intern_c_string ("load"), |
| 1763 | Fcons (build_string ("loadup.el"), Qnil)); | 1763 | Fcons (build_string ("loadup.el"), Qnil)); |
| 1764 | } | 1764 | } |
| 1765 | 1765 | ||
| @@ -2541,7 +2541,7 @@ from the parent process and its tty file descriptors. */) | |||
| 2541 | void | 2541 | void |
| 2542 | syms_of_emacs () | 2542 | syms_of_emacs () |
| 2543 | { | 2543 | { |
| 2544 | Qfile_name_handler_alist = intern ("file-name-handler-alist"); | 2544 | Qfile_name_handler_alist = intern_c_string ("file-name-handler-alist"); |
| 2545 | staticpro (&Qfile_name_handler_alist); | 2545 | staticpro (&Qfile_name_handler_alist); |
| 2546 | 2546 | ||
| 2547 | #ifndef CANNOT_DUMP | 2547 | #ifndef CANNOT_DUMP |
| @@ -2575,7 +2575,7 @@ Special values: | |||
| 2575 | `cygwin' compiled using the Cygwin library. | 2575 | `cygwin' compiled using the Cygwin library. |
| 2576 | Anything else (in Emacs 23.1, the possibilities are: aix, berkeley-unix, | 2576 | Anything else (in Emacs 23.1, the possibilities are: aix, berkeley-unix, |
| 2577 | hpux, irix, lynxos 3.0.1, usg-unix-v) indicates some sort of Unix system. */); | 2577 | hpux, irix, lynxos 3.0.1, usg-unix-v) indicates some sort of Unix system. */); |
| 2578 | Vsystem_type = intern (SYSTEM_TYPE); | 2578 | Vsystem_type = intern_c_string (SYSTEM_TYPE); |
| 2579 | 2579 | ||
| 2580 | DEFVAR_LISP ("system-configuration", &Vsystem_configuration, | 2580 | DEFVAR_LISP ("system-configuration", &Vsystem_configuration, |
| 2581 | doc: /* Value is string indicating configuration Emacs was built for. | 2581 | doc: /* Value is string indicating configuration Emacs was built for. |
diff --git a/src/eval.c b/src/eval.c index 3945a1b7a55..1c975003318 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -3583,42 +3583,42 @@ To prevent this happening, set `quit-flag' to nil | |||
| 3583 | before making `inhibit-quit' nil. */); | 3583 | before making `inhibit-quit' nil. */); |
| 3584 | Vinhibit_quit = Qnil; | 3584 | Vinhibit_quit = Qnil; |
| 3585 | 3585 | ||
| 3586 | Qinhibit_quit = intern ("inhibit-quit"); | 3586 | Qinhibit_quit = intern_c_string ("inhibit-quit"); |
| 3587 | staticpro (&Qinhibit_quit); | 3587 | staticpro (&Qinhibit_quit); |
| 3588 | 3588 | ||
| 3589 | Qautoload = intern ("autoload"); | 3589 | Qautoload = intern_c_string ("autoload"); |
| 3590 | staticpro (&Qautoload); | 3590 | staticpro (&Qautoload); |
| 3591 | 3591 | ||
| 3592 | Qdebug_on_error = intern ("debug-on-error"); | 3592 | Qdebug_on_error = intern_c_string ("debug-on-error"); |
| 3593 | staticpro (&Qdebug_on_error); | 3593 | staticpro (&Qdebug_on_error); |
| 3594 | 3594 | ||
| 3595 | Qmacro = intern ("macro"); | 3595 | Qmacro = intern_c_string ("macro"); |
| 3596 | staticpro (&Qmacro); | 3596 | staticpro (&Qmacro); |
| 3597 | 3597 | ||
| 3598 | Qdeclare = intern ("declare"); | 3598 | Qdeclare = intern_c_string ("declare"); |
| 3599 | staticpro (&Qdeclare); | 3599 | staticpro (&Qdeclare); |
| 3600 | 3600 | ||
| 3601 | /* Note that the process handling also uses Qexit, but we don't want | 3601 | /* Note that the process handling also uses Qexit, but we don't want |
| 3602 | to staticpro it twice, so we just do it here. */ | 3602 | to staticpro it twice, so we just do it here. */ |
| 3603 | Qexit = intern ("exit"); | 3603 | Qexit = intern_c_string ("exit"); |
| 3604 | staticpro (&Qexit); | 3604 | staticpro (&Qexit); |
| 3605 | 3605 | ||
| 3606 | Qinteractive = intern ("interactive"); | 3606 | Qinteractive = intern_c_string ("interactive"); |
| 3607 | staticpro (&Qinteractive); | 3607 | staticpro (&Qinteractive); |
| 3608 | 3608 | ||
| 3609 | Qcommandp = intern ("commandp"); | 3609 | Qcommandp = intern_c_string ("commandp"); |
| 3610 | staticpro (&Qcommandp); | 3610 | staticpro (&Qcommandp); |
| 3611 | 3611 | ||
| 3612 | Qdefun = intern ("defun"); | 3612 | Qdefun = intern_c_string ("defun"); |
| 3613 | staticpro (&Qdefun); | 3613 | staticpro (&Qdefun); |
| 3614 | 3614 | ||
| 3615 | Qand_rest = intern ("&rest"); | 3615 | Qand_rest = intern_c_string ("&rest"); |
| 3616 | staticpro (&Qand_rest); | 3616 | staticpro (&Qand_rest); |
| 3617 | 3617 | ||
| 3618 | Qand_optional = intern ("&optional"); | 3618 | Qand_optional = intern_c_string ("&optional"); |
| 3619 | staticpro (&Qand_optional); | 3619 | staticpro (&Qand_optional); |
| 3620 | 3620 | ||
| 3621 | Qdebug = intern ("debug"); | 3621 | Qdebug = intern_c_string ("debug"); |
| 3622 | staticpro (&Qdebug); | 3622 | staticpro (&Qdebug); |
| 3623 | 3623 | ||
| 3624 | DEFVAR_LISP ("stack-trace-on-error", &Vstack_trace_on_error, | 3624 | DEFVAR_LISP ("stack-trace-on-error", &Vstack_trace_on_error, |
| @@ -3693,7 +3693,7 @@ DECL is a list `(declare ...)' containing the declarations. | |||
| 3693 | The value the function returns is not used. */); | 3693 | The value the function returns is not used. */); |
| 3694 | Vmacro_declaration_function = Qnil; | 3694 | Vmacro_declaration_function = Qnil; |
| 3695 | 3695 | ||
| 3696 | Vrun_hooks = intern ("run-hooks"); | 3696 | Vrun_hooks = intern_c_string ("run-hooks"); |
| 3697 | staticpro (&Vrun_hooks); | 3697 | staticpro (&Vrun_hooks); |
| 3698 | 3698 | ||
| 3699 | staticpro (&Vautoload_queue); | 3699 | staticpro (&Vautoload_queue); |
diff --git a/src/fileio.c b/src/fileio.c index c61604ac31d..bdab1d6180d 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -5461,40 +5461,40 @@ Fread_file_name (prompt, dir, default_filename, mustmatch, initial, predicate) | |||
| 5461 | void | 5461 | void |
| 5462 | syms_of_fileio () | 5462 | syms_of_fileio () |
| 5463 | { | 5463 | { |
| 5464 | Qoperations = intern ("operations"); | 5464 | Qoperations = intern_c_string ("operations"); |
| 5465 | Qexpand_file_name = intern ("expand-file-name"); | 5465 | Qexpand_file_name = intern_c_string ("expand-file-name"); |
| 5466 | Qsubstitute_in_file_name = intern ("substitute-in-file-name"); | 5466 | Qsubstitute_in_file_name = intern_c_string ("substitute-in-file-name"); |
| 5467 | Qdirectory_file_name = intern ("directory-file-name"); | 5467 | Qdirectory_file_name = intern_c_string ("directory-file-name"); |
| 5468 | Qfile_name_directory = intern ("file-name-directory"); | 5468 | Qfile_name_directory = intern_c_string ("file-name-directory"); |
| 5469 | Qfile_name_nondirectory = intern ("file-name-nondirectory"); | 5469 | Qfile_name_nondirectory = intern_c_string ("file-name-nondirectory"); |
| 5470 | Qunhandled_file_name_directory = intern ("unhandled-file-name-directory"); | 5470 | Qunhandled_file_name_directory = intern_c_string ("unhandled-file-name-directory"); |
| 5471 | Qfile_name_as_directory = intern ("file-name-as-directory"); | 5471 | Qfile_name_as_directory = intern_c_string ("file-name-as-directory"); |
| 5472 | Qcopy_file = intern ("copy-file"); | 5472 | Qcopy_file = intern_c_string ("copy-file"); |
| 5473 | Qmake_directory_internal = intern ("make-directory-internal"); | 5473 | Qmake_directory_internal = intern_c_string ("make-directory-internal"); |
| 5474 | Qmake_directory = intern ("make-directory"); | 5474 | Qmake_directory = intern_c_string ("make-directory"); |
| 5475 | Qdelete_directory_internal = intern ("delete-directory-internal"); | 5475 | Qdelete_directory_internal = intern_c_string ("delete-directory-internal"); |
| 5476 | Qdelete_file = intern ("delete-file"); | 5476 | Qdelete_file = intern_c_string ("delete-file"); |
| 5477 | Qrename_file = intern ("rename-file"); | 5477 | Qrename_file = intern_c_string ("rename-file"); |
| 5478 | Qadd_name_to_file = intern ("add-name-to-file"); | 5478 | Qadd_name_to_file = intern_c_string ("add-name-to-file"); |
| 5479 | Qmake_symbolic_link = intern ("make-symbolic-link"); | 5479 | Qmake_symbolic_link = intern_c_string ("make-symbolic-link"); |
| 5480 | Qfile_exists_p = intern ("file-exists-p"); | 5480 | Qfile_exists_p = intern_c_string ("file-exists-p"); |
| 5481 | Qfile_executable_p = intern ("file-executable-p"); | 5481 | Qfile_executable_p = intern_c_string ("file-executable-p"); |
| 5482 | Qfile_readable_p = intern ("file-readable-p"); | 5482 | Qfile_readable_p = intern_c_string ("file-readable-p"); |
| 5483 | Qfile_writable_p = intern ("file-writable-p"); | 5483 | Qfile_writable_p = intern_c_string ("file-writable-p"); |
| 5484 | Qfile_symlink_p = intern ("file-symlink-p"); | 5484 | Qfile_symlink_p = intern_c_string ("file-symlink-p"); |
| 5485 | Qaccess_file = intern ("access-file"); | 5485 | Qaccess_file = intern_c_string ("access-file"); |
| 5486 | Qfile_directory_p = intern ("file-directory-p"); | 5486 | Qfile_directory_p = intern_c_string ("file-directory-p"); |
| 5487 | Qfile_regular_p = intern ("file-regular-p"); | 5487 | Qfile_regular_p = intern_c_string ("file-regular-p"); |
| 5488 | Qfile_accessible_directory_p = intern ("file-accessible-directory-p"); | 5488 | Qfile_accessible_directory_p = intern_c_string ("file-accessible-directory-p"); |
| 5489 | Qfile_modes = intern ("file-modes"); | 5489 | Qfile_modes = intern_c_string ("file-modes"); |
| 5490 | Qset_file_modes = intern ("set-file-modes"); | 5490 | Qset_file_modes = intern_c_string ("set-file-modes"); |
| 5491 | Qset_file_times = intern ("set-file-times"); | 5491 | Qset_file_times = intern_c_string ("set-file-times"); |
| 5492 | Qfile_newer_than_file_p = intern ("file-newer-than-file-p"); | 5492 | Qfile_newer_than_file_p = intern_c_string ("file-newer-than-file-p"); |
| 5493 | Qinsert_file_contents = intern ("insert-file-contents"); | 5493 | Qinsert_file_contents = intern_c_string ("insert-file-contents"); |
| 5494 | Qwrite_region = intern ("write-region"); | 5494 | Qwrite_region = intern_c_string ("write-region"); |
| 5495 | Qverify_visited_file_modtime = intern ("verify-visited-file-modtime"); | 5495 | Qverify_visited_file_modtime = intern_c_string ("verify-visited-file-modtime"); |
| 5496 | Qset_visited_file_modtime = intern ("set-visited-file-modtime"); | 5496 | Qset_visited_file_modtime = intern_c_string ("set-visited-file-modtime"); |
| 5497 | Qauto_save_coding = intern ("auto-save-coding"); | 5497 | Qauto_save_coding = intern_c_string ("auto-save-coding"); |
| 5498 | 5498 | ||
| 5499 | staticpro (&Qoperations); | 5499 | staticpro (&Qoperations); |
| 5500 | staticpro (&Qexpand_file_name); | 5500 | staticpro (&Qexpand_file_name); |
| @@ -5531,21 +5531,21 @@ syms_of_fileio () | |||
| 5531 | staticpro (&Qset_visited_file_modtime); | 5531 | staticpro (&Qset_visited_file_modtime); |
| 5532 | staticpro (&Qauto_save_coding); | 5532 | staticpro (&Qauto_save_coding); |
| 5533 | 5533 | ||
| 5534 | Qfile_name_history = intern ("file-name-history"); | 5534 | Qfile_name_history = intern_c_string ("file-name-history"); |
| 5535 | Fset (Qfile_name_history, Qnil); | 5535 | Fset (Qfile_name_history, Qnil); |
| 5536 | staticpro (&Qfile_name_history); | 5536 | staticpro (&Qfile_name_history); |
| 5537 | 5537 | ||
| 5538 | Qfile_error = intern ("file-error"); | 5538 | Qfile_error = intern_c_string ("file-error"); |
| 5539 | staticpro (&Qfile_error); | 5539 | staticpro (&Qfile_error); |
| 5540 | Qfile_already_exists = intern ("file-already-exists"); | 5540 | Qfile_already_exists = intern_c_string ("file-already-exists"); |
| 5541 | staticpro (&Qfile_already_exists); | 5541 | staticpro (&Qfile_already_exists); |
| 5542 | Qfile_date_error = intern ("file-date-error"); | 5542 | Qfile_date_error = intern_c_string ("file-date-error"); |
| 5543 | staticpro (&Qfile_date_error); | 5543 | staticpro (&Qfile_date_error); |
| 5544 | Qexcl = intern ("excl"); | 5544 | Qexcl = intern_c_string ("excl"); |
| 5545 | staticpro (&Qexcl); | 5545 | staticpro (&Qexcl); |
| 5546 | 5546 | ||
| 5547 | #ifdef DOS_NT | 5547 | #ifdef DOS_NT |
| 5548 | Qfind_buffer_file_type = intern ("find-buffer-file-type"); | 5548 | Qfind_buffer_file_type = intern_c_string ("find-buffer-file-type"); |
| 5549 | staticpro (&Qfind_buffer_file_type); | 5549 | staticpro (&Qfind_buffer_file_type); |
| 5550 | #endif /* DOS_NT */ | 5550 | #endif /* DOS_NT */ |
| 5551 | 5551 | ||
| @@ -5565,30 +5565,30 @@ instead use `file-name-coding-system' to get a constant encoding | |||
| 5565 | of file names regardless of the current language environment. */); | 5565 | of file names regardless of the current language environment. */); |
| 5566 | Vdefault_file_name_coding_system = Qnil; | 5566 | Vdefault_file_name_coding_system = Qnil; |
| 5567 | 5567 | ||
| 5568 | Qformat_decode = intern ("format-decode"); | 5568 | Qformat_decode = intern_c_string ("format-decode"); |
| 5569 | staticpro (&Qformat_decode); | 5569 | staticpro (&Qformat_decode); |
| 5570 | Qformat_annotate_function = intern ("format-annotate-function"); | 5570 | Qformat_annotate_function = intern_c_string ("format-annotate-function"); |
| 5571 | staticpro (&Qformat_annotate_function); | 5571 | staticpro (&Qformat_annotate_function); |
| 5572 | Qafter_insert_file_set_coding = intern ("after-insert-file-set-coding"); | 5572 | Qafter_insert_file_set_coding = intern_c_string ("after-insert-file-set-coding"); |
| 5573 | staticpro (&Qafter_insert_file_set_coding); | 5573 | staticpro (&Qafter_insert_file_set_coding); |
| 5574 | 5574 | ||
| 5575 | Qcar_less_than_car = intern ("car-less-than-car"); | 5575 | Qcar_less_than_car = intern_c_string ("car-less-than-car"); |
| 5576 | staticpro (&Qcar_less_than_car); | 5576 | staticpro (&Qcar_less_than_car); |
| 5577 | 5577 | ||
| 5578 | Fput (Qfile_error, Qerror_conditions, | 5578 | Fput (Qfile_error, Qerror_conditions, |
| 5579 | list2 (Qfile_error, Qerror)); | 5579 | Fpurecopy (list2 (Qfile_error, Qerror))); |
| 5580 | Fput (Qfile_error, Qerror_message, | 5580 | Fput (Qfile_error, Qerror_message, |
| 5581 | build_string ("File error")); | 5581 | make_pure_c_string ("File error")); |
| 5582 | 5582 | ||
| 5583 | Fput (Qfile_already_exists, Qerror_conditions, | 5583 | Fput (Qfile_already_exists, Qerror_conditions, |
| 5584 | list3 (Qfile_already_exists, Qfile_error, Qerror)); | 5584 | Fpurecopy (list3 (Qfile_already_exists, Qfile_error, Qerror))); |
| 5585 | Fput (Qfile_already_exists, Qerror_message, | 5585 | Fput (Qfile_already_exists, Qerror_message, |
| 5586 | build_string ("File already exists")); | 5586 | make_pure_c_string ("File already exists")); |
| 5587 | 5587 | ||
| 5588 | Fput (Qfile_date_error, Qerror_conditions, | 5588 | Fput (Qfile_date_error, Qerror_conditions, |
| 5589 | list3 (Qfile_date_error, Qfile_error, Qerror)); | 5589 | Fpurecopy (list3 (Qfile_date_error, Qfile_error, Qerror))); |
| 5590 | Fput (Qfile_date_error, Qerror_message, | 5590 | Fput (Qfile_date_error, Qerror_message, |
| 5591 | build_string ("Cannot set file date")); | 5591 | make_pure_c_string ("Cannot set file date")); |
| 5592 | 5592 | ||
| 5593 | DEFVAR_LISP ("directory-sep-char", &Vdirectory_sep_char, | 5593 | DEFVAR_LISP ("directory-sep-char", &Vdirectory_sep_char, |
| 5594 | doc: /* Directory separator character for built-in functions that return file names. | 5594 | doc: /* Directory separator character for built-in functions that return file names. |
| @@ -5659,7 +5659,7 @@ buffer current. */); | |||
| 5659 | Vwrite_region_annotate_functions = Qnil; | 5659 | Vwrite_region_annotate_functions = Qnil; |
| 5660 | staticpro (&Qwrite_region_annotate_functions); | 5660 | staticpro (&Qwrite_region_annotate_functions); |
| 5661 | Qwrite_region_annotate_functions | 5661 | Qwrite_region_annotate_functions |
| 5662 | = intern ("write-region-annotate-functions"); | 5662 | = intern_c_string ("write-region-annotate-functions"); |
| 5663 | 5663 | ||
| 5664 | DEFVAR_LISP ("write-region-post-annotation-function", | 5664 | DEFVAR_LISP ("write-region-post-annotation-function", |
| 5665 | &Vwrite_region_post_annotation_function, | 5665 | &Vwrite_region_post_annotation_function, |
| @@ -5720,8 +5720,8 @@ A non-nil value may result in data loss! */); | |||
| 5720 | When non-nil, the function `move-file-to-trash' will be used by | 5720 | When non-nil, the function `move-file-to-trash' will be used by |
| 5721 | `delete-file' and `delete-directory'. */); | 5721 | `delete-file' and `delete-directory'. */); |
| 5722 | delete_by_moving_to_trash = 0; | 5722 | delete_by_moving_to_trash = 0; |
| 5723 | Qdelete_by_moving_to_trash = intern ("delete-by-moving-to-trash"); | 5723 | Qdelete_by_moving_to_trash = intern_c_string ("delete-by-moving-to-trash"); |
| 5724 | Qmove_file_to_trash = intern ("move-file-to-trash"); | 5724 | Qmove_file_to_trash = intern_c_string ("move-file-to-trash"); |
| 5725 | staticpro (&Qmove_file_to_trash); | 5725 | staticpro (&Qmove_file_to_trash); |
| 5726 | 5726 | ||
| 5727 | defsubr (&Sfind_file_name_handler); | 5727 | defsubr (&Sfind_file_name_handler); |
| @@ -5153,33 +5153,33 @@ void | |||
| 5153 | syms_of_fns () | 5153 | syms_of_fns () |
| 5154 | { | 5154 | { |
| 5155 | /* Hash table stuff. */ | 5155 | /* Hash table stuff. */ |
| 5156 | Qhash_table_p = intern ("hash-table-p"); | 5156 | Qhash_table_p = intern_c_string ("hash-table-p"); |
| 5157 | staticpro (&Qhash_table_p); | 5157 | staticpro (&Qhash_table_p); |
| 5158 | Qeq = intern ("eq"); | 5158 | Qeq = intern_c_string ("eq"); |
| 5159 | staticpro (&Qeq); | 5159 | staticpro (&Qeq); |
| 5160 | Qeql = intern ("eql"); | 5160 | Qeql = intern_c_string ("eql"); |
| 5161 | staticpro (&Qeql); | 5161 | staticpro (&Qeql); |
| 5162 | Qequal = intern ("equal"); | 5162 | Qequal = intern_c_string ("equal"); |
| 5163 | staticpro (&Qequal); | 5163 | staticpro (&Qequal); |
| 5164 | QCtest = intern (":test"); | 5164 | QCtest = intern_c_string (":test"); |
| 5165 | staticpro (&QCtest); | 5165 | staticpro (&QCtest); |
| 5166 | QCsize = intern (":size"); | 5166 | QCsize = intern_c_string (":size"); |
| 5167 | staticpro (&QCsize); | 5167 | staticpro (&QCsize); |
| 5168 | QCrehash_size = intern (":rehash-size"); | 5168 | QCrehash_size = intern_c_string (":rehash-size"); |
| 5169 | staticpro (&QCrehash_size); | 5169 | staticpro (&QCrehash_size); |
| 5170 | QCrehash_threshold = intern (":rehash-threshold"); | 5170 | QCrehash_threshold = intern_c_string (":rehash-threshold"); |
| 5171 | staticpro (&QCrehash_threshold); | 5171 | staticpro (&QCrehash_threshold); |
| 5172 | QCweakness = intern (":weakness"); | 5172 | QCweakness = intern_c_string (":weakness"); |
| 5173 | staticpro (&QCweakness); | 5173 | staticpro (&QCweakness); |
| 5174 | Qkey = intern ("key"); | 5174 | Qkey = intern_c_string ("key"); |
| 5175 | staticpro (&Qkey); | 5175 | staticpro (&Qkey); |
| 5176 | Qvalue = intern ("value"); | 5176 | Qvalue = intern_c_string ("value"); |
| 5177 | staticpro (&Qvalue); | 5177 | staticpro (&Qvalue); |
| 5178 | Qhash_table_test = intern ("hash-table-test"); | 5178 | Qhash_table_test = intern_c_string ("hash-table-test"); |
| 5179 | staticpro (&Qhash_table_test); | 5179 | staticpro (&Qhash_table_test); |
| 5180 | Qkey_or_value = intern ("key-or-value"); | 5180 | Qkey_or_value = intern_c_string ("key-or-value"); |
| 5181 | staticpro (&Qkey_or_value); | 5181 | staticpro (&Qkey_or_value); |
| 5182 | Qkey_and_value = intern ("key-and-value"); | 5182 | Qkey_and_value = intern_c_string ("key-and-value"); |
| 5183 | staticpro (&Qkey_and_value); | 5183 | staticpro (&Qkey_and_value); |
| 5184 | 5184 | ||
| 5185 | defsubr (&Ssxhash); | 5185 | defsubr (&Ssxhash); |
| @@ -5199,17 +5199,17 @@ syms_of_fns () | |||
| 5199 | defsubr (&Smaphash); | 5199 | defsubr (&Smaphash); |
| 5200 | defsubr (&Sdefine_hash_table_test); | 5200 | defsubr (&Sdefine_hash_table_test); |
| 5201 | 5201 | ||
| 5202 | Qstring_lessp = intern ("string-lessp"); | 5202 | Qstring_lessp = intern_c_string ("string-lessp"); |
| 5203 | staticpro (&Qstring_lessp); | 5203 | staticpro (&Qstring_lessp); |
| 5204 | Qprovide = intern ("provide"); | 5204 | Qprovide = intern_c_string ("provide"); |
| 5205 | staticpro (&Qprovide); | 5205 | staticpro (&Qprovide); |
| 5206 | Qrequire = intern ("require"); | 5206 | Qrequire = intern_c_string ("require"); |
| 5207 | staticpro (&Qrequire); | 5207 | staticpro (&Qrequire); |
| 5208 | Qyes_or_no_p_history = intern ("yes-or-no-p-history"); | 5208 | Qyes_or_no_p_history = intern_c_string ("yes-or-no-p-history"); |
| 5209 | staticpro (&Qyes_or_no_p_history); | 5209 | staticpro (&Qyes_or_no_p_history); |
| 5210 | Qcursor_in_echo_area = intern ("cursor-in-echo-area"); | 5210 | Qcursor_in_echo_area = intern_c_string ("cursor-in-echo-area"); |
| 5211 | staticpro (&Qcursor_in_echo_area); | 5211 | staticpro (&Qcursor_in_echo_area); |
| 5212 | Qwidget_type = intern ("widget-type"); | 5212 | Qwidget_type = intern_c_string ("widget-type"); |
| 5213 | staticpro (&Qwidget_type); | 5213 | staticpro (&Qwidget_type); |
| 5214 | 5214 | ||
| 5215 | staticpro (&string_char_byte_cache_string); | 5215 | staticpro (&string_char_byte_cache_string); |
| @@ -5223,18 +5223,18 @@ syms_of_fns () | |||
| 5223 | DEFVAR_LISP ("features", &Vfeatures, | 5223 | DEFVAR_LISP ("features", &Vfeatures, |
| 5224 | doc: /* A list of symbols which are the features of the executing Emacs. | 5224 | doc: /* A list of symbols which are the features of the executing Emacs. |
| 5225 | Used by `featurep' and `require', and altered by `provide'. */); | 5225 | Used by `featurep' and `require', and altered by `provide'. */); |
| 5226 | Vfeatures = Fcons (intern ("emacs"), Qnil); | 5226 | Vfeatures = Fcons (intern_c_string ("emacs"), Qnil); |
| 5227 | Qsubfeatures = intern ("subfeatures"); | 5227 | Qsubfeatures = intern_c_string ("subfeatures"); |
| 5228 | staticpro (&Qsubfeatures); | 5228 | staticpro (&Qsubfeatures); |
| 5229 | 5229 | ||
| 5230 | #ifdef HAVE_LANGINFO_CODESET | 5230 | #ifdef HAVE_LANGINFO_CODESET |
| 5231 | Qcodeset = intern ("codeset"); | 5231 | Qcodeset = intern_c_string ("codeset"); |
| 5232 | staticpro (&Qcodeset); | 5232 | staticpro (&Qcodeset); |
| 5233 | Qdays = intern ("days"); | 5233 | Qdays = intern_c_string ("days"); |
| 5234 | staticpro (&Qdays); | 5234 | staticpro (&Qdays); |
| 5235 | Qmonths = intern ("months"); | 5235 | Qmonths = intern_c_string ("months"); |
| 5236 | staticpro (&Qmonths); | 5236 | staticpro (&Qmonths); |
| 5237 | Qpaper = intern ("paper"); | 5237 | Qpaper = intern_c_string ("paper"); |
| 5238 | staticpro (&Qpaper); | 5238 | staticpro (&Qpaper); |
| 5239 | #endif /* HAVE_LANGINFO_CODESET */ | 5239 | #endif /* HAVE_LANGINFO_CODESET */ |
| 5240 | 5240 | ||
diff --git a/src/font.c b/src/font.c index dd9b6d374be..bab3d9f821c 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -5062,7 +5062,7 @@ build_style_table (entry, nelement) | |||
| 5062 | elt = Fmake_vector (make_number (j + 1), Qnil); | 5062 | elt = Fmake_vector (make_number (j + 1), Qnil); |
| 5063 | ASET (elt, 0, make_number (entry[i].numeric)); | 5063 | ASET (elt, 0, make_number (entry[i].numeric)); |
| 5064 | for (j = 0; entry[i].names[j]; j++) | 5064 | for (j = 0; entry[i].names[j]; j++) |
| 5065 | ASET (elt, j + 1, intern (entry[i].names[j])); | 5065 | ASET (elt, j + 1, intern_c_string (entry[i].names[j])); |
| 5066 | ASET (table, i, elt); | 5066 | ASET (table, i, elt); |
| 5067 | } | 5067 | } |
| 5068 | return table; | 5068 | return table; |
diff --git a/src/fontset.c b/src/fontset.c index cba84dc2458..30620e511c8 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -2245,7 +2245,7 @@ syms_of_fontset () | |||
| 2245 | staticpro (&Vdefault_fontset); | 2245 | staticpro (&Vdefault_fontset); |
| 2246 | FONTSET_ID (Vdefault_fontset) = make_number (0); | 2246 | FONTSET_ID (Vdefault_fontset) = make_number (0); |
| 2247 | FONTSET_NAME (Vdefault_fontset) | 2247 | FONTSET_NAME (Vdefault_fontset) |
| 2248 | = build_string ("-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default"); | 2248 | = make_pure_c_string ("-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default"); |
| 2249 | ASET (Vfontset_table, 0, Vdefault_fontset); | 2249 | ASET (Vfontset_table, 0, Vdefault_fontset); |
| 2250 | next_fontset_id = 1; | 2250 | next_fontset_id = 1; |
| 2251 | 2251 | ||
| @@ -2291,7 +2291,7 @@ alternate fontnames (if any) are tried instead. */); | |||
| 2291 | DEFVAR_LISP ("fontset-alias-alist", &Vfontset_alias_alist, | 2291 | DEFVAR_LISP ("fontset-alias-alist", &Vfontset_alias_alist, |
| 2292 | doc: /* Alist of fontset names vs the aliases. */); | 2292 | doc: /* Alist of fontset names vs the aliases. */); |
| 2293 | Vfontset_alias_alist = Fcons (Fcons (FONTSET_NAME (Vdefault_fontset), | 2293 | Vfontset_alias_alist = Fcons (Fcons (FONTSET_NAME (Vdefault_fontset), |
| 2294 | build_string ("fontset-default")), | 2294 | make_pure_c_string ("fontset-default")), |
| 2295 | Qnil); | 2295 | Qnil); |
| 2296 | 2296 | ||
| 2297 | DEFVAR_LISP ("vertical-centering-font-regexp", | 2297 | DEFVAR_LISP ("vertical-centering-font-regexp", |
diff --git a/src/frame.c b/src/frame.c index 2884c16c551..b3c3b83735b 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4405,101 +4405,101 @@ frame_make_pointer_visible () | |||
| 4405 | void | 4405 | void |
| 4406 | syms_of_frame () | 4406 | syms_of_frame () |
| 4407 | { | 4407 | { |
| 4408 | Qframep = intern ("framep"); | 4408 | Qframep = intern_c_string ("framep"); |
| 4409 | staticpro (&Qframep); | 4409 | staticpro (&Qframep); |
| 4410 | Qframe_live_p = intern ("frame-live-p"); | 4410 | Qframe_live_p = intern_c_string ("frame-live-p"); |
| 4411 | staticpro (&Qframe_live_p); | 4411 | staticpro (&Qframe_live_p); |
| 4412 | Qexplicit_name = intern ("explicit-name"); | 4412 | Qexplicit_name = intern_c_string ("explicit-name"); |
| 4413 | staticpro (&Qexplicit_name); | 4413 | staticpro (&Qexplicit_name); |
| 4414 | Qheight = intern ("height"); | 4414 | Qheight = intern_c_string ("height"); |
| 4415 | staticpro (&Qheight); | 4415 | staticpro (&Qheight); |
| 4416 | Qicon = intern ("icon"); | 4416 | Qicon = intern_c_string ("icon"); |
| 4417 | staticpro (&Qicon); | 4417 | staticpro (&Qicon); |
| 4418 | Qminibuffer = intern ("minibuffer"); | 4418 | Qminibuffer = intern_c_string ("minibuffer"); |
| 4419 | staticpro (&Qminibuffer); | 4419 | staticpro (&Qminibuffer); |
| 4420 | Qmodeline = intern ("modeline"); | 4420 | Qmodeline = intern_c_string ("modeline"); |
| 4421 | staticpro (&Qmodeline); | 4421 | staticpro (&Qmodeline); |
| 4422 | Qonly = intern ("only"); | 4422 | Qonly = intern_c_string ("only"); |
| 4423 | staticpro (&Qonly); | 4423 | staticpro (&Qonly); |
| 4424 | Qwidth = intern ("width"); | 4424 | Qwidth = intern_c_string ("width"); |
| 4425 | staticpro (&Qwidth); | 4425 | staticpro (&Qwidth); |
| 4426 | Qgeometry = intern ("geometry"); | 4426 | Qgeometry = intern_c_string ("geometry"); |
| 4427 | staticpro (&Qgeometry); | 4427 | staticpro (&Qgeometry); |
| 4428 | Qicon_left = intern ("icon-left"); | 4428 | Qicon_left = intern_c_string ("icon-left"); |
| 4429 | staticpro (&Qicon_left); | 4429 | staticpro (&Qicon_left); |
| 4430 | Qicon_top = intern ("icon-top"); | 4430 | Qicon_top = intern_c_string ("icon-top"); |
| 4431 | staticpro (&Qicon_top); | 4431 | staticpro (&Qicon_top); |
| 4432 | Qleft = intern ("left"); | 4432 | Qleft = intern_c_string ("left"); |
| 4433 | staticpro (&Qleft); | 4433 | staticpro (&Qleft); |
| 4434 | Qright = intern ("right"); | 4434 | Qright = intern_c_string ("right"); |
| 4435 | staticpro (&Qright); | 4435 | staticpro (&Qright); |
| 4436 | Quser_position = intern ("user-position"); | 4436 | Quser_position = intern_c_string ("user-position"); |
| 4437 | staticpro (&Quser_position); | 4437 | staticpro (&Quser_position); |
| 4438 | Quser_size = intern ("user-size"); | 4438 | Quser_size = intern_c_string ("user-size"); |
| 4439 | staticpro (&Quser_size); | 4439 | staticpro (&Quser_size); |
| 4440 | Qwindow_id = intern ("window-id"); | 4440 | Qwindow_id = intern_c_string ("window-id"); |
| 4441 | staticpro (&Qwindow_id); | 4441 | staticpro (&Qwindow_id); |
| 4442 | #ifdef HAVE_X_WINDOWS | 4442 | #ifdef HAVE_X_WINDOWS |
| 4443 | Qouter_window_id = intern ("outer-window-id"); | 4443 | Qouter_window_id = intern_c_string ("outer-window-id"); |
| 4444 | staticpro (&Qouter_window_id); | 4444 | staticpro (&Qouter_window_id); |
| 4445 | #endif | 4445 | #endif |
| 4446 | Qparent_id = intern ("parent-id"); | 4446 | Qparent_id = intern_c_string ("parent-id"); |
| 4447 | staticpro (&Qparent_id); | 4447 | staticpro (&Qparent_id); |
| 4448 | Qx = intern ("x"); | 4448 | Qx = intern_c_string ("x"); |
| 4449 | staticpro (&Qx); | 4449 | staticpro (&Qx); |
| 4450 | Qw32 = intern ("w32"); | 4450 | Qw32 = intern_c_string ("w32"); |
| 4451 | staticpro (&Qw32); | 4451 | staticpro (&Qw32); |
| 4452 | Qpc = intern ("pc"); | 4452 | Qpc = intern_c_string ("pc"); |
| 4453 | staticpro (&Qpc); | 4453 | staticpro (&Qpc); |
| 4454 | Qmac = intern ("mac"); | 4454 | Qmac = intern_c_string ("mac"); |
| 4455 | staticpro (&Qmac); | 4455 | staticpro (&Qmac); |
| 4456 | Qns = intern ("ns"); | 4456 | Qns = intern_c_string ("ns"); |
| 4457 | staticpro (&Qns); | 4457 | staticpro (&Qns); |
| 4458 | Qvisible = intern ("visible"); | 4458 | Qvisible = intern_c_string ("visible"); |
| 4459 | staticpro (&Qvisible); | 4459 | staticpro (&Qvisible); |
| 4460 | Qbuffer_predicate = intern ("buffer-predicate"); | 4460 | Qbuffer_predicate = intern_c_string ("buffer-predicate"); |
| 4461 | staticpro (&Qbuffer_predicate); | 4461 | staticpro (&Qbuffer_predicate); |
| 4462 | Qbuffer_list = intern ("buffer-list"); | 4462 | Qbuffer_list = intern_c_string ("buffer-list"); |
| 4463 | staticpro (&Qbuffer_list); | 4463 | staticpro (&Qbuffer_list); |
| 4464 | Qburied_buffer_list = intern ("buried-buffer-list"); | 4464 | Qburied_buffer_list = intern_c_string ("buried-buffer-list"); |
| 4465 | staticpro (&Qburied_buffer_list); | 4465 | staticpro (&Qburied_buffer_list); |
| 4466 | Qdisplay_type = intern ("display-type"); | 4466 | Qdisplay_type = intern_c_string ("display-type"); |
| 4467 | staticpro (&Qdisplay_type); | 4467 | staticpro (&Qdisplay_type); |
| 4468 | Qbackground_mode = intern ("background-mode"); | 4468 | Qbackground_mode = intern_c_string ("background-mode"); |
| 4469 | staticpro (&Qbackground_mode); | 4469 | staticpro (&Qbackground_mode); |
| 4470 | Qnoelisp = intern ("noelisp"); | 4470 | Qnoelisp = intern_c_string ("noelisp"); |
| 4471 | staticpro (&Qnoelisp); | 4471 | staticpro (&Qnoelisp); |
| 4472 | Qtty_color_mode = intern ("tty-color-mode"); | 4472 | Qtty_color_mode = intern_c_string ("tty-color-mode"); |
| 4473 | staticpro (&Qtty_color_mode); | 4473 | staticpro (&Qtty_color_mode); |
| 4474 | Qtty = intern ("tty"); | 4474 | Qtty = intern_c_string ("tty"); |
| 4475 | staticpro (&Qtty); | 4475 | staticpro (&Qtty); |
| 4476 | Qtty_type = intern ("tty-type"); | 4476 | Qtty_type = intern_c_string ("tty-type"); |
| 4477 | staticpro (&Qtty_type); | 4477 | staticpro (&Qtty_type); |
| 4478 | 4478 | ||
| 4479 | Qface_set_after_frame_default = intern ("face-set-after-frame-default"); | 4479 | Qface_set_after_frame_default = intern_c_string ("face-set-after-frame-default"); |
| 4480 | staticpro (&Qface_set_after_frame_default); | 4480 | staticpro (&Qface_set_after_frame_default); |
| 4481 | 4481 | ||
| 4482 | Qfullwidth = intern ("fullwidth"); | 4482 | Qfullwidth = intern_c_string ("fullwidth"); |
| 4483 | staticpro (&Qfullwidth); | 4483 | staticpro (&Qfullwidth); |
| 4484 | Qfullheight = intern ("fullheight"); | 4484 | Qfullheight = intern_c_string ("fullheight"); |
| 4485 | staticpro (&Qfullheight); | 4485 | staticpro (&Qfullheight); |
| 4486 | Qfullboth = intern ("fullboth"); | 4486 | Qfullboth = intern_c_string ("fullboth"); |
| 4487 | staticpro (&Qfullboth); | 4487 | staticpro (&Qfullboth); |
| 4488 | Qmaximized = intern ("maximized"); | 4488 | Qmaximized = intern_c_string ("maximized"); |
| 4489 | staticpro (&Qmaximized); | 4489 | staticpro (&Qmaximized); |
| 4490 | Qx_resource_name = intern ("x-resource-name"); | 4490 | Qx_resource_name = intern_c_string ("x-resource-name"); |
| 4491 | staticpro (&Qx_resource_name); | 4491 | staticpro (&Qx_resource_name); |
| 4492 | 4492 | ||
| 4493 | Qx_frame_parameter = intern ("x-frame-parameter"); | 4493 | Qx_frame_parameter = intern_c_string ("x-frame-parameter"); |
| 4494 | staticpro (&Qx_frame_parameter); | 4494 | staticpro (&Qx_frame_parameter); |
| 4495 | 4495 | ||
| 4496 | Qterminal = intern ("terminal"); | 4496 | Qterminal = intern_c_string ("terminal"); |
| 4497 | staticpro (&Qterminal); | 4497 | staticpro (&Qterminal); |
| 4498 | Qterminal_live_p = intern ("terminal-live-p"); | 4498 | Qterminal_live_p = intern_c_string ("terminal-live-p"); |
| 4499 | staticpro (&Qterminal_live_p); | 4499 | staticpro (&Qterminal_live_p); |
| 4500 | 4500 | ||
| 4501 | #ifdef HAVE_NS | 4501 | #ifdef HAVE_NS |
| 4502 | Qns_parse_geometry = intern ("ns-parse-geometry"); | 4502 | Qns_parse_geometry = intern_c_string ("ns-parse-geometry"); |
| 4503 | staticpro (&Qns_parse_geometry); | 4503 | staticpro (&Qns_parse_geometry); |
| 4504 | #endif | 4504 | #endif |
| 4505 | 4505 | ||
| @@ -4508,7 +4508,7 @@ syms_of_frame () | |||
| 4508 | 4508 | ||
| 4509 | for (i = 0; i < sizeof (frame_parms) / sizeof (frame_parms[0]); i++) | 4509 | for (i = 0; i < sizeof (frame_parms) / sizeof (frame_parms[0]); i++) |
| 4510 | { | 4510 | { |
| 4511 | Lisp_Object v = intern (frame_parms[i].name); | 4511 | Lisp_Object v = intern_c_string (frame_parms[i].name); |
| 4512 | if (frame_parms[i].variable) | 4512 | if (frame_parms[i].variable) |
| 4513 | { | 4513 | { |
| 4514 | *frame_parms[i].variable = v; | 4514 | *frame_parms[i].variable = v; |
| @@ -4613,7 +4613,7 @@ actually deleted, or some time later (or even both when an earlier function | |||
| 4613 | in `delete-frame-functions' (indirectly) calls `delete-frame' | 4613 | in `delete-frame-functions' (indirectly) calls `delete-frame' |
| 4614 | recursively). */); | 4614 | recursively). */); |
| 4615 | Vdelete_frame_functions = Qnil; | 4615 | Vdelete_frame_functions = Qnil; |
| 4616 | Qdelete_frame_functions = intern ("delete-frame-functions"); | 4616 | Qdelete_frame_functions = intern_c_string ("delete-frame-functions"); |
| 4617 | staticpro (&Qdelete_frame_functions); | 4617 | staticpro (&Qdelete_frame_functions); |
| 4618 | 4618 | ||
| 4619 | DEFVAR_KBOARD ("default-minibuffer-frame", Vdefault_minibuffer_frame, | 4619 | DEFVAR_KBOARD ("default-minibuffer-frame", Vdefault_minibuffer_frame, |
diff --git a/src/fringe.c b/src/fringe.c index df62bee0edc..2cea24b1dcd 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -1618,17 +1618,17 @@ Return nil if POS is not visible in WINDOW. */) | |||
| 1618 | void | 1618 | void |
| 1619 | syms_of_fringe () | 1619 | syms_of_fringe () |
| 1620 | { | 1620 | { |
| 1621 | Qtruncation = intern ("truncation"); | 1621 | Qtruncation = intern_c_string ("truncation"); |
| 1622 | staticpro (&Qtruncation); | 1622 | staticpro (&Qtruncation); |
| 1623 | Qcontinuation = intern ("continuation"); | 1623 | Qcontinuation = intern_c_string ("continuation"); |
| 1624 | staticpro (&Qcontinuation); | 1624 | staticpro (&Qcontinuation); |
| 1625 | Qoverlay_arrow = intern ("overlay-arrow"); | 1625 | Qoverlay_arrow = intern_c_string ("overlay-arrow"); |
| 1626 | staticpro (&Qoverlay_arrow); | 1626 | staticpro (&Qoverlay_arrow); |
| 1627 | Qempty_line = intern ("empty-line"); | 1627 | Qempty_line = intern_c_string ("empty-line"); |
| 1628 | staticpro (&Qempty_line); | 1628 | staticpro (&Qempty_line); |
| 1629 | Qtop_bottom = intern ("top-bottom"); | 1629 | Qtop_bottom = intern_c_string ("top-bottom"); |
| 1630 | staticpro (&Qtop_bottom); | 1630 | staticpro (&Qtop_bottom); |
| 1631 | Qhollow_small = intern ("hollow-small"); | 1631 | Qhollow_small = intern_c_string ("hollow-small"); |
| 1632 | staticpro (&Qhollow_small); | 1632 | staticpro (&Qhollow_small); |
| 1633 | 1633 | ||
| 1634 | defsubr (&Sdestroy_fringe_bitmap); | 1634 | defsubr (&Sdestroy_fringe_bitmap); |
diff --git a/src/image.c b/src/image.c index 62e69b330d0..55ceec326c4 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -8373,7 +8373,7 @@ list; if none is loaded, the running session of Emacs won't | |||
| 8373 | support the image type. Types 'pbm and 'xbm don't need to be | 8373 | support the image type. Types 'pbm and 'xbm don't need to be |
| 8374 | listed; they are always supported. */); | 8374 | listed; they are always supported. */); |
| 8375 | Vimage_library_alist = Qnil; | 8375 | Vimage_library_alist = Qnil; |
| 8376 | Fput (intern ("image-library-alist"), Qrisky_local_variable, Qt); | 8376 | Fput (intern_c_string ("image-library-alist"), Qrisky_local_variable, Qt); |
| 8377 | 8377 | ||
| 8378 | DEFVAR_LISP ("max-image-size", &Vmax_image_size, | 8378 | DEFVAR_LISP ("max-image-size", &Vmax_image_size, |
| 8379 | doc: /* Maximum size of images. | 8379 | doc: /* Maximum size of images. |
| @@ -8390,105 +8390,105 @@ non-numeric, there is no explicit limit on the size of images. */); | |||
| 8390 | Vimage_type_cache = Qnil; | 8390 | Vimage_type_cache = Qnil; |
| 8391 | staticpro (&Vimage_type_cache); | 8391 | staticpro (&Vimage_type_cache); |
| 8392 | 8392 | ||
| 8393 | Qpbm = intern ("pbm"); | 8393 | Qpbm = intern_c_string ("pbm"); |
| 8394 | staticpro (&Qpbm); | 8394 | staticpro (&Qpbm); |
| 8395 | ADD_IMAGE_TYPE (Qpbm); | 8395 | ADD_IMAGE_TYPE (Qpbm); |
| 8396 | 8396 | ||
| 8397 | Qxbm = intern ("xbm"); | 8397 | Qxbm = intern_c_string ("xbm"); |
| 8398 | staticpro (&Qxbm); | 8398 | staticpro (&Qxbm); |
| 8399 | ADD_IMAGE_TYPE (Qxbm); | 8399 | ADD_IMAGE_TYPE (Qxbm); |
| 8400 | 8400 | ||
| 8401 | define_image_type (&xbm_type, 1); | 8401 | define_image_type (&xbm_type, 1); |
| 8402 | define_image_type (&pbm_type, 1); | 8402 | define_image_type (&pbm_type, 1); |
| 8403 | 8403 | ||
| 8404 | Qcount = intern ("count"); | 8404 | Qcount = intern_c_string ("count"); |
| 8405 | staticpro (&Qcount); | 8405 | staticpro (&Qcount); |
| 8406 | 8406 | ||
| 8407 | QCascent = intern (":ascent"); | 8407 | QCascent = intern_c_string (":ascent"); |
| 8408 | staticpro (&QCascent); | 8408 | staticpro (&QCascent); |
| 8409 | QCmargin = intern (":margin"); | 8409 | QCmargin = intern_c_string (":margin"); |
| 8410 | staticpro (&QCmargin); | 8410 | staticpro (&QCmargin); |
| 8411 | QCrelief = intern (":relief"); | 8411 | QCrelief = intern_c_string (":relief"); |
| 8412 | staticpro (&QCrelief); | 8412 | staticpro (&QCrelief); |
| 8413 | QCconversion = intern (":conversion"); | 8413 | QCconversion = intern_c_string (":conversion"); |
| 8414 | staticpro (&QCconversion); | 8414 | staticpro (&QCconversion); |
| 8415 | QCcolor_symbols = intern (":color-symbols"); | 8415 | QCcolor_symbols = intern_c_string (":color-symbols"); |
| 8416 | staticpro (&QCcolor_symbols); | 8416 | staticpro (&QCcolor_symbols); |
| 8417 | QCheuristic_mask = intern (":heuristic-mask"); | 8417 | QCheuristic_mask = intern_c_string (":heuristic-mask"); |
| 8418 | staticpro (&QCheuristic_mask); | 8418 | staticpro (&QCheuristic_mask); |
| 8419 | QCindex = intern (":index"); | 8419 | QCindex = intern_c_string (":index"); |
| 8420 | staticpro (&QCindex); | 8420 | staticpro (&QCindex); |
| 8421 | QCmatrix = intern (":matrix"); | 8421 | QCmatrix = intern_c_string (":matrix"); |
| 8422 | staticpro (&QCmatrix); | 8422 | staticpro (&QCmatrix); |
| 8423 | QCcolor_adjustment = intern (":color-adjustment"); | 8423 | QCcolor_adjustment = intern_c_string (":color-adjustment"); |
| 8424 | staticpro (&QCcolor_adjustment); | 8424 | staticpro (&QCcolor_adjustment); |
| 8425 | QCmask = intern (":mask"); | 8425 | QCmask = intern_c_string (":mask"); |
| 8426 | staticpro (&QCmask); | 8426 | staticpro (&QCmask); |
| 8427 | 8427 | ||
| 8428 | Qlaplace = intern ("laplace"); | 8428 | Qlaplace = intern_c_string ("laplace"); |
| 8429 | staticpro (&Qlaplace); | 8429 | staticpro (&Qlaplace); |
| 8430 | Qemboss = intern ("emboss"); | 8430 | Qemboss = intern_c_string ("emboss"); |
| 8431 | staticpro (&Qemboss); | 8431 | staticpro (&Qemboss); |
| 8432 | Qedge_detection = intern ("edge-detection"); | 8432 | Qedge_detection = intern_c_string ("edge-detection"); |
| 8433 | staticpro (&Qedge_detection); | 8433 | staticpro (&Qedge_detection); |
| 8434 | Qheuristic = intern ("heuristic"); | 8434 | Qheuristic = intern_c_string ("heuristic"); |
| 8435 | staticpro (&Qheuristic); | 8435 | staticpro (&Qheuristic); |
| 8436 | 8436 | ||
| 8437 | Qpostscript = intern ("postscript"); | 8437 | Qpostscript = intern_c_string ("postscript"); |
| 8438 | staticpro (&Qpostscript); | 8438 | staticpro (&Qpostscript); |
| 8439 | #ifdef HAVE_GHOSTSCRIPT | 8439 | #ifdef HAVE_GHOSTSCRIPT |
| 8440 | ADD_IMAGE_TYPE (Qpostscript); | 8440 | ADD_IMAGE_TYPE (Qpostscript); |
| 8441 | QCloader = intern (":loader"); | 8441 | QCloader = intern_c_string (":loader"); |
| 8442 | staticpro (&QCloader); | 8442 | staticpro (&QCloader); |
| 8443 | QCbounding_box = intern (":bounding-box"); | 8443 | QCbounding_box = intern_c_string (":bounding-box"); |
| 8444 | staticpro (&QCbounding_box); | 8444 | staticpro (&QCbounding_box); |
| 8445 | QCpt_width = intern (":pt-width"); | 8445 | QCpt_width = intern_c_string (":pt-width"); |
| 8446 | staticpro (&QCpt_width); | 8446 | staticpro (&QCpt_width); |
| 8447 | QCpt_height = intern (":pt-height"); | 8447 | QCpt_height = intern_c_string (":pt-height"); |
| 8448 | staticpro (&QCpt_height); | 8448 | staticpro (&QCpt_height); |
| 8449 | #endif /* HAVE_GHOSTSCRIPT */ | 8449 | #endif /* HAVE_GHOSTSCRIPT */ |
| 8450 | 8450 | ||
| 8451 | #if defined (HAVE_XPM) || defined (HAVE_NS) | 8451 | #if defined (HAVE_XPM) || defined (HAVE_NS) |
| 8452 | Qxpm = intern ("xpm"); | 8452 | Qxpm = intern_c_string ("xpm"); |
| 8453 | staticpro (&Qxpm); | 8453 | staticpro (&Qxpm); |
| 8454 | ADD_IMAGE_TYPE (Qxpm); | 8454 | ADD_IMAGE_TYPE (Qxpm); |
| 8455 | #endif | 8455 | #endif |
| 8456 | 8456 | ||
| 8457 | #if defined (HAVE_JPEG) || defined (HAVE_NS) | 8457 | #if defined (HAVE_JPEG) || defined (HAVE_NS) |
| 8458 | Qjpeg = intern ("jpeg"); | 8458 | Qjpeg = intern_c_string ("jpeg"); |
| 8459 | staticpro (&Qjpeg); | 8459 | staticpro (&Qjpeg); |
| 8460 | ADD_IMAGE_TYPE (Qjpeg); | 8460 | ADD_IMAGE_TYPE (Qjpeg); |
| 8461 | #endif | 8461 | #endif |
| 8462 | 8462 | ||
| 8463 | #if defined (HAVE_TIFF) || defined (HAVE_NS) | 8463 | #if defined (HAVE_TIFF) || defined (HAVE_NS) |
| 8464 | Qtiff = intern ("tiff"); | 8464 | Qtiff = intern_c_string ("tiff"); |
| 8465 | staticpro (&Qtiff); | 8465 | staticpro (&Qtiff); |
| 8466 | ADD_IMAGE_TYPE (Qtiff); | 8466 | ADD_IMAGE_TYPE (Qtiff); |
| 8467 | #endif | 8467 | #endif |
| 8468 | 8468 | ||
| 8469 | #if defined (HAVE_GIF) || defined (HAVE_NS) | 8469 | #if defined (HAVE_GIF) || defined (HAVE_NS) |
| 8470 | Qgif = intern ("gif"); | 8470 | Qgif = intern_c_string ("gif"); |
| 8471 | staticpro (&Qgif); | 8471 | staticpro (&Qgif); |
| 8472 | ADD_IMAGE_TYPE (Qgif); | 8472 | ADD_IMAGE_TYPE (Qgif); |
| 8473 | #endif | 8473 | #endif |
| 8474 | 8474 | ||
| 8475 | #if defined (HAVE_PNG) || defined (HAVE_NS) | 8475 | #if defined (HAVE_PNG) || defined (HAVE_NS) |
| 8476 | Qpng = intern ("png"); | 8476 | Qpng = intern_c_string ("png"); |
| 8477 | staticpro (&Qpng); | 8477 | staticpro (&Qpng); |
| 8478 | ADD_IMAGE_TYPE (Qpng); | 8478 | ADD_IMAGE_TYPE (Qpng); |
| 8479 | #endif | 8479 | #endif |
| 8480 | 8480 | ||
| 8481 | #if defined (HAVE_RSVG) | 8481 | #if defined (HAVE_RSVG) |
| 8482 | Qsvg = intern ("svg"); | 8482 | Qsvg = intern_c_string ("svg"); |
| 8483 | staticpro (&Qsvg); | 8483 | staticpro (&Qsvg); |
| 8484 | ADD_IMAGE_TYPE (Qsvg); | 8484 | ADD_IMAGE_TYPE (Qsvg); |
| 8485 | #ifdef HAVE_NTGUI | 8485 | #ifdef HAVE_NTGUI |
| 8486 | /* Other libraries used directly by svg code. */ | 8486 | /* Other libraries used directly by svg code. */ |
| 8487 | Qgdk_pixbuf = intern ("gdk-pixbuf"); | 8487 | Qgdk_pixbuf = intern_c_string ("gdk-pixbuf"); |
| 8488 | staticpro (&Qgdk_pixbuf); | 8488 | staticpro (&Qgdk_pixbuf); |
| 8489 | Qglib = intern ("glib"); | 8489 | Qglib = intern_c_string ("glib"); |
| 8490 | staticpro (&Qglib); | 8490 | staticpro (&Qglib); |
| 8491 | Qgobject = intern ("gobject"); | 8491 | Qgobject = intern_c_string ("gobject"); |
| 8492 | staticpro (&Qgobject); | 8492 | staticpro (&Qgobject); |
| 8493 | #endif /* HAVE_NTGUI */ | 8493 | #endif /* HAVE_NTGUI */ |
| 8494 | #endif /* HAVE_RSVG */ | 8494 | #endif /* HAVE_RSVG */ |
diff --git a/src/insdel.c b/src/insdel.c index 27901164842..bdd450558bd 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -2409,7 +2409,7 @@ syms_of_insdel () | |||
| 2409 | This affects `before-change-functions' and `after-change-functions', | 2409 | This affects `before-change-functions' and `after-change-functions', |
| 2410 | as well as hooks attached to text properties and overlays. */); | 2410 | as well as hooks attached to text properties and overlays. */); |
| 2411 | inhibit_modification_hooks = 0; | 2411 | inhibit_modification_hooks = 0; |
| 2412 | Qinhibit_modification_hooks = intern ("inhibit-modification-hooks"); | 2412 | Qinhibit_modification_hooks = intern_c_string ("inhibit-modification-hooks"); |
| 2413 | staticpro (&Qinhibit_modification_hooks); | 2413 | staticpro (&Qinhibit_modification_hooks); |
| 2414 | 2414 | ||
| 2415 | defsubr (&Scombine_after_change_execute); | 2415 | defsubr (&Scombine_after_change_execute); |
diff --git a/src/keyboard.c b/src/keyboard.c index b7399a651b7..a6bfb08e5d8 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -11708,14 +11708,14 @@ syms_of_keyboard () | |||
| 11708 | staticpro (&Vlispy_mouse_stem); | 11708 | staticpro (&Vlispy_mouse_stem); |
| 11709 | 11709 | ||
| 11710 | /* Tool-bars. */ | 11710 | /* Tool-bars. */ |
| 11711 | QCimage = intern (":image"); | 11711 | QCimage = intern_c_string (":image"); |
| 11712 | staticpro (&QCimage); | 11712 | staticpro (&QCimage); |
| 11713 | 11713 | ||
| 11714 | staticpro (&Qhelp_echo); | 11714 | staticpro (&Qhelp_echo); |
| 11715 | Qhelp_echo = intern ("help-echo"); | 11715 | Qhelp_echo = intern_c_string ("help-echo"); |
| 11716 | 11716 | ||
| 11717 | staticpro (&Qrtl); | 11717 | staticpro (&Qrtl); |
| 11718 | Qrtl = intern (":rtl"); | 11718 | Qrtl = intern_c_string (":rtl"); |
| 11719 | 11719 | ||
| 11720 | staticpro (&item_properties); | 11720 | staticpro (&item_properties); |
| 11721 | item_properties = Qnil; | 11721 | item_properties = Qnil; |
| @@ -11728,135 +11728,135 @@ syms_of_keyboard () | |||
| 11728 | staticpro (&real_this_command); | 11728 | staticpro (&real_this_command); |
| 11729 | real_this_command = Qnil; | 11729 | real_this_command = Qnil; |
| 11730 | 11730 | ||
| 11731 | Qtimer_event_handler = intern ("timer-event-handler"); | 11731 | Qtimer_event_handler = intern_c_string ("timer-event-handler"); |
| 11732 | staticpro (&Qtimer_event_handler); | 11732 | staticpro (&Qtimer_event_handler); |
| 11733 | 11733 | ||
| 11734 | Qdisabled_command_function = intern ("disabled-command-function"); | 11734 | Qdisabled_command_function = intern_c_string ("disabled-command-function"); |
| 11735 | staticpro (&Qdisabled_command_function); | 11735 | staticpro (&Qdisabled_command_function); |
| 11736 | 11736 | ||
| 11737 | Qself_insert_command = intern ("self-insert-command"); | 11737 | Qself_insert_command = intern_c_string ("self-insert-command"); |
| 11738 | staticpro (&Qself_insert_command); | 11738 | staticpro (&Qself_insert_command); |
| 11739 | 11739 | ||
| 11740 | Qforward_char = intern ("forward-char"); | 11740 | Qforward_char = intern_c_string ("forward-char"); |
| 11741 | staticpro (&Qforward_char); | 11741 | staticpro (&Qforward_char); |
| 11742 | 11742 | ||
| 11743 | Qbackward_char = intern ("backward-char"); | 11743 | Qbackward_char = intern_c_string ("backward-char"); |
| 11744 | staticpro (&Qbackward_char); | 11744 | staticpro (&Qbackward_char); |
| 11745 | 11745 | ||
| 11746 | Qdisabled = intern ("disabled"); | 11746 | Qdisabled = intern_c_string ("disabled"); |
| 11747 | staticpro (&Qdisabled); | 11747 | staticpro (&Qdisabled); |
| 11748 | 11748 | ||
| 11749 | Qundefined = intern ("undefined"); | 11749 | Qundefined = intern_c_string ("undefined"); |
| 11750 | staticpro (&Qundefined); | 11750 | staticpro (&Qundefined); |
| 11751 | 11751 | ||
| 11752 | Qpre_command_hook = intern ("pre-command-hook"); | 11752 | Qpre_command_hook = intern_c_string ("pre-command-hook"); |
| 11753 | staticpro (&Qpre_command_hook); | 11753 | staticpro (&Qpre_command_hook); |
| 11754 | 11754 | ||
| 11755 | Qpost_command_hook = intern ("post-command-hook"); | 11755 | Qpost_command_hook = intern_c_string ("post-command-hook"); |
| 11756 | staticpro (&Qpost_command_hook); | 11756 | staticpro (&Qpost_command_hook); |
| 11757 | 11757 | ||
| 11758 | Qdeferred_action_function = intern ("deferred-action-function"); | 11758 | Qdeferred_action_function = intern_c_string ("deferred-action-function"); |
| 11759 | staticpro (&Qdeferred_action_function); | 11759 | staticpro (&Qdeferred_action_function); |
| 11760 | 11760 | ||
| 11761 | Qcommand_hook_internal = intern ("command-hook-internal"); | 11761 | Qcommand_hook_internal = intern_c_string ("command-hook-internal"); |
| 11762 | staticpro (&Qcommand_hook_internal); | 11762 | staticpro (&Qcommand_hook_internal); |
| 11763 | 11763 | ||
| 11764 | Qfunction_key = intern ("function-key"); | 11764 | Qfunction_key = intern_c_string ("function-key"); |
| 11765 | staticpro (&Qfunction_key); | 11765 | staticpro (&Qfunction_key); |
| 11766 | Qmouse_click = intern ("mouse-click"); | 11766 | Qmouse_click = intern_c_string ("mouse-click"); |
| 11767 | staticpro (&Qmouse_click); | 11767 | staticpro (&Qmouse_click); |
| 11768 | #if defined (WINDOWSNT) | 11768 | #if defined (WINDOWSNT) |
| 11769 | Qlanguage_change = intern ("language-change"); | 11769 | Qlanguage_change = intern_c_string ("language-change"); |
| 11770 | staticpro (&Qlanguage_change); | 11770 | staticpro (&Qlanguage_change); |
| 11771 | #endif | 11771 | #endif |
| 11772 | Qdrag_n_drop = intern ("drag-n-drop"); | 11772 | Qdrag_n_drop = intern_c_string ("drag-n-drop"); |
| 11773 | staticpro (&Qdrag_n_drop); | 11773 | staticpro (&Qdrag_n_drop); |
| 11774 | 11774 | ||
| 11775 | Qsave_session = intern ("save-session"); | 11775 | Qsave_session = intern_c_string ("save-session"); |
| 11776 | staticpro (&Qsave_session); | 11776 | staticpro (&Qsave_session); |
| 11777 | 11777 | ||
| 11778 | #ifdef HAVE_DBUS | 11778 | #ifdef HAVE_DBUS |
| 11779 | Qdbus_event = intern ("dbus-event"); | 11779 | Qdbus_event = intern_c_string ("dbus-event"); |
| 11780 | staticpro (&Qdbus_event); | 11780 | staticpro (&Qdbus_event); |
| 11781 | #endif | 11781 | #endif |
| 11782 | 11782 | ||
| 11783 | Qmenu_enable = intern ("menu-enable"); | 11783 | Qmenu_enable = intern_c_string ("menu-enable"); |
| 11784 | staticpro (&Qmenu_enable); | 11784 | staticpro (&Qmenu_enable); |
| 11785 | QCenable = intern (":enable"); | 11785 | QCenable = intern_c_string (":enable"); |
| 11786 | staticpro (&QCenable); | 11786 | staticpro (&QCenable); |
| 11787 | QCvisible = intern (":visible"); | 11787 | QCvisible = intern_c_string (":visible"); |
| 11788 | staticpro (&QCvisible); | 11788 | staticpro (&QCvisible); |
| 11789 | QChelp = intern (":help"); | 11789 | QChelp = intern_c_string (":help"); |
| 11790 | staticpro (&QChelp); | 11790 | staticpro (&QChelp); |
| 11791 | QCfilter = intern (":filter"); | 11791 | QCfilter = intern_c_string (":filter"); |
| 11792 | staticpro (&QCfilter); | 11792 | staticpro (&QCfilter); |
| 11793 | QCbutton = intern (":button"); | 11793 | QCbutton = intern_c_string (":button"); |
| 11794 | staticpro (&QCbutton); | 11794 | staticpro (&QCbutton); |
| 11795 | QCkeys = intern (":keys"); | 11795 | QCkeys = intern_c_string (":keys"); |
| 11796 | staticpro (&QCkeys); | 11796 | staticpro (&QCkeys); |
| 11797 | QCkey_sequence = intern (":key-sequence"); | 11797 | QCkey_sequence = intern_c_string (":key-sequence"); |
| 11798 | staticpro (&QCkey_sequence); | 11798 | staticpro (&QCkey_sequence); |
| 11799 | QCtoggle = intern (":toggle"); | 11799 | QCtoggle = intern_c_string (":toggle"); |
| 11800 | staticpro (&QCtoggle); | 11800 | staticpro (&QCtoggle); |
| 11801 | QCradio = intern (":radio"); | 11801 | QCradio = intern_c_string (":radio"); |
| 11802 | staticpro (&QCradio); | 11802 | staticpro (&QCradio); |
| 11803 | 11803 | ||
| 11804 | Qmode_line = intern ("mode-line"); | 11804 | Qmode_line = intern_c_string ("mode-line"); |
| 11805 | staticpro (&Qmode_line); | 11805 | staticpro (&Qmode_line); |
| 11806 | Qvertical_line = intern ("vertical-line"); | 11806 | Qvertical_line = intern_c_string ("vertical-line"); |
| 11807 | staticpro (&Qvertical_line); | 11807 | staticpro (&Qvertical_line); |
| 11808 | Qvertical_scroll_bar = intern ("vertical-scroll-bar"); | 11808 | Qvertical_scroll_bar = intern_c_string ("vertical-scroll-bar"); |
| 11809 | staticpro (&Qvertical_scroll_bar); | 11809 | staticpro (&Qvertical_scroll_bar); |
| 11810 | Qmenu_bar = intern ("menu-bar"); | 11810 | Qmenu_bar = intern_c_string ("menu-bar"); |
| 11811 | staticpro (&Qmenu_bar); | 11811 | staticpro (&Qmenu_bar); |
| 11812 | 11812 | ||
| 11813 | #if defined (HAVE_MOUSE) || defined (HAVE_GPM) | 11813 | #if defined (HAVE_MOUSE) || defined (HAVE_GPM) |
| 11814 | Qmouse_fixup_help_message = intern ("mouse-fixup-help-message"); | 11814 | Qmouse_fixup_help_message = intern_c_string ("mouse-fixup-help-message"); |
| 11815 | staticpro (&Qmouse_fixup_help_message); | 11815 | staticpro (&Qmouse_fixup_help_message); |
| 11816 | #endif | 11816 | #endif |
| 11817 | 11817 | ||
| 11818 | Qabove_handle = intern ("above-handle"); | 11818 | Qabove_handle = intern_c_string ("above-handle"); |
| 11819 | staticpro (&Qabove_handle); | 11819 | staticpro (&Qabove_handle); |
| 11820 | Qhandle = intern ("handle"); | 11820 | Qhandle = intern_c_string ("handle"); |
| 11821 | staticpro (&Qhandle); | 11821 | staticpro (&Qhandle); |
| 11822 | Qbelow_handle = intern ("below-handle"); | 11822 | Qbelow_handle = intern_c_string ("below-handle"); |
| 11823 | staticpro (&Qbelow_handle); | 11823 | staticpro (&Qbelow_handle); |
| 11824 | Qup = intern ("up"); | 11824 | Qup = intern_c_string ("up"); |
| 11825 | staticpro (&Qup); | 11825 | staticpro (&Qup); |
| 11826 | Qdown = intern ("down"); | 11826 | Qdown = intern_c_string ("down"); |
| 11827 | staticpro (&Qdown); | 11827 | staticpro (&Qdown); |
| 11828 | Qtop = intern ("top"); | 11828 | Qtop = intern_c_string ("top"); |
| 11829 | staticpro (&Qtop); | 11829 | staticpro (&Qtop); |
| 11830 | Qbottom = intern ("bottom"); | 11830 | Qbottom = intern_c_string ("bottom"); |
| 11831 | staticpro (&Qbottom); | 11831 | staticpro (&Qbottom); |
| 11832 | Qend_scroll = intern ("end-scroll"); | 11832 | Qend_scroll = intern_c_string ("end-scroll"); |
| 11833 | staticpro (&Qend_scroll); | 11833 | staticpro (&Qend_scroll); |
| 11834 | Qratio = intern ("ratio"); | 11834 | Qratio = intern_c_string ("ratio"); |
| 11835 | staticpro (&Qratio); | 11835 | staticpro (&Qratio); |
| 11836 | 11836 | ||
| 11837 | Qevent_kind = intern ("event-kind"); | 11837 | Qevent_kind = intern_c_string ("event-kind"); |
| 11838 | staticpro (&Qevent_kind); | 11838 | staticpro (&Qevent_kind); |
| 11839 | Qevent_symbol_elements = intern ("event-symbol-elements"); | 11839 | Qevent_symbol_elements = intern_c_string ("event-symbol-elements"); |
| 11840 | staticpro (&Qevent_symbol_elements); | 11840 | staticpro (&Qevent_symbol_elements); |
| 11841 | Qevent_symbol_element_mask = intern ("event-symbol-element-mask"); | 11841 | Qevent_symbol_element_mask = intern_c_string ("event-symbol-element-mask"); |
| 11842 | staticpro (&Qevent_symbol_element_mask); | 11842 | staticpro (&Qevent_symbol_element_mask); |
| 11843 | Qmodifier_cache = intern ("modifier-cache"); | 11843 | Qmodifier_cache = intern_c_string ("modifier-cache"); |
| 11844 | staticpro (&Qmodifier_cache); | 11844 | staticpro (&Qmodifier_cache); |
| 11845 | 11845 | ||
| 11846 | Qrecompute_lucid_menubar = intern ("recompute-lucid-menubar"); | 11846 | Qrecompute_lucid_menubar = intern_c_string ("recompute-lucid-menubar"); |
| 11847 | staticpro (&Qrecompute_lucid_menubar); | 11847 | staticpro (&Qrecompute_lucid_menubar); |
| 11848 | Qactivate_menubar_hook = intern ("activate-menubar-hook"); | 11848 | Qactivate_menubar_hook = intern_c_string ("activate-menubar-hook"); |
| 11849 | staticpro (&Qactivate_menubar_hook); | 11849 | staticpro (&Qactivate_menubar_hook); |
| 11850 | 11850 | ||
| 11851 | Qpolling_period = intern ("polling-period"); | 11851 | Qpolling_period = intern_c_string ("polling-period"); |
| 11852 | staticpro (&Qpolling_period); | 11852 | staticpro (&Qpolling_period); |
| 11853 | 11853 | ||
| 11854 | Qinput_method_function = intern ("input-method-function"); | 11854 | Qinput_method_function = intern_c_string ("input-method-function"); |
| 11855 | staticpro (&Qinput_method_function); | 11855 | staticpro (&Qinput_method_function); |
| 11856 | 11856 | ||
| 11857 | Qinput_method_exit_on_first_char = intern ("input-method-exit-on-first-char"); | 11857 | Qinput_method_exit_on_first_char = intern_c_string ("input-method-exit-on-first-char"); |
| 11858 | staticpro (&Qinput_method_exit_on_first_char); | 11858 | staticpro (&Qinput_method_exit_on_first_char); |
| 11859 | Qinput_method_use_echo_area = intern ("input-method-use-echo-area"); | 11859 | Qinput_method_use_echo_area = intern_c_string ("input-method-use-echo-area"); |
| 11860 | staticpro (&Qinput_method_use_echo_area); | 11860 | staticpro (&Qinput_method_use_echo_area); |
| 11861 | 11861 | ||
| 11862 | Fset (Qinput_method_exit_on_first_char, Qnil); | 11862 | Fset (Qinput_method_exit_on_first_char, Qnil); |
| @@ -11872,7 +11872,7 @@ syms_of_keyboard () | |||
| 11872 | p < head_table + (sizeof (head_table) / sizeof (head_table[0])); | 11872 | p < head_table + (sizeof (head_table) / sizeof (head_table[0])); |
| 11873 | p++) | 11873 | p++) |
| 11874 | { | 11874 | { |
| 11875 | *p->var = intern (p->name); | 11875 | *p->var = intern_c_string (p->name); |
| 11876 | staticpro (p->var); | 11876 | staticpro (p->var); |
| 11877 | Fput (*p->var, Qevent_kind, *p->kind); | 11877 | Fput (*p->var, Qevent_kind, *p->kind); |
| 11878 | Fput (*p->var, Qevent_symbol_elements, Fcons (*p->var, Qnil)); | 11878 | Fput (*p->var, Qevent_symbol_elements, Fcons (*p->var, Qnil)); |
| @@ -11895,7 +11895,7 @@ syms_of_keyboard () | |||
| 11895 | modifier_symbols = Fmake_vector (make_number (len), Qnil); | 11895 | modifier_symbols = Fmake_vector (make_number (len), Qnil); |
| 11896 | for (i = 0; i < len; i++) | 11896 | for (i = 0; i < len; i++) |
| 11897 | if (modifier_names[i]) | 11897 | if (modifier_names[i]) |
| 11898 | XVECTOR (modifier_symbols)->contents[i] = intern (modifier_names[i]); | 11898 | XVECTOR (modifier_symbols)->contents[i] = intern_c_string (modifier_names[i]); |
| 11899 | staticpro (&modifier_symbols); | 11899 | staticpro (&modifier_symbols); |
| 11900 | } | 11900 | } |
| 11901 | 11901 | ||
| @@ -11908,7 +11908,7 @@ syms_of_keyboard () | |||
| 11908 | raw_keybuf = Fmake_vector (make_number (30), Qnil); | 11908 | raw_keybuf = Fmake_vector (make_number (30), Qnil); |
| 11909 | staticpro (&raw_keybuf); | 11909 | staticpro (&raw_keybuf); |
| 11910 | 11910 | ||
| 11911 | Qextended_command_history = intern ("extended-command-history"); | 11911 | Qextended_command_history = intern_c_string ("extended-command-history"); |
| 11912 | Fset (Qextended_command_history, Qnil); | 11912 | Fset (Qextended_command_history, Qnil); |
| 11913 | staticpro (&Qextended_command_history); | 11913 | staticpro (&Qextended_command_history); |
| 11914 | 11914 | ||
| @@ -12211,7 +12211,7 @@ The command loop sets this to nil before each command, | |||
| 12211 | and tests the value when the command returns. | 12211 | and tests the value when the command returns. |
| 12212 | Buffer modification stores t in this variable. */); | 12212 | Buffer modification stores t in this variable. */); |
| 12213 | Vdeactivate_mark = Qnil; | 12213 | Vdeactivate_mark = Qnil; |
| 12214 | Qdeactivate_mark = intern ("deactivate-mark"); | 12214 | Qdeactivate_mark = intern_c_string ("deactivate-mark"); |
| 12215 | staticpro (&Qdeactivate_mark); | 12215 | staticpro (&Qdeactivate_mark); |
| 12216 | 12216 | ||
| 12217 | DEFVAR_LISP ("command-hook-internal", &Vcommand_hook_internal, | 12217 | DEFVAR_LISP ("command-hook-internal", &Vcommand_hook_internal, |
| @@ -12236,7 +12236,7 @@ might happen repeatedly and make Emacs nonfunctional. */); | |||
| 12236 | DEFVAR_LISP ("echo-area-clear-hook", ..., | 12236 | DEFVAR_LISP ("echo-area-clear-hook", ..., |
| 12237 | doc: /* Normal hook run when clearing the echo area. */); | 12237 | doc: /* Normal hook run when clearing the echo area. */); |
| 12238 | #endif | 12238 | #endif |
| 12239 | Qecho_area_clear_hook = intern ("echo-area-clear-hook"); | 12239 | Qecho_area_clear_hook = intern_c_string ("echo-area-clear-hook"); |
| 12240 | staticpro (&Qecho_area_clear_hook); | 12240 | staticpro (&Qecho_area_clear_hook); |
| 12241 | Fset (Qecho_area_clear_hook, Qnil); | 12241 | Fset (Qecho_area_clear_hook, Qnil); |
| 12242 | 12242 | ||
| @@ -12277,7 +12277,7 @@ and the minor mode maps regardless of `overriding-local-map'. */); | |||
| 12277 | 12277 | ||
| 12278 | DEFVAR_LISP ("special-event-map", &Vspecial_event_map, | 12278 | DEFVAR_LISP ("special-event-map", &Vspecial_event_map, |
| 12279 | doc: /* Keymap defining bindings for special events to execute at low level. */); | 12279 | doc: /* Keymap defining bindings for special events to execute at low level. */); |
| 12280 | Vspecial_event_map = Fcons (intern ("keymap"), Qnil); | 12280 | Vspecial_event_map = Fcons (intern_c_string ("keymap"), Qnil); |
| 12281 | 12281 | ||
| 12282 | DEFVAR_LISP ("track-mouse", &do_mouse_tracking, | 12282 | DEFVAR_LISP ("track-mouse", &do_mouse_tracking, |
| 12283 | doc: /* *Non-nil means generate motion events for mouse motion. */); | 12283 | doc: /* *Non-nil means generate motion events for mouse motion. */); |
diff --git a/src/keymap.c b/src/keymap.c index 2dddeab998d..edf535f7610 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -191,7 +191,7 @@ initial_define_key (keymap, key, defname) | |||
| 191 | int key; | 191 | int key; |
| 192 | char *defname; | 192 | char *defname; |
| 193 | { | 193 | { |
| 194 | store_in_keymap (keymap, make_number (key), intern (defname)); | 194 | store_in_keymap (keymap, make_number (key), intern_c_string (defname)); |
| 195 | } | 195 | } |
| 196 | 196 | ||
| 197 | void | 197 | void |
| @@ -200,7 +200,7 @@ initial_define_lispy_key (keymap, keyname, defname) | |||
| 200 | char *keyname; | 200 | char *keyname; |
| 201 | char *defname; | 201 | char *defname; |
| 202 | { | 202 | { |
| 203 | store_in_keymap (keymap, intern (keyname), intern (defname)); | 203 | store_in_keymap (keymap, intern_c_string (keyname), intern_c_string (defname)); |
| 204 | } | 204 | } |
| 205 | 205 | ||
| 206 | DEFUN ("keymapp", Fkeymapp, Skeymapp, 1, 1, 0, | 206 | DEFUN ("keymapp", Fkeymapp, Skeymapp, 1, 1, 0, |
| @@ -3911,14 +3911,14 @@ Return list of symbols found. */) | |||
| 3911 | void | 3911 | void |
| 3912 | syms_of_keymap () | 3912 | syms_of_keymap () |
| 3913 | { | 3913 | { |
| 3914 | Qkeymap = intern ("keymap"); | 3914 | Qkeymap = intern_c_string ("keymap"); |
| 3915 | staticpro (&Qkeymap); | 3915 | staticpro (&Qkeymap); |
| 3916 | staticpro (&apropos_predicate); | 3916 | staticpro (&apropos_predicate); |
| 3917 | staticpro (&apropos_accumulate); | 3917 | staticpro (&apropos_accumulate); |
| 3918 | apropos_predicate = Qnil; | 3918 | apropos_predicate = Qnil; |
| 3919 | apropos_accumulate = Qnil; | 3919 | apropos_accumulate = Qnil; |
| 3920 | 3920 | ||
| 3921 | Qkeymap_canonicalize = intern ("keymap-canonicalize"); | 3921 | Qkeymap_canonicalize = intern_c_string ("keymap-canonicalize"); |
| 3922 | staticpro (&Qkeymap_canonicalize); | 3922 | staticpro (&Qkeymap_canonicalize); |
| 3923 | 3923 | ||
| 3924 | /* Now we are ready to set up this property, so we can | 3924 | /* Now we are ready to set up this property, so we can |
| @@ -3930,19 +3930,19 @@ syms_of_keymap () | |||
| 3930 | pointed to by a C variable */ | 3930 | pointed to by a C variable */ |
| 3931 | 3931 | ||
| 3932 | global_map = Fmake_keymap (Qnil); | 3932 | global_map = Fmake_keymap (Qnil); |
| 3933 | Fset (intern ("global-map"), global_map); | 3933 | Fset (intern_c_string ("global-map"), global_map); |
| 3934 | 3934 | ||
| 3935 | current_global_map = global_map; | 3935 | current_global_map = global_map; |
| 3936 | staticpro (&global_map); | 3936 | staticpro (&global_map); |
| 3937 | staticpro (¤t_global_map); | 3937 | staticpro (¤t_global_map); |
| 3938 | 3938 | ||
| 3939 | meta_map = Fmake_keymap (Qnil); | 3939 | meta_map = Fmake_keymap (Qnil); |
| 3940 | Fset (intern ("esc-map"), meta_map); | 3940 | Fset (intern_c_string ("esc-map"), meta_map); |
| 3941 | Ffset (intern ("ESC-prefix"), meta_map); | 3941 | Ffset (intern_c_string ("ESC-prefix"), meta_map); |
| 3942 | 3942 | ||
| 3943 | control_x_map = Fmake_keymap (Qnil); | 3943 | control_x_map = Fmake_keymap (Qnil); |
| 3944 | Fset (intern ("ctl-x-map"), control_x_map); | 3944 | Fset (intern_c_string ("ctl-x-map"), control_x_map); |
| 3945 | Ffset (intern ("Control-X-prefix"), control_x_map); | 3945 | Ffset (intern_c_string ("Control-X-prefix"), control_x_map); |
| 3946 | 3946 | ||
| 3947 | exclude_keys | 3947 | exclude_keys |
| 3948 | = Fcons (Fcons (build_string ("DEL"), build_string ("\\d")), | 3948 | = Fcons (Fcons (build_string ("DEL"), build_string ("\\d")), |
| @@ -4028,37 +4028,37 @@ preferred. */); | |||
| 4028 | where_is_preferred_modifier = 0; | 4028 | where_is_preferred_modifier = 0; |
| 4029 | 4029 | ||
| 4030 | staticpro (&Vmouse_events); | 4030 | staticpro (&Vmouse_events); |
| 4031 | Vmouse_events = Fcons (intern ("menu-bar"), | 4031 | Vmouse_events = pure_cons (intern_c_string ("menu-bar"), |
| 4032 | Fcons (intern ("tool-bar"), | 4032 | pure_cons (intern_c_string ("tool-bar"), |
| 4033 | Fcons (intern ("header-line"), | 4033 | pure_cons (intern_c_string ("header-line"), |
| 4034 | Fcons (intern ("mode-line"), | 4034 | pure_cons (intern_c_string ("mode-line"), |
| 4035 | Fcons (intern ("mouse-1"), | 4035 | pure_cons (intern_c_string ("mouse-1"), |
| 4036 | Fcons (intern ("mouse-2"), | 4036 | pure_cons (intern_c_string ("mouse-2"), |
| 4037 | Fcons (intern ("mouse-3"), | 4037 | pure_cons (intern_c_string ("mouse-3"), |
| 4038 | Fcons (intern ("mouse-4"), | 4038 | pure_cons (intern_c_string ("mouse-4"), |
| 4039 | Fcons (intern ("mouse-5"), | 4039 | pure_cons (intern_c_string ("mouse-5"), |
| 4040 | Qnil))))))))); | 4040 | Qnil))))))))); |
| 4041 | 4041 | ||
| 4042 | 4042 | ||
| 4043 | Qsingle_key_description = intern ("single-key-description"); | 4043 | Qsingle_key_description = intern_c_string ("single-key-description"); |
| 4044 | staticpro (&Qsingle_key_description); | 4044 | staticpro (&Qsingle_key_description); |
| 4045 | 4045 | ||
| 4046 | Qkey_description = intern ("key-description"); | 4046 | Qkey_description = intern_c_string ("key-description"); |
| 4047 | staticpro (&Qkey_description); | 4047 | staticpro (&Qkey_description); |
| 4048 | 4048 | ||
| 4049 | Qkeymapp = intern ("keymapp"); | 4049 | Qkeymapp = intern_c_string ("keymapp"); |
| 4050 | staticpro (&Qkeymapp); | 4050 | staticpro (&Qkeymapp); |
| 4051 | 4051 | ||
| 4052 | Qnon_ascii = intern ("non-ascii"); | 4052 | Qnon_ascii = intern_c_string ("non-ascii"); |
| 4053 | staticpro (&Qnon_ascii); | 4053 | staticpro (&Qnon_ascii); |
| 4054 | 4054 | ||
| 4055 | Qmenu_item = intern ("menu-item"); | 4055 | Qmenu_item = intern_c_string ("menu-item"); |
| 4056 | staticpro (&Qmenu_item); | 4056 | staticpro (&Qmenu_item); |
| 4057 | 4057 | ||
| 4058 | Qremap = intern ("remap"); | 4058 | Qremap = intern_c_string ("remap"); |
| 4059 | staticpro (&Qremap); | 4059 | staticpro (&Qremap); |
| 4060 | 4060 | ||
| 4061 | QCadvertised_binding = intern (":advertised-binding"); | 4061 | QCadvertised_binding = intern_c_string (":advertised-binding"); |
| 4062 | staticpro (&QCadvertised_binding); | 4062 | staticpro (&QCadvertised_binding); |
| 4063 | 4063 | ||
| 4064 | command_remapping_vector = Fmake_vector (make_number (2), Qremap); | 4064 | command_remapping_vector = Fmake_vector (make_number (2), Qremap); |
diff --git a/src/lread.c b/src/lread.c index 517f14baf56..a75836f0462 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -3917,7 +3917,7 @@ init_obarray () | |||
| 3917 | 3917 | ||
| 3918 | XSETFASTINT (oblength, OBARRAY_SIZE); | 3918 | XSETFASTINT (oblength, OBARRAY_SIZE); |
| 3919 | 3919 | ||
| 3920 | Qnil = Fmake_symbol (make_pure_string ("nil", 3, 3, 0)); | 3920 | Qnil = Fmake_symbol (make_pure_c_string ("nil")); |
| 3921 | Vobarray = Fmake_vector (oblength, make_number (0)); | 3921 | Vobarray = Fmake_vector (oblength, make_number (0)); |
| 3922 | initial_obarray = Vobarray; | 3922 | initial_obarray = Vobarray; |
| 3923 | staticpro (&initial_obarray); | 3923 | staticpro (&initial_obarray); |
| @@ -3932,12 +3932,12 @@ init_obarray () | |||
| 3932 | tem = &XVECTOR (Vobarray)->contents[hash]; | 3932 | tem = &XVECTOR (Vobarray)->contents[hash]; |
| 3933 | *tem = Qnil; | 3933 | *tem = Qnil; |
| 3934 | 3934 | ||
| 3935 | Qunbound = Fmake_symbol (make_pure_string ("unbound", 7, 7, 0)); | 3935 | Qunbound = Fmake_symbol (make_pure_c_string ("unbound")); |
| 3936 | XSYMBOL (Qnil)->function = Qunbound; | 3936 | XSYMBOL (Qnil)->function = Qunbound; |
| 3937 | XSYMBOL (Qunbound)->value = Qunbound; | 3937 | XSYMBOL (Qunbound)->value = Qunbound; |
| 3938 | XSYMBOL (Qunbound)->function = Qunbound; | 3938 | XSYMBOL (Qunbound)->function = Qunbound; |
| 3939 | 3939 | ||
| 3940 | Qt = intern ("t"); | 3940 | Qt = intern_c_string ("t"); |
| 3941 | XSYMBOL (Qnil)->value = Qnil; | 3941 | XSYMBOL (Qnil)->value = Qnil; |
| 3942 | XSYMBOL (Qnil)->plist = Qnil; | 3942 | XSYMBOL (Qnil)->plist = Qnil; |
| 3943 | XSYMBOL (Qt)->value = Qt; | 3943 | XSYMBOL (Qt)->value = Qt; |
| @@ -3946,7 +3946,7 @@ init_obarray () | |||
| 3946 | /* Qt is correct even if CANNOT_DUMP. loadup.el will set to nil at end. */ | 3946 | /* Qt is correct even if CANNOT_DUMP. loadup.el will set to nil at end. */ |
| 3947 | Vpurify_flag = Qt; | 3947 | Vpurify_flag = Qt; |
| 3948 | 3948 | ||
| 3949 | Qvariable_documentation = intern ("variable-documentation"); | 3949 | Qvariable_documentation = intern_c_string ("variable-documentation"); |
| 3950 | staticpro (&Qvariable_documentation); | 3950 | staticpro (&Qvariable_documentation); |
| 3951 | 3951 | ||
| 3952 | read_buffer_size = 100 + MAX_MULTIBYTE_LENGTH; | 3952 | read_buffer_size = 100 + MAX_MULTIBYTE_LENGTH; |
| @@ -3958,7 +3958,7 @@ defsubr (sname) | |||
| 3958 | struct Lisp_Subr *sname; | 3958 | struct Lisp_Subr *sname; |
| 3959 | { | 3959 | { |
| 3960 | Lisp_Object sym; | 3960 | Lisp_Object sym; |
| 3961 | sym = intern (sname->symbol_name); | 3961 | sym = intern_c_string (sname->symbol_name); |
| 3962 | XSETPVECTYPE (sname, PVEC_SUBR); | 3962 | XSETPVECTYPE (sname, PVEC_SUBR); |
| 3963 | XSETSUBR (XSYMBOL (sym)->function, sname); | 3963 | XSETSUBR (XSYMBOL (sym)->function, sname); |
| 3964 | } | 3964 | } |
| @@ -4349,7 +4349,7 @@ customize `jka-compr-load-suffixes' rather than the present variable. */); | |||
| 4349 | 4349 | ||
| 4350 | DEFVAR_BOOL ("load-in-progress", &load_in_progress, | 4350 | DEFVAR_BOOL ("load-in-progress", &load_in_progress, |
| 4351 | doc: /* Non-nil if inside of `load'. */); | 4351 | doc: /* Non-nil if inside of `load'. */); |
| 4352 | Qload_in_progress = intern ("load-in-progress"); | 4352 | Qload_in_progress = intern_c_string ("load-in-progress"); |
| 4353 | staticpro (&Qload_in_progress); | 4353 | staticpro (&Qload_in_progress); |
| 4354 | 4354 | ||
| 4355 | DEFVAR_LISP ("after-load-alist", &Vafter_load_alist, | 4355 | DEFVAR_LISP ("after-load-alist", &Vafter_load_alist, |
| @@ -4463,7 +4463,7 @@ from the file, and matches them against this regular expression. | |||
| 4463 | When the regular expression matches, the file is considered to be safe | 4463 | When the regular expression matches, the file is considered to be safe |
| 4464 | to load. See also `load-dangerous-libraries'. */); | 4464 | to load. See also `load-dangerous-libraries'. */); |
| 4465 | Vbytecomp_version_regexp | 4465 | Vbytecomp_version_regexp |
| 4466 | = build_string ("^;;;.\\(in Emacs version\\|bytecomp version FSF\\)"); | 4466 | = make_pure_c_string ("^;;;.\\(in Emacs version\\|bytecomp version FSF\\)"); |
| 4467 | 4467 | ||
| 4468 | DEFVAR_LISP ("eval-buffer-list", &Veval_buffer_list, | 4468 | DEFVAR_LISP ("eval-buffer-list", &Veval_buffer_list, |
| 4469 | doc: /* List of buffers being read from by calls to `eval-buffer' and `eval-region'. */); | 4469 | doc: /* List of buffers being read from by calls to `eval-buffer' and `eval-region'. */); |
| @@ -4472,7 +4472,7 @@ to load. See also `load-dangerous-libraries'. */); | |||
| 4472 | DEFVAR_LISP ("old-style-backquotes", &Vold_style_backquotes, | 4472 | DEFVAR_LISP ("old-style-backquotes", &Vold_style_backquotes, |
| 4473 | doc: /* Set to non-nil when `read' encounters an old-style backquote. */); | 4473 | doc: /* Set to non-nil when `read' encounters an old-style backquote. */); |
| 4474 | Vold_style_backquotes = Qnil; | 4474 | Vold_style_backquotes = Qnil; |
| 4475 | Qold_style_backquotes = intern ("old-style-backquotes"); | 4475 | Qold_style_backquotes = intern_c_string ("old-style-backquotes"); |
| 4476 | staticpro (&Qold_style_backquotes); | 4476 | staticpro (&Qold_style_backquotes); |
| 4477 | 4477 | ||
| 4478 | /* Vsource_directory was initialized in init_lread. */ | 4478 | /* Vsource_directory was initialized in init_lread. */ |
| @@ -4480,55 +4480,55 @@ to load. See also `load-dangerous-libraries'. */); | |||
| 4480 | load_descriptor_list = Qnil; | 4480 | load_descriptor_list = Qnil; |
| 4481 | staticpro (&load_descriptor_list); | 4481 | staticpro (&load_descriptor_list); |
| 4482 | 4482 | ||
| 4483 | Qcurrent_load_list = intern ("current-load-list"); | 4483 | Qcurrent_load_list = intern_c_string ("current-load-list"); |
| 4484 | staticpro (&Qcurrent_load_list); | 4484 | staticpro (&Qcurrent_load_list); |
| 4485 | 4485 | ||
| 4486 | Qstandard_input = intern ("standard-input"); | 4486 | Qstandard_input = intern_c_string ("standard-input"); |
| 4487 | staticpro (&Qstandard_input); | 4487 | staticpro (&Qstandard_input); |
| 4488 | 4488 | ||
| 4489 | Qread_char = intern ("read-char"); | 4489 | Qread_char = intern_c_string ("read-char"); |
| 4490 | staticpro (&Qread_char); | 4490 | staticpro (&Qread_char); |
| 4491 | 4491 | ||
| 4492 | Qget_file_char = intern ("get-file-char"); | 4492 | Qget_file_char = intern_c_string ("get-file-char"); |
| 4493 | staticpro (&Qget_file_char); | 4493 | staticpro (&Qget_file_char); |
| 4494 | 4494 | ||
| 4495 | Qget_emacs_mule_file_char = intern ("get-emacs-mule-file-char"); | 4495 | Qget_emacs_mule_file_char = intern_c_string ("get-emacs-mule-file-char"); |
| 4496 | staticpro (&Qget_emacs_mule_file_char); | 4496 | staticpro (&Qget_emacs_mule_file_char); |
| 4497 | 4497 | ||
| 4498 | Qload_force_doc_strings = intern ("load-force-doc-strings"); | 4498 | Qload_force_doc_strings = intern_c_string ("load-force-doc-strings"); |
| 4499 | staticpro (&Qload_force_doc_strings); | 4499 | staticpro (&Qload_force_doc_strings); |
| 4500 | 4500 | ||
| 4501 | Qbackquote = intern ("`"); | 4501 | Qbackquote = intern_c_string ("`"); |
| 4502 | staticpro (&Qbackquote); | 4502 | staticpro (&Qbackquote); |
| 4503 | Qcomma = intern (","); | 4503 | Qcomma = intern_c_string (","); |
| 4504 | staticpro (&Qcomma); | 4504 | staticpro (&Qcomma); |
| 4505 | Qcomma_at = intern (",@"); | 4505 | Qcomma_at = intern_c_string (",@"); |
| 4506 | staticpro (&Qcomma_at); | 4506 | staticpro (&Qcomma_at); |
| 4507 | Qcomma_dot = intern (",."); | 4507 | Qcomma_dot = intern_c_string (",."); |
| 4508 | staticpro (&Qcomma_dot); | 4508 | staticpro (&Qcomma_dot); |
| 4509 | 4509 | ||
| 4510 | Qinhibit_file_name_operation = intern ("inhibit-file-name-operation"); | 4510 | Qinhibit_file_name_operation = intern_c_string ("inhibit-file-name-operation"); |
| 4511 | staticpro (&Qinhibit_file_name_operation); | 4511 | staticpro (&Qinhibit_file_name_operation); |
| 4512 | 4512 | ||
| 4513 | Qascii_character = intern ("ascii-character"); | 4513 | Qascii_character = intern_c_string ("ascii-character"); |
| 4514 | staticpro (&Qascii_character); | 4514 | staticpro (&Qascii_character); |
| 4515 | 4515 | ||
| 4516 | Qfunction = intern ("function"); | 4516 | Qfunction = intern_c_string ("function"); |
| 4517 | staticpro (&Qfunction); | 4517 | staticpro (&Qfunction); |
| 4518 | 4518 | ||
| 4519 | Qload = intern ("load"); | 4519 | Qload = intern_c_string ("load"); |
| 4520 | staticpro (&Qload); | 4520 | staticpro (&Qload); |
| 4521 | 4521 | ||
| 4522 | Qload_file_name = intern ("load-file-name"); | 4522 | Qload_file_name = intern_c_string ("load-file-name"); |
| 4523 | staticpro (&Qload_file_name); | 4523 | staticpro (&Qload_file_name); |
| 4524 | 4524 | ||
| 4525 | Qeval_buffer_list = intern ("eval-buffer-list"); | 4525 | Qeval_buffer_list = intern_c_string ("eval-buffer-list"); |
| 4526 | staticpro (&Qeval_buffer_list); | 4526 | staticpro (&Qeval_buffer_list); |
| 4527 | 4527 | ||
| 4528 | Qfile_truename = intern ("file-truename"); | 4528 | Qfile_truename = intern_c_string ("file-truename"); |
| 4529 | staticpro (&Qfile_truename) ; | 4529 | staticpro (&Qfile_truename) ; |
| 4530 | 4530 | ||
| 4531 | Qdo_after_load_evaluation = intern ("do-after-load-evaluation"); | 4531 | Qdo_after_load_evaluation = intern_c_string ("do-after-load-evaluation"); |
| 4532 | staticpro (&Qdo_after_load_evaluation) ; | 4532 | staticpro (&Qdo_after_load_evaluation) ; |
| 4533 | 4533 | ||
| 4534 | staticpro (&dump_path); | 4534 | staticpro (&dump_path); |
| @@ -4541,19 +4541,19 @@ to load. See also `load-dangerous-libraries'. */); | |||
| 4541 | Vloads_in_progress = Qnil; | 4541 | Vloads_in_progress = Qnil; |
| 4542 | staticpro (&Vloads_in_progress); | 4542 | staticpro (&Vloads_in_progress); |
| 4543 | 4543 | ||
| 4544 | Qhash_table = intern ("hash-table"); | 4544 | Qhash_table = intern_c_string ("hash-table"); |
| 4545 | staticpro (&Qhash_table); | 4545 | staticpro (&Qhash_table); |
| 4546 | Qdata = intern ("data"); | 4546 | Qdata = intern_c_string ("data"); |
| 4547 | staticpro (&Qdata); | 4547 | staticpro (&Qdata); |
| 4548 | Qtest = intern ("test"); | 4548 | Qtest = intern_c_string ("test"); |
| 4549 | staticpro (&Qtest); | 4549 | staticpro (&Qtest); |
| 4550 | Qsize = intern ("size"); | 4550 | Qsize = intern_c_string ("size"); |
| 4551 | staticpro (&Qsize); | 4551 | staticpro (&Qsize); |
| 4552 | Qweakness = intern ("weakness"); | 4552 | Qweakness = intern_c_string ("weakness"); |
| 4553 | staticpro (&Qweakness); | 4553 | staticpro (&Qweakness); |
| 4554 | Qrehash_size = intern ("rehash-size"); | 4554 | Qrehash_size = intern_c_string ("rehash-size"); |
| 4555 | staticpro (&Qrehash_size); | 4555 | staticpro (&Qrehash_size); |
| 4556 | Qrehash_threshold = intern ("rehash-threshold"); | 4556 | Qrehash_threshold = intern_c_string ("rehash-threshold"); |
| 4557 | staticpro (&Qrehash_threshold); | 4557 | staticpro (&Qrehash_threshold); |
| 4558 | } | 4558 | } |
| 4559 | 4559 | ||
diff --git a/src/macros.c b/src/macros.c index 0d69b9203cf..f070df0ad34 100644 --- a/src/macros.c +++ b/src/macros.c | |||
| @@ -376,9 +376,9 @@ init_macros () | |||
| 376 | void | 376 | void |
| 377 | syms_of_macros () | 377 | syms_of_macros () |
| 378 | { | 378 | { |
| 379 | Qexecute_kbd_macro = intern ("execute-kbd-macro"); | 379 | Qexecute_kbd_macro = intern_c_string ("execute-kbd-macro"); |
| 380 | staticpro (&Qexecute_kbd_macro); | 380 | staticpro (&Qexecute_kbd_macro); |
| 381 | Qkbd_macro_termination_hook = intern ("kbd-macro-termination-hook"); | 381 | Qkbd_macro_termination_hook = intern_c_string ("kbd-macro-termination-hook"); |
| 382 | staticpro (&Qkbd_macro_termination_hook); | 382 | staticpro (&Qkbd_macro_termination_hook); |
| 383 | 383 | ||
| 384 | defsubr (&Sstart_kbd_macro); | 384 | defsubr (&Sstart_kbd_macro); |
diff --git a/src/minibuf.c b/src/minibuf.c index 5cf89f286a1..3c070d6fbab 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -2074,57 +2074,57 @@ syms_of_minibuf () | |||
| 2074 | minibuf_save_list = Qnil; | 2074 | minibuf_save_list = Qnil; |
| 2075 | staticpro (&minibuf_save_list); | 2075 | staticpro (&minibuf_save_list); |
| 2076 | 2076 | ||
| 2077 | Qcompletion_ignore_case = intern ("completion-ignore-case"); | 2077 | Qcompletion_ignore_case = intern_c_string ("completion-ignore-case"); |
| 2078 | staticpro (&Qcompletion_ignore_case); | 2078 | staticpro (&Qcompletion_ignore_case); |
| 2079 | 2079 | ||
| 2080 | Qread_file_name_internal = intern ("read-file-name-internal"); | 2080 | Qread_file_name_internal = intern_c_string ("read-file-name-internal"); |
| 2081 | staticpro (&Qread_file_name_internal); | 2081 | staticpro (&Qread_file_name_internal); |
| 2082 | 2082 | ||
| 2083 | Qminibuffer_default = intern ("minibuffer-default"); | 2083 | Qminibuffer_default = intern_c_string ("minibuffer-default"); |
| 2084 | staticpro (&Qminibuffer_default); | 2084 | staticpro (&Qminibuffer_default); |
| 2085 | Fset (Qminibuffer_default, Qnil); | 2085 | Fset (Qminibuffer_default, Qnil); |
| 2086 | 2086 | ||
| 2087 | Qminibuffer_completion_table = intern ("minibuffer-completion-table"); | 2087 | Qminibuffer_completion_table = intern_c_string ("minibuffer-completion-table"); |
| 2088 | staticpro (&Qminibuffer_completion_table); | 2088 | staticpro (&Qminibuffer_completion_table); |
| 2089 | 2089 | ||
| 2090 | Qminibuffer_completion_confirm = intern ("minibuffer-completion-confirm"); | 2090 | Qminibuffer_completion_confirm = intern_c_string ("minibuffer-completion-confirm"); |
| 2091 | staticpro (&Qminibuffer_completion_confirm); | 2091 | staticpro (&Qminibuffer_completion_confirm); |
| 2092 | 2092 | ||
| 2093 | Qminibuffer_completion_predicate = intern ("minibuffer-completion-predicate"); | 2093 | Qminibuffer_completion_predicate = intern_c_string ("minibuffer-completion-predicate"); |
| 2094 | staticpro (&Qminibuffer_completion_predicate); | 2094 | staticpro (&Qminibuffer_completion_predicate); |
| 2095 | 2095 | ||
| 2096 | staticpro (&last_minibuf_string); | 2096 | staticpro (&last_minibuf_string); |
| 2097 | last_minibuf_string = Qnil; | 2097 | last_minibuf_string = Qnil; |
| 2098 | 2098 | ||
| 2099 | Quser_variable_p = intern ("user-variable-p"); | 2099 | Quser_variable_p = intern_c_string ("user-variable-p"); |
| 2100 | staticpro (&Quser_variable_p); | 2100 | staticpro (&Quser_variable_p); |
| 2101 | 2101 | ||
| 2102 | Qminibuffer_history = intern ("minibuffer-history"); | 2102 | Qminibuffer_history = intern_c_string ("minibuffer-history"); |
| 2103 | staticpro (&Qminibuffer_history); | 2103 | staticpro (&Qminibuffer_history); |
| 2104 | 2104 | ||
| 2105 | Qbuffer_name_history = intern ("buffer-name-history"); | 2105 | Qbuffer_name_history = intern_c_string ("buffer-name-history"); |
| 2106 | staticpro (&Qbuffer_name_history); | 2106 | staticpro (&Qbuffer_name_history); |
| 2107 | Fset (Qbuffer_name_history, Qnil); | 2107 | Fset (Qbuffer_name_history, Qnil); |
| 2108 | 2108 | ||
| 2109 | Qminibuffer_setup_hook = intern ("minibuffer-setup-hook"); | 2109 | Qminibuffer_setup_hook = intern_c_string ("minibuffer-setup-hook"); |
| 2110 | staticpro (&Qminibuffer_setup_hook); | 2110 | staticpro (&Qminibuffer_setup_hook); |
| 2111 | 2111 | ||
| 2112 | Qminibuffer_exit_hook = intern ("minibuffer-exit-hook"); | 2112 | Qminibuffer_exit_hook = intern_c_string ("minibuffer-exit-hook"); |
| 2113 | staticpro (&Qminibuffer_exit_hook); | 2113 | staticpro (&Qminibuffer_exit_hook); |
| 2114 | 2114 | ||
| 2115 | Qhistory_length = intern ("history-length"); | 2115 | Qhistory_length = intern_c_string ("history-length"); |
| 2116 | staticpro (&Qhistory_length); | 2116 | staticpro (&Qhistory_length); |
| 2117 | 2117 | ||
| 2118 | Qcurrent_input_method = intern ("current-input-method"); | 2118 | Qcurrent_input_method = intern_c_string ("current-input-method"); |
| 2119 | staticpro (&Qcurrent_input_method); | 2119 | staticpro (&Qcurrent_input_method); |
| 2120 | 2120 | ||
| 2121 | Qactivate_input_method = intern ("activate-input-method"); | 2121 | Qactivate_input_method = intern_c_string ("activate-input-method"); |
| 2122 | staticpro (&Qactivate_input_method); | 2122 | staticpro (&Qactivate_input_method); |
| 2123 | 2123 | ||
| 2124 | Qcase_fold_search = intern ("case-fold-search"); | 2124 | Qcase_fold_search = intern_c_string ("case-fold-search"); |
| 2125 | staticpro (&Qcase_fold_search); | 2125 | staticpro (&Qcase_fold_search); |
| 2126 | 2126 | ||
| 2127 | Qread_expression_history = intern ("read-expression-history"); | 2127 | Qread_expression_history = intern_c_string ("read-expression-history"); |
| 2128 | staticpro (&Qread_expression_history); | 2128 | staticpro (&Qread_expression_history); |
| 2129 | 2129 | ||
| 2130 | DEFVAR_LISP ("read-buffer-function", &Vread_buffer_function, | 2130 | DEFVAR_LISP ("read-buffer-function", &Vread_buffer_function, |
| @@ -2257,7 +2257,7 @@ properties. */); | |||
| 2257 | /* We use `intern' here instead of Qread_only to avoid | 2257 | /* We use `intern' here instead of Qread_only to avoid |
| 2258 | initialization-order problems. */ | 2258 | initialization-order problems. */ |
| 2259 | Vminibuffer_prompt_properties | 2259 | Vminibuffer_prompt_properties |
| 2260 | = Fcons (intern ("read-only"), Fcons (Qt, Qnil)); | 2260 | = Fcons (intern_c_string ("read-only"), Fcons (Qt, Qnil)); |
| 2261 | 2261 | ||
| 2262 | DEFVAR_LISP ("read-expression-map", &Vread_expression_map, | 2262 | DEFVAR_LISP ("read-expression-map", &Vread_expression_map, |
| 2263 | doc: /* Minibuffer keymap used for reading Lisp expressions. */); | 2263 | doc: /* Minibuffer keymap used for reading Lisp expressions. */); |
diff --git a/src/print.c b/src/print.c index f90ec27a0a4..14fed114325 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -2386,7 +2386,7 @@ print_interval (interval, printcharfun) | |||
| 2386 | void | 2386 | void |
| 2387 | syms_of_print () | 2387 | syms_of_print () |
| 2388 | { | 2388 | { |
| 2389 | Qtemp_buffer_setup_hook = intern ("temp-buffer-setup-hook"); | 2389 | Qtemp_buffer_setup_hook = intern_c_string ("temp-buffer-setup-hook"); |
| 2390 | staticpro (&Qtemp_buffer_setup_hook); | 2390 | staticpro (&Qtemp_buffer_setup_hook); |
| 2391 | 2391 | ||
| 2392 | DEFVAR_LISP ("standard-output", &Vstandard_output, | 2392 | DEFVAR_LISP ("standard-output", &Vstandard_output, |
| @@ -2396,7 +2396,7 @@ It may also be a buffer (output is inserted before point) | |||
| 2396 | or a marker (output is inserted and the marker is advanced) | 2396 | or a marker (output is inserted and the marker is advanced) |
| 2397 | or the symbol t (output appears in the echo area). */); | 2397 | or the symbol t (output appears in the echo area). */); |
| 2398 | Vstandard_output = Qt; | 2398 | Vstandard_output = Qt; |
| 2399 | Qstandard_output = intern ("standard-output"); | 2399 | Qstandard_output = intern_c_string ("standard-output"); |
| 2400 | staticpro (&Qstandard_output); | 2400 | staticpro (&Qstandard_output); |
| 2401 | 2401 | ||
| 2402 | DEFVAR_LISP ("float-output-format", &Vfloat_output_format, | 2402 | DEFVAR_LISP ("float-output-format", &Vfloat_output_format, |
| @@ -2416,7 +2416,7 @@ decimal point. 0 is not allowed with `e' or `g'. | |||
| 2416 | A value of nil means to use the shortest notation | 2416 | A value of nil means to use the shortest notation |
| 2417 | that represents the number without losing information. */); | 2417 | that represents the number without losing information. */); |
| 2418 | Vfloat_output_format = Qnil; | 2418 | Vfloat_output_format = Qnil; |
| 2419 | Qfloat_output_format = intern ("float-output-format"); | 2419 | Qfloat_output_format = intern_c_string ("float-output-format"); |
| 2420 | staticpro (&Qfloat_output_format); | 2420 | staticpro (&Qfloat_output_format); |
| 2421 | 2421 | ||
| 2422 | DEFVAR_LISP ("print-length", &Vprint_length, | 2422 | DEFVAR_LISP ("print-length", &Vprint_length, |
| @@ -2522,16 +2522,16 @@ priorities. */); | |||
| 2522 | defsubr (&Sredirect_debugging_output); | 2522 | defsubr (&Sredirect_debugging_output); |
| 2523 | #endif | 2523 | #endif |
| 2524 | 2524 | ||
| 2525 | Qexternal_debugging_output = intern ("external-debugging-output"); | 2525 | Qexternal_debugging_output = intern_c_string ("external-debugging-output"); |
| 2526 | staticpro (&Qexternal_debugging_output); | 2526 | staticpro (&Qexternal_debugging_output); |
| 2527 | 2527 | ||
| 2528 | Qprint_escape_newlines = intern ("print-escape-newlines"); | 2528 | Qprint_escape_newlines = intern_c_string ("print-escape-newlines"); |
| 2529 | staticpro (&Qprint_escape_newlines); | 2529 | staticpro (&Qprint_escape_newlines); |
| 2530 | 2530 | ||
| 2531 | Qprint_escape_multibyte = intern ("print-escape-multibyte"); | 2531 | Qprint_escape_multibyte = intern_c_string ("print-escape-multibyte"); |
| 2532 | staticpro (&Qprint_escape_multibyte); | 2532 | staticpro (&Qprint_escape_multibyte); |
| 2533 | 2533 | ||
| 2534 | Qprint_escape_nonascii = intern ("print-escape-nonascii"); | 2534 | Qprint_escape_nonascii = intern_c_string ("print-escape-nonascii"); |
| 2535 | staticpro (&Qprint_escape_nonascii); | 2535 | staticpro (&Qprint_escape_nonascii); |
| 2536 | 2536 | ||
| 2537 | print_prune_charset_plist = Qnil; | 2537 | print_prune_charset_plist = Qnil; |
diff --git a/src/process.c b/src/process.c index 7cb85d73aad..08495d2d8bd 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -7317,7 +7317,7 @@ init_process () | |||
| 7317 | const struct socket_options *sopt; | 7317 | const struct socket_options *sopt; |
| 7318 | 7318 | ||
| 7319 | #define ADD_SUBFEATURE(key, val) \ | 7319 | #define ADD_SUBFEATURE(key, val) \ |
| 7320 | subfeatures = Fcons (Fcons (key, Fcons (val, Qnil)), subfeatures) | 7320 | subfeatures = pure_cons (pure_cons (key, pure_cons (val, Qnil)), subfeatures) |
| 7321 | 7321 | ||
| 7322 | #ifdef NON_BLOCKING_CONNECT | 7322 | #ifdef NON_BLOCKING_CONNECT |
| 7323 | ADD_SUBFEATURE (QCnowait, Qt); | 7323 | ADD_SUBFEATURE (QCnowait, Qt); |
| @@ -7340,9 +7340,9 @@ init_process () | |||
| 7340 | #endif | 7340 | #endif |
| 7341 | 7341 | ||
| 7342 | for (sopt = socket_options; sopt->name; sopt++) | 7342 | for (sopt = socket_options; sopt->name; sopt++) |
| 7343 | subfeatures = Fcons (intern (sopt->name), subfeatures); | 7343 | subfeatures = pure_cons (intern_c_string (sopt->name), subfeatures); |
| 7344 | 7344 | ||
| 7345 | Fprovide (intern ("make-network-process"), subfeatures); | 7345 | Fprovide (intern_c_string ("make-network-process"), subfeatures); |
| 7346 | } | 7346 | } |
| 7347 | #endif /* HAVE_SOCKETS */ | 7347 | #endif /* HAVE_SOCKETS */ |
| 7348 | 7348 | ||
| @@ -7363,109 +7363,109 @@ init_process () | |||
| 7363 | void | 7363 | void |
| 7364 | syms_of_process () | 7364 | syms_of_process () |
| 7365 | { | 7365 | { |
| 7366 | Qprocessp = intern ("processp"); | 7366 | Qprocessp = intern_c_string ("processp"); |
| 7367 | staticpro (&Qprocessp); | 7367 | staticpro (&Qprocessp); |
| 7368 | Qrun = intern ("run"); | 7368 | Qrun = intern_c_string ("run"); |
| 7369 | staticpro (&Qrun); | 7369 | staticpro (&Qrun); |
| 7370 | Qstop = intern ("stop"); | 7370 | Qstop = intern_c_string ("stop"); |
| 7371 | staticpro (&Qstop); | 7371 | staticpro (&Qstop); |
| 7372 | Qsignal = intern ("signal"); | 7372 | Qsignal = intern_c_string ("signal"); |
| 7373 | staticpro (&Qsignal); | 7373 | staticpro (&Qsignal); |
| 7374 | 7374 | ||
| 7375 | /* Qexit is already staticpro'd by syms_of_eval; don't staticpro it | 7375 | /* Qexit is already staticpro'd by syms_of_eval; don't staticpro it |
| 7376 | here again. | 7376 | here again. |
| 7377 | 7377 | ||
| 7378 | Qexit = intern ("exit"); | 7378 | Qexit = intern_c_string ("exit"); |
| 7379 | staticpro (&Qexit); */ | 7379 | staticpro (&Qexit); */ |
| 7380 | 7380 | ||
| 7381 | Qopen = intern ("open"); | 7381 | Qopen = intern_c_string ("open"); |
| 7382 | staticpro (&Qopen); | 7382 | staticpro (&Qopen); |
| 7383 | Qclosed = intern ("closed"); | 7383 | Qclosed = intern_c_string ("closed"); |
| 7384 | staticpro (&Qclosed); | 7384 | staticpro (&Qclosed); |
| 7385 | Qconnect = intern ("connect"); | 7385 | Qconnect = intern_c_string ("connect"); |
| 7386 | staticpro (&Qconnect); | 7386 | staticpro (&Qconnect); |
| 7387 | Qfailed = intern ("failed"); | 7387 | Qfailed = intern_c_string ("failed"); |
| 7388 | staticpro (&Qfailed); | 7388 | staticpro (&Qfailed); |
| 7389 | Qlisten = intern ("listen"); | 7389 | Qlisten = intern_c_string ("listen"); |
| 7390 | staticpro (&Qlisten); | 7390 | staticpro (&Qlisten); |
| 7391 | Qlocal = intern ("local"); | 7391 | Qlocal = intern_c_string ("local"); |
| 7392 | staticpro (&Qlocal); | 7392 | staticpro (&Qlocal); |
| 7393 | Qipv4 = intern ("ipv4"); | 7393 | Qipv4 = intern_c_string ("ipv4"); |
| 7394 | staticpro (&Qipv4); | 7394 | staticpro (&Qipv4); |
| 7395 | #ifdef AF_INET6 | 7395 | #ifdef AF_INET6 |
| 7396 | Qipv6 = intern ("ipv6"); | 7396 | Qipv6 = intern_c_string ("ipv6"); |
| 7397 | staticpro (&Qipv6); | 7397 | staticpro (&Qipv6); |
| 7398 | #endif | 7398 | #endif |
| 7399 | Qdatagram = intern ("datagram"); | 7399 | Qdatagram = intern_c_string ("datagram"); |
| 7400 | staticpro (&Qdatagram); | 7400 | staticpro (&Qdatagram); |
| 7401 | 7401 | ||
| 7402 | QCport = intern (":port"); | 7402 | QCport = intern_c_string (":port"); |
| 7403 | staticpro (&QCport); | 7403 | staticpro (&QCport); |
| 7404 | QCspeed = intern (":speed"); | 7404 | QCspeed = intern_c_string (":speed"); |
| 7405 | staticpro (&QCspeed); | 7405 | staticpro (&QCspeed); |
| 7406 | QCprocess = intern (":process"); | 7406 | QCprocess = intern_c_string (":process"); |
| 7407 | staticpro (&QCprocess); | 7407 | staticpro (&QCprocess); |
| 7408 | 7408 | ||
| 7409 | QCbytesize = intern (":bytesize"); | 7409 | QCbytesize = intern_c_string (":bytesize"); |
| 7410 | staticpro (&QCbytesize); | 7410 | staticpro (&QCbytesize); |
| 7411 | QCstopbits = intern (":stopbits"); | 7411 | QCstopbits = intern_c_string (":stopbits"); |
| 7412 | staticpro (&QCstopbits); | 7412 | staticpro (&QCstopbits); |
| 7413 | QCparity = intern (":parity"); | 7413 | QCparity = intern_c_string (":parity"); |
| 7414 | staticpro (&QCparity); | 7414 | staticpro (&QCparity); |
| 7415 | Qodd = intern ("odd"); | 7415 | Qodd = intern_c_string ("odd"); |
| 7416 | staticpro (&Qodd); | 7416 | staticpro (&Qodd); |
| 7417 | Qeven = intern ("even"); | 7417 | Qeven = intern_c_string ("even"); |
| 7418 | staticpro (&Qeven); | 7418 | staticpro (&Qeven); |
| 7419 | QCflowcontrol = intern (":flowcontrol"); | 7419 | QCflowcontrol = intern_c_string (":flowcontrol"); |
| 7420 | staticpro (&QCflowcontrol); | 7420 | staticpro (&QCflowcontrol); |
| 7421 | Qhw = intern ("hw"); | 7421 | Qhw = intern_c_string ("hw"); |
| 7422 | staticpro (&Qhw); | 7422 | staticpro (&Qhw); |
| 7423 | Qsw = intern ("sw"); | 7423 | Qsw = intern_c_string ("sw"); |
| 7424 | staticpro (&Qsw); | 7424 | staticpro (&Qsw); |
| 7425 | QCsummary = intern (":summary"); | 7425 | QCsummary = intern_c_string (":summary"); |
| 7426 | staticpro (&QCsummary); | 7426 | staticpro (&QCsummary); |
| 7427 | 7427 | ||
| 7428 | Qreal = intern ("real"); | 7428 | Qreal = intern_c_string ("real"); |
| 7429 | staticpro (&Qreal); | 7429 | staticpro (&Qreal); |
| 7430 | Qnetwork = intern ("network"); | 7430 | Qnetwork = intern_c_string ("network"); |
| 7431 | staticpro (&Qnetwork); | 7431 | staticpro (&Qnetwork); |
| 7432 | Qserial = intern ("serial"); | 7432 | Qserial = intern_c_string ("serial"); |
| 7433 | staticpro (&Qserial); | 7433 | staticpro (&Qserial); |
| 7434 | 7434 | ||
| 7435 | QCname = intern (":name"); | 7435 | QCname = intern_c_string (":name"); |
| 7436 | staticpro (&QCname); | 7436 | staticpro (&QCname); |
| 7437 | QCbuffer = intern (":buffer"); | 7437 | QCbuffer = intern_c_string (":buffer"); |
| 7438 | staticpro (&QCbuffer); | 7438 | staticpro (&QCbuffer); |
| 7439 | QChost = intern (":host"); | 7439 | QChost = intern_c_string (":host"); |
| 7440 | staticpro (&QChost); | 7440 | staticpro (&QChost); |
| 7441 | QCservice = intern (":service"); | 7441 | QCservice = intern_c_string (":service"); |
| 7442 | staticpro (&QCservice); | 7442 | staticpro (&QCservice); |
| 7443 | QCtype = intern (":type"); | 7443 | QCtype = intern_c_string (":type"); |
| 7444 | staticpro (&QCtype); | 7444 | staticpro (&QCtype); |
| 7445 | QClocal = intern (":local"); | 7445 | QClocal = intern_c_string (":local"); |
| 7446 | staticpro (&QClocal); | 7446 | staticpro (&QClocal); |
| 7447 | QCremote = intern (":remote"); | 7447 | QCremote = intern_c_string (":remote"); |
| 7448 | staticpro (&QCremote); | 7448 | staticpro (&QCremote); |
| 7449 | QCcoding = intern (":coding"); | 7449 | QCcoding = intern_c_string (":coding"); |
| 7450 | staticpro (&QCcoding); | 7450 | staticpro (&QCcoding); |
| 7451 | QCserver = intern (":server"); | 7451 | QCserver = intern_c_string (":server"); |
| 7452 | staticpro (&QCserver); | 7452 | staticpro (&QCserver); |
| 7453 | QCnowait = intern (":nowait"); | 7453 | QCnowait = intern_c_string (":nowait"); |
| 7454 | staticpro (&QCnowait); | 7454 | staticpro (&QCnowait); |
| 7455 | QCsentinel = intern (":sentinel"); | 7455 | QCsentinel = intern_c_string (":sentinel"); |
| 7456 | staticpro (&QCsentinel); | 7456 | staticpro (&QCsentinel); |
| 7457 | QClog = intern (":log"); | 7457 | QClog = intern_c_string (":log"); |
| 7458 | staticpro (&QClog); | 7458 | staticpro (&QClog); |
| 7459 | QCnoquery = intern (":noquery"); | 7459 | QCnoquery = intern_c_string (":noquery"); |
| 7460 | staticpro (&QCnoquery); | 7460 | staticpro (&QCnoquery); |
| 7461 | QCstop = intern (":stop"); | 7461 | QCstop = intern_c_string (":stop"); |
| 7462 | staticpro (&QCstop); | 7462 | staticpro (&QCstop); |
| 7463 | QCoptions = intern (":options"); | 7463 | QCoptions = intern_c_string (":options"); |
| 7464 | staticpro (&QCoptions); | 7464 | staticpro (&QCoptions); |
| 7465 | QCplist = intern (":plist"); | 7465 | QCplist = intern_c_string (":plist"); |
| 7466 | staticpro (&QCplist); | 7466 | staticpro (&QCplist); |
| 7467 | 7467 | ||
| 7468 | Qlast_nonmenu_event = intern ("last-nonmenu-event"); | 7468 | Qlast_nonmenu_event = intern_c_string ("last-nonmenu-event"); |
| 7469 | staticpro (&Qlast_nonmenu_event); | 7469 | staticpro (&Qlast_nonmenu_event); |
| 7470 | 7470 | ||
| 7471 | staticpro (&Vprocess_alist); | 7471 | staticpro (&Vprocess_alist); |
| @@ -7473,67 +7473,67 @@ syms_of_process () | |||
| 7473 | staticpro (&deleted_pid_list); | 7473 | staticpro (&deleted_pid_list); |
| 7474 | #endif | 7474 | #endif |
| 7475 | 7475 | ||
| 7476 | Qeuid = intern ("euid"); | 7476 | Qeuid = intern_c_string ("euid"); |
| 7477 | staticpro (&Qeuid); | 7477 | staticpro (&Qeuid); |
| 7478 | Qegid = intern ("egid"); | 7478 | Qegid = intern_c_string ("egid"); |
| 7479 | staticpro (&Qegid); | 7479 | staticpro (&Qegid); |
| 7480 | Quser = intern ("user"); | 7480 | Quser = intern_c_string ("user"); |
| 7481 | staticpro (&Quser); | 7481 | staticpro (&Quser); |
| 7482 | Qgroup = intern ("group"); | 7482 | Qgroup = intern_c_string ("group"); |
| 7483 | staticpro (&Qgroup); | 7483 | staticpro (&Qgroup); |
| 7484 | Qcomm = intern ("comm"); | 7484 | Qcomm = intern_c_string ("comm"); |
| 7485 | staticpro (&Qcomm); | 7485 | staticpro (&Qcomm); |
| 7486 | Qstate = intern ("state"); | 7486 | Qstate = intern_c_string ("state"); |
| 7487 | staticpro (&Qstate); | 7487 | staticpro (&Qstate); |
| 7488 | Qppid = intern ("ppid"); | 7488 | Qppid = intern_c_string ("ppid"); |
| 7489 | staticpro (&Qppid); | 7489 | staticpro (&Qppid); |
| 7490 | Qpgrp = intern ("pgrp"); | 7490 | Qpgrp = intern_c_string ("pgrp"); |
| 7491 | staticpro (&Qpgrp); | 7491 | staticpro (&Qpgrp); |
| 7492 | Qsess = intern ("sess"); | 7492 | Qsess = intern_c_string ("sess"); |
| 7493 | staticpro (&Qsess); | 7493 | staticpro (&Qsess); |
| 7494 | Qttname = intern ("ttname"); | 7494 | Qttname = intern_c_string ("ttname"); |
| 7495 | staticpro (&Qttname); | 7495 | staticpro (&Qttname); |
| 7496 | Qtpgid = intern ("tpgid"); | 7496 | Qtpgid = intern_c_string ("tpgid"); |
| 7497 | staticpro (&Qtpgid); | 7497 | staticpro (&Qtpgid); |
| 7498 | Qminflt = intern ("minflt"); | 7498 | Qminflt = intern_c_string ("minflt"); |
| 7499 | staticpro (&Qminflt); | 7499 | staticpro (&Qminflt); |
| 7500 | Qmajflt = intern ("majflt"); | 7500 | Qmajflt = intern_c_string ("majflt"); |
| 7501 | staticpro (&Qmajflt); | 7501 | staticpro (&Qmajflt); |
| 7502 | Qcminflt = intern ("cminflt"); | 7502 | Qcminflt = intern_c_string ("cminflt"); |
| 7503 | staticpro (&Qcminflt); | 7503 | staticpro (&Qcminflt); |
| 7504 | Qcmajflt = intern ("cmajflt"); | 7504 | Qcmajflt = intern_c_string ("cmajflt"); |
| 7505 | staticpro (&Qcmajflt); | 7505 | staticpro (&Qcmajflt); |
| 7506 | Qutime = intern ("utime"); | 7506 | Qutime = intern_c_string ("utime"); |
| 7507 | staticpro (&Qutime); | 7507 | staticpro (&Qutime); |
| 7508 | Qstime = intern ("stime"); | 7508 | Qstime = intern_c_string ("stime"); |
| 7509 | staticpro (&Qstime); | 7509 | staticpro (&Qstime); |
| 7510 | Qtime = intern ("time"); | 7510 | Qtime = intern_c_string ("time"); |
| 7511 | staticpro (&Qtime); | 7511 | staticpro (&Qtime); |
| 7512 | Qcutime = intern ("cutime"); | 7512 | Qcutime = intern_c_string ("cutime"); |
| 7513 | staticpro (&Qcutime); | 7513 | staticpro (&Qcutime); |
| 7514 | Qcstime = intern ("cstime"); | 7514 | Qcstime = intern_c_string ("cstime"); |
| 7515 | staticpro (&Qcstime); | 7515 | staticpro (&Qcstime); |
| 7516 | Qctime = intern ("ctime"); | 7516 | Qctime = intern_c_string ("ctime"); |
| 7517 | staticpro (&Qctime); | 7517 | staticpro (&Qctime); |
| 7518 | Qpri = intern ("pri"); | 7518 | Qpri = intern_c_string ("pri"); |
| 7519 | staticpro (&Qpri); | 7519 | staticpro (&Qpri); |
| 7520 | Qnice = intern ("nice"); | 7520 | Qnice = intern_c_string ("nice"); |
| 7521 | staticpro (&Qnice); | 7521 | staticpro (&Qnice); |
| 7522 | Qthcount = intern ("thcount"); | 7522 | Qthcount = intern_c_string ("thcount"); |
| 7523 | staticpro (&Qthcount); | 7523 | staticpro (&Qthcount); |
| 7524 | Qstart = intern ("start"); | 7524 | Qstart = intern_c_string ("start"); |
| 7525 | staticpro (&Qstart); | 7525 | staticpro (&Qstart); |
| 7526 | Qvsize = intern ("vsize"); | 7526 | Qvsize = intern_c_string ("vsize"); |
| 7527 | staticpro (&Qvsize); | 7527 | staticpro (&Qvsize); |
| 7528 | Qrss = intern ("rss"); | 7528 | Qrss = intern_c_string ("rss"); |
| 7529 | staticpro (&Qrss); | 7529 | staticpro (&Qrss); |
| 7530 | Qetime = intern ("etime"); | 7530 | Qetime = intern_c_string ("etime"); |
| 7531 | staticpro (&Qetime); | 7531 | staticpro (&Qetime); |
| 7532 | Qpcpu = intern ("pcpu"); | 7532 | Qpcpu = intern_c_string ("pcpu"); |
| 7533 | staticpro (&Qpcpu); | 7533 | staticpro (&Qpcpu); |
| 7534 | Qpmem = intern ("pmem"); | 7534 | Qpmem = intern_c_string ("pmem"); |
| 7535 | staticpro (&Qpmem); | 7535 | staticpro (&Qpmem); |
| 7536 | Qargs = intern ("args"); | 7536 | Qargs = intern_c_string ("args"); |
| 7537 | staticpro (&Qargs); | 7537 | staticpro (&Qargs); |
| 7538 | 7538 | ||
| 7539 | DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes, | 7539 | DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes, |
| @@ -8003,75 +8003,75 @@ init_process () | |||
| 8003 | void | 8003 | void |
| 8004 | syms_of_process () | 8004 | syms_of_process () |
| 8005 | { | 8005 | { |
| 8006 | QCtype = intern (":type"); | 8006 | QCtype = intern_c_string (":type"); |
| 8007 | staticpro (&QCtype); | 8007 | staticpro (&QCtype); |
| 8008 | QCname = intern (":name"); | 8008 | QCname = intern_c_string (":name"); |
| 8009 | staticpro (&QCname); | 8009 | staticpro (&QCname); |
| 8010 | QCtype = intern (":type"); | 8010 | QCtype = intern_c_string (":type"); |
| 8011 | staticpro (&QCtype); | 8011 | staticpro (&QCtype); |
| 8012 | QCname = intern (":name"); | 8012 | QCname = intern_c_string (":name"); |
| 8013 | staticpro (&QCname); | 8013 | staticpro (&QCname); |
| 8014 | Qeuid = intern ("euid"); | 8014 | Qeuid = intern_c_string ("euid"); |
| 8015 | staticpro (&Qeuid); | 8015 | staticpro (&Qeuid); |
| 8016 | Qegid = intern ("egid"); | 8016 | Qegid = intern_c_string ("egid"); |
| 8017 | staticpro (&Qegid); | 8017 | staticpro (&Qegid); |
| 8018 | Quser = intern ("user"); | 8018 | Quser = intern_c_string ("user"); |
| 8019 | staticpro (&Quser); | 8019 | staticpro (&Quser); |
| 8020 | Qgroup = intern ("group"); | 8020 | Qgroup = intern_c_string ("group"); |
| 8021 | staticpro (&Qgroup); | 8021 | staticpro (&Qgroup); |
| 8022 | Qcomm = intern ("comm"); | 8022 | Qcomm = intern_c_string ("comm"); |
| 8023 | staticpro (&Qcomm); | 8023 | staticpro (&Qcomm); |
| 8024 | Qstate = intern ("state"); | 8024 | Qstate = intern_c_string ("state"); |
| 8025 | staticpro (&Qstate); | 8025 | staticpro (&Qstate); |
| 8026 | Qppid = intern ("ppid"); | 8026 | Qppid = intern_c_string ("ppid"); |
| 8027 | staticpro (&Qppid); | 8027 | staticpro (&Qppid); |
| 8028 | Qpgrp = intern ("pgrp"); | 8028 | Qpgrp = intern_c_string ("pgrp"); |
| 8029 | staticpro (&Qpgrp); | 8029 | staticpro (&Qpgrp); |
| 8030 | Qsess = intern ("sess"); | 8030 | Qsess = intern_c_string ("sess"); |
| 8031 | staticpro (&Qsess); | 8031 | staticpro (&Qsess); |
| 8032 | Qttname = intern ("ttname"); | 8032 | Qttname = intern_c_string ("ttname"); |
| 8033 | staticpro (&Qttname); | 8033 | staticpro (&Qttname); |
| 8034 | Qtpgid = intern ("tpgid"); | 8034 | Qtpgid = intern_c_string ("tpgid"); |
| 8035 | staticpro (&Qtpgid); | 8035 | staticpro (&Qtpgid); |
| 8036 | Qminflt = intern ("minflt"); | 8036 | Qminflt = intern_c_string ("minflt"); |
| 8037 | staticpro (&Qminflt); | 8037 | staticpro (&Qminflt); |
| 8038 | Qmajflt = intern ("majflt"); | 8038 | Qmajflt = intern_c_string ("majflt"); |
| 8039 | staticpro (&Qmajflt); | 8039 | staticpro (&Qmajflt); |
| 8040 | Qcminflt = intern ("cminflt"); | 8040 | Qcminflt = intern_c_string ("cminflt"); |
| 8041 | staticpro (&Qcminflt); | 8041 | staticpro (&Qcminflt); |
| 8042 | Qcmajflt = intern ("cmajflt"); | 8042 | Qcmajflt = intern_c_string ("cmajflt"); |
| 8043 | staticpro (&Qcmajflt); | 8043 | staticpro (&Qcmajflt); |
| 8044 | Qutime = intern ("utime"); | 8044 | Qutime = intern_c_string ("utime"); |
| 8045 | staticpro (&Qutime); | 8045 | staticpro (&Qutime); |
| 8046 | Qstime = intern ("stime"); | 8046 | Qstime = intern_c_string ("stime"); |
| 8047 | staticpro (&Qstime); | 8047 | staticpro (&Qstime); |
| 8048 | Qtime = intern ("time"); | 8048 | Qtime = intern_c_string ("time"); |
| 8049 | staticpro (&Qtime); | 8049 | staticpro (&Qtime); |
| 8050 | Qcutime = intern ("cutime"); | 8050 | Qcutime = intern_c_string ("cutime"); |
| 8051 | staticpro (&Qcutime); | 8051 | staticpro (&Qcutime); |
| 8052 | Qcstime = intern ("cstime"); | 8052 | Qcstime = intern_c_string ("cstime"); |
| 8053 | staticpro (&Qcstime); | 8053 | staticpro (&Qcstime); |
| 8054 | Qctime = intern ("ctime"); | 8054 | Qctime = intern_c_string ("ctime"); |
| 8055 | staticpro (&Qctime); | 8055 | staticpro (&Qctime); |
| 8056 | Qpri = intern ("pri"); | 8056 | Qpri = intern_c_string ("pri"); |
| 8057 | staticpro (&Qpri); | 8057 | staticpro (&Qpri); |
| 8058 | Qnice = intern ("nice"); | 8058 | Qnice = intern_c_string ("nice"); |
| 8059 | staticpro (&Qnice); | 8059 | staticpro (&Qnice); |
| 8060 | Qthcount = intern ("thcount"); | 8060 | Qthcount = intern_c_string ("thcount"); |
| 8061 | staticpro (&Qthcount); | 8061 | staticpro (&Qthcount); |
| 8062 | Qstart = intern ("start"); | 8062 | Qstart = intern_c_string ("start"); |
| 8063 | staticpro (&Qstart); | 8063 | staticpro (&Qstart); |
| 8064 | Qvsize = intern ("vsize"); | 8064 | Qvsize = intern_c_string ("vsize"); |
| 8065 | staticpro (&Qvsize); | 8065 | staticpro (&Qvsize); |
| 8066 | Qrss = intern ("rss"); | 8066 | Qrss = intern_c_string ("rss"); |
| 8067 | staticpro (&Qrss); | 8067 | staticpro (&Qrss); |
| 8068 | Qetime = intern ("etime"); | 8068 | Qetime = intern_c_string ("etime"); |
| 8069 | staticpro (&Qetime); | 8069 | staticpro (&Qetime); |
| 8070 | Qpcpu = intern ("pcpu"); | 8070 | Qpcpu = intern_c_string ("pcpu"); |
| 8071 | staticpro (&Qpcpu); | 8071 | staticpro (&Qpcpu); |
| 8072 | Qpmem = intern ("pmem"); | 8072 | Qpmem = intern_c_string ("pmem"); |
| 8073 | staticpro (&Qpmem); | 8073 | staticpro (&Qpmem); |
| 8074 | Qargs = intern ("args"); | 8074 | Qargs = intern_c_string ("args"); |
| 8075 | staticpro (&Qargs); | 8075 | staticpro (&Qargs); |
| 8076 | 8076 | ||
| 8077 | defsubr (&Sget_buffer_process); | 8077 | defsubr (&Sget_buffer_process); |
diff --git a/src/search.c b/src/search.c index 8bfe61d5f6d..e0546f4f998 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -3290,20 +3290,20 @@ syms_of_search () | |||
| 3290 | } | 3290 | } |
| 3291 | searchbuf_head = &searchbufs[0]; | 3291 | searchbuf_head = &searchbufs[0]; |
| 3292 | 3292 | ||
| 3293 | Qsearch_failed = intern ("search-failed"); | 3293 | Qsearch_failed = intern_c_string ("search-failed"); |
| 3294 | staticpro (&Qsearch_failed); | 3294 | staticpro (&Qsearch_failed); |
| 3295 | Qinvalid_regexp = intern ("invalid-regexp"); | 3295 | Qinvalid_regexp = intern_c_string ("invalid-regexp"); |
| 3296 | staticpro (&Qinvalid_regexp); | 3296 | staticpro (&Qinvalid_regexp); |
| 3297 | 3297 | ||
| 3298 | Fput (Qsearch_failed, Qerror_conditions, | 3298 | Fput (Qsearch_failed, Qerror_conditions, |
| 3299 | Fcons (Qsearch_failed, Fcons (Qerror, Qnil))); | 3299 | pure_cons (Qsearch_failed, pure_cons (Qerror, Qnil))); |
| 3300 | Fput (Qsearch_failed, Qerror_message, | 3300 | Fput (Qsearch_failed, Qerror_message, |
| 3301 | build_string ("Search failed")); | 3301 | make_pure_c_string ("Search failed")); |
| 3302 | 3302 | ||
| 3303 | Fput (Qinvalid_regexp, Qerror_conditions, | 3303 | Fput (Qinvalid_regexp, Qerror_conditions, |
| 3304 | Fcons (Qinvalid_regexp, Fcons (Qerror, Qnil))); | 3304 | pure_cons (Qinvalid_regexp, pure_cons (Qerror, Qnil))); |
| 3305 | Fput (Qinvalid_regexp, Qerror_message, | 3305 | Fput (Qinvalid_regexp, Qerror_message, |
| 3306 | build_string ("Invalid regexp")); | 3306 | make_pure_c_string ("Invalid regexp")); |
| 3307 | 3307 | ||
| 3308 | last_thing_searched = Qnil; | 3308 | last_thing_searched = Qnil; |
| 3309 | staticpro (&last_thing_searched); | 3309 | staticpro (&last_thing_searched); |
diff --git a/src/sound.c b/src/sound.c index 6f1f5385978..3747dc8a849 100644 --- a/src/sound.c +++ b/src/sound.c | |||
| @@ -1526,13 +1526,13 @@ Internal use only, use `play-sound' instead. */) | |||
| 1526 | void | 1526 | void |
| 1527 | syms_of_sound () | 1527 | syms_of_sound () |
| 1528 | { | 1528 | { |
| 1529 | QCdevice = intern (":device"); | 1529 | QCdevice = intern_c_string(":device"); |
| 1530 | staticpro (&QCdevice); | 1530 | staticpro (&QCdevice); |
| 1531 | QCvolume = intern (":volume"); | 1531 | QCvolume = intern_c_string (":volume"); |
| 1532 | staticpro (&QCvolume); | 1532 | staticpro (&QCvolume); |
| 1533 | Qsound = intern ("sound"); | 1533 | Qsound = intern_c_string ("sound"); |
| 1534 | staticpro (&Qsound); | 1534 | staticpro (&Qsound); |
| 1535 | Qplay_sound_functions = intern ("play-sound-functions"); | 1535 | Qplay_sound_functions = intern_c_string ("play-sound-functions"); |
| 1536 | staticpro (&Qplay_sound_functions); | 1536 | staticpro (&Qplay_sound_functions); |
| 1537 | 1537 | ||
| 1538 | defsubr (&Splay_sound_internal); | 1538 | defsubr (&Splay_sound_internal); |
diff --git a/src/syntax.c b/src/syntax.c index 048f0ee6637..203792960ca 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -3332,13 +3332,13 @@ init_syntax_once () | |||
| 3332 | Lisp_Object temp; | 3332 | Lisp_Object temp; |
| 3333 | 3333 | ||
| 3334 | /* This has to be done here, before we call Fmake_char_table. */ | 3334 | /* This has to be done here, before we call Fmake_char_table. */ |
| 3335 | Qsyntax_table = intern ("syntax-table"); | 3335 | Qsyntax_table = intern_c_string ("syntax-table"); |
| 3336 | staticpro (&Qsyntax_table); | 3336 | staticpro (&Qsyntax_table); |
| 3337 | 3337 | ||
| 3338 | /* Intern this now in case it isn't already done. | 3338 | /* Intern_C_String this now in case it isn't already done. |
| 3339 | Setting this variable twice is harmless. | 3339 | Setting this variable twice is harmless. |
| 3340 | But don't staticpro it here--that is done in alloc.c. */ | 3340 | But don't staticpro it here--that is done in alloc.c. */ |
| 3341 | Qchar_table_extra_slots = intern ("char-table-extra-slots"); | 3341 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); |
| 3342 | 3342 | ||
| 3343 | /* Create objects which can be shared among syntax tables. */ | 3343 | /* Create objects which can be shared among syntax tables. */ |
| 3344 | Vsyntax_code_object = Fmake_vector (make_number (Smax), Qnil); | 3344 | Vsyntax_code_object = Fmake_vector (make_number (Smax), Qnil); |
| @@ -3418,7 +3418,7 @@ init_syntax_once () | |||
| 3418 | void | 3418 | void |
| 3419 | syms_of_syntax () | 3419 | syms_of_syntax () |
| 3420 | { | 3420 | { |
| 3421 | Qsyntax_table_p = intern ("syntax-table-p"); | 3421 | Qsyntax_table_p = intern_c_string ("syntax-table-p"); |
| 3422 | staticpro (&Qsyntax_table_p); | 3422 | staticpro (&Qsyntax_table_p); |
| 3423 | 3423 | ||
| 3424 | staticpro (&Vsyntax_code_object); | 3424 | staticpro (&Vsyntax_code_object); |
| @@ -3431,12 +3431,12 @@ syms_of_syntax () | |||
| 3431 | /* Defined in regex.c */ | 3431 | /* Defined in regex.c */ |
| 3432 | staticpro (&re_match_object); | 3432 | staticpro (&re_match_object); |
| 3433 | 3433 | ||
| 3434 | Qscan_error = intern ("scan-error"); | 3434 | Qscan_error = intern_c_string ("scan-error"); |
| 3435 | staticpro (&Qscan_error); | 3435 | staticpro (&Qscan_error); |
| 3436 | Fput (Qscan_error, Qerror_conditions, | 3436 | Fput (Qscan_error, Qerror_conditions, |
| 3437 | Fcons (Qscan_error, Fcons (Qerror, Qnil))); | 3437 | pure_cons (Qscan_error, pure_cons (Qerror, Qnil))); |
| 3438 | Fput (Qscan_error, Qerror_message, | 3438 | Fput (Qscan_error, Qerror_message, |
| 3439 | build_string ("Scan error")); | 3439 | make_pure_c_string ("Scan error")); |
| 3440 | 3440 | ||
| 3441 | DEFVAR_BOOL ("parse-sexp-ignore-comments", &parse_sexp_ignore_comments, | 3441 | DEFVAR_BOOL ("parse-sexp-ignore-comments", &parse_sexp_ignore_comments, |
| 3442 | doc: /* Non-nil means `forward-sexp', etc., should treat comments as whitespace. */); | 3442 | doc: /* Non-nil means `forward-sexp', etc., should treat comments as whitespace. */); |
diff --git a/src/terminal.c b/src/terminal.c index c89f2e60005..ad259126511 100644 --- a/src/terminal.c +++ b/src/terminal.c | |||
| @@ -566,9 +566,9 @@ Each function is called with argument, the terminal. | |||
| 566 | This may be called just before actually deleting the terminal, | 566 | This may be called just before actually deleting the terminal, |
| 567 | or some time later. */); | 567 | or some time later. */); |
| 568 | Vdelete_terminal_functions = Qnil; | 568 | Vdelete_terminal_functions = Qnil; |
| 569 | Qdelete_terminal_functions = intern ("delete-terminal-functions"); | 569 | Qdelete_terminal_functions = intern_c_string ("delete-terminal-functions"); |
| 570 | staticpro (&Qdelete_terminal_functions); | 570 | staticpro (&Qdelete_terminal_functions); |
| 571 | Qrun_hook_with_args = intern ("run-hook-with-args"); | 571 | Qrun_hook_with_args = intern_c_string ("run-hook-with-args"); |
| 572 | staticpro (&Qrun_hook_with_args); | 572 | staticpro (&Qrun_hook_with_args); |
| 573 | 573 | ||
| 574 | defsubr (&Sdelete_terminal); | 574 | defsubr (&Sdelete_terminal); |
| @@ -580,7 +580,7 @@ or some time later. */); | |||
| 580 | defsubr (&Sterminal_parameter); | 580 | defsubr (&Sterminal_parameter); |
| 581 | defsubr (&Sset_terminal_parameter); | 581 | defsubr (&Sset_terminal_parameter); |
| 582 | 582 | ||
| 583 | Fprovide (intern ("multi-tty"), Qnil); | 583 | Fprovide (intern_c_string ("multi-tty"), Qnil); |
| 584 | } | 584 | } |
| 585 | 585 | ||
| 586 | /* arch-tag: e9af6f27-b483-47dc-bb1a-730c1c5cab03 | 586 | /* arch-tag: e9af6f27-b483-47dc-bb1a-730c1c5cab03 |
diff --git a/src/textprop.c b/src/textprop.c index e82af12d90a..3df5cc9204d 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -2300,7 +2300,7 @@ inherits it if NONSTICKINESS is nil. The `front-sticky' and | |||
| 2300 | `rear-nonsticky' properties of the character override NONSTICKINESS. */); | 2300 | `rear-nonsticky' properties of the character override NONSTICKINESS. */); |
| 2301 | /* Text property `syntax-table' should be nonsticky by default. */ | 2301 | /* Text property `syntax-table' should be nonsticky by default. */ |
| 2302 | Vtext_property_default_nonsticky | 2302 | Vtext_property_default_nonsticky |
| 2303 | = Fcons (Fcons (intern ("syntax-table"), Qt), Qnil); | 2303 | = Fcons (Fcons (intern_c_string ("syntax-table"), Qt), Qnil); |
| 2304 | 2304 | ||
| 2305 | staticpro (&interval_insert_behind_hooks); | 2305 | staticpro (&interval_insert_behind_hooks); |
| 2306 | staticpro (&interval_insert_in_front_hooks); | 2306 | staticpro (&interval_insert_in_front_hooks); |
| @@ -2311,44 +2311,44 @@ inherits it if NONSTICKINESS is nil. The `front-sticky' and | |||
| 2311 | /* Common attributes one might give text */ | 2311 | /* Common attributes one might give text */ |
| 2312 | 2312 | ||
| 2313 | staticpro (&Qforeground); | 2313 | staticpro (&Qforeground); |
| 2314 | Qforeground = intern ("foreground"); | 2314 | Qforeground = intern_c_string ("foreground"); |
| 2315 | staticpro (&Qbackground); | 2315 | staticpro (&Qbackground); |
| 2316 | Qbackground = intern ("background"); | 2316 | Qbackground = intern_c_string ("background"); |
| 2317 | staticpro (&Qfont); | 2317 | staticpro (&Qfont); |
| 2318 | Qfont = intern ("font"); | 2318 | Qfont = intern_c_string ("font"); |
| 2319 | staticpro (&Qstipple); | 2319 | staticpro (&Qstipple); |
| 2320 | Qstipple = intern ("stipple"); | 2320 | Qstipple = intern_c_string ("stipple"); |
| 2321 | staticpro (&Qunderline); | 2321 | staticpro (&Qunderline); |
| 2322 | Qunderline = intern ("underline"); | 2322 | Qunderline = intern_c_string ("underline"); |
| 2323 | staticpro (&Qread_only); | 2323 | staticpro (&Qread_only); |
| 2324 | Qread_only = intern ("read-only"); | 2324 | Qread_only = intern_c_string ("read-only"); |
| 2325 | staticpro (&Qinvisible); | 2325 | staticpro (&Qinvisible); |
| 2326 | Qinvisible = intern ("invisible"); | 2326 | Qinvisible = intern_c_string ("invisible"); |
| 2327 | staticpro (&Qintangible); | 2327 | staticpro (&Qintangible); |
| 2328 | Qintangible = intern ("intangible"); | 2328 | Qintangible = intern_c_string ("intangible"); |
| 2329 | staticpro (&Qcategory); | 2329 | staticpro (&Qcategory); |
| 2330 | Qcategory = intern ("category"); | 2330 | Qcategory = intern_c_string ("category"); |
| 2331 | staticpro (&Qlocal_map); | 2331 | staticpro (&Qlocal_map); |
| 2332 | Qlocal_map = intern ("local-map"); | 2332 | Qlocal_map = intern_c_string ("local-map"); |
| 2333 | staticpro (&Qfront_sticky); | 2333 | staticpro (&Qfront_sticky); |
| 2334 | Qfront_sticky = intern ("front-sticky"); | 2334 | Qfront_sticky = intern_c_string ("front-sticky"); |
| 2335 | staticpro (&Qrear_nonsticky); | 2335 | staticpro (&Qrear_nonsticky); |
| 2336 | Qrear_nonsticky = intern ("rear-nonsticky"); | 2336 | Qrear_nonsticky = intern_c_string ("rear-nonsticky"); |
| 2337 | staticpro (&Qmouse_face); | 2337 | staticpro (&Qmouse_face); |
| 2338 | Qmouse_face = intern ("mouse-face"); | 2338 | Qmouse_face = intern_c_string ("mouse-face"); |
| 2339 | staticpro (&Qminibuffer_prompt); | 2339 | staticpro (&Qminibuffer_prompt); |
| 2340 | Qminibuffer_prompt = intern ("minibuffer-prompt"); | 2340 | Qminibuffer_prompt = intern_c_string ("minibuffer-prompt"); |
| 2341 | 2341 | ||
| 2342 | /* Properties that text might use to specify certain actions */ | 2342 | /* Properties that text might use to specify certain actions */ |
| 2343 | 2343 | ||
| 2344 | staticpro (&Qmouse_left); | 2344 | staticpro (&Qmouse_left); |
| 2345 | Qmouse_left = intern ("mouse-left"); | 2345 | Qmouse_left = intern_c_string ("mouse-left"); |
| 2346 | staticpro (&Qmouse_entered); | 2346 | staticpro (&Qmouse_entered); |
| 2347 | Qmouse_entered = intern ("mouse-entered"); | 2347 | Qmouse_entered = intern_c_string ("mouse-entered"); |
| 2348 | staticpro (&Qpoint_left); | 2348 | staticpro (&Qpoint_left); |
| 2349 | Qpoint_left = intern ("point-left"); | 2349 | Qpoint_left = intern_c_string ("point-left"); |
| 2350 | staticpro (&Qpoint_entered); | 2350 | staticpro (&Qpoint_entered); |
| 2351 | Qpoint_entered = intern ("point-entered"); | 2351 | Qpoint_entered = intern_c_string ("point-entered"); |
| 2352 | 2352 | ||
| 2353 | defsubr (&Stext_properties_at); | 2353 | defsubr (&Stext_properties_at); |
| 2354 | defsubr (&Sget_text_property); | 2354 | defsubr (&Sget_text_property); |
diff --git a/src/undo.c b/src/undo.c index f2a37cb4083..8dcd393444c 100644 --- a/src/undo.c +++ b/src/undo.c | |||
| @@ -667,10 +667,10 @@ Return what remains of the list. */) | |||
| 667 | void | 667 | void |
| 668 | syms_of_undo () | 668 | syms_of_undo () |
| 669 | { | 669 | { |
| 670 | Qinhibit_read_only = intern ("inhibit-read-only"); | 670 | Qinhibit_read_only = intern_c_string ("inhibit-read-only"); |
| 671 | staticpro (&Qinhibit_read_only); | 671 | staticpro (&Qinhibit_read_only); |
| 672 | 672 | ||
| 673 | Qapply = intern ("apply"); | 673 | Qapply = intern_c_string ("apply"); |
| 674 | staticpro (&Qapply); | 674 | staticpro (&Qapply); |
| 675 | 675 | ||
| 676 | pending_boundary = Qnil; | 676 | pending_boundary = Qnil; |
diff --git a/src/w32fns.c b/src/w32fns.c index db7fdfbed9a..a99e094d9c2 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -6968,9 +6968,9 @@ syms_of_w32fns () | |||
| 6968 | 6968 | ||
| 6969 | 6969 | ||
| 6970 | Fput (Qundefined_color, Qerror_conditions, | 6970 | Fput (Qundefined_color, Qerror_conditions, |
| 6971 | Fcons (Qundefined_color, Fcons (Qerror, Qnil))); | 6971 | pure_cons (Qundefined_color, pure_cons (Qerror, Qnil))); |
| 6972 | Fput (Qundefined_color, Qerror_message, | 6972 | Fput (Qundefined_color, Qerror_message, |
| 6973 | build_string ("Undefined color")); | 6973 | make_pure_c_string ("Undefined color")); |
| 6974 | 6974 | ||
| 6975 | staticpro (&w32_grabbed_keys); | 6975 | staticpro (&w32_grabbed_keys); |
| 6976 | w32_grabbed_keys = Qnil; | 6976 | w32_grabbed_keys = Qnil; |
diff --git a/src/window.c b/src/window.c index 26165e701b1..13c14e76375 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -7170,33 +7170,33 @@ init_window () | |||
| 7170 | void | 7170 | void |
| 7171 | syms_of_window () | 7171 | syms_of_window () |
| 7172 | { | 7172 | { |
| 7173 | Qscroll_up = intern ("scroll-up"); | 7173 | Qscroll_up = intern_c_string ("scroll-up"); |
| 7174 | staticpro (&Qscroll_up); | 7174 | staticpro (&Qscroll_up); |
| 7175 | 7175 | ||
| 7176 | Qscroll_down = intern ("scroll-down"); | 7176 | Qscroll_down = intern_c_string ("scroll-down"); |
| 7177 | staticpro (&Qscroll_down); | 7177 | staticpro (&Qscroll_down); |
| 7178 | 7178 | ||
| 7179 | Qwindow_size_fixed = intern ("window-size-fixed"); | 7179 | Qwindow_size_fixed = intern_c_string ("window-size-fixed"); |
| 7180 | staticpro (&Qwindow_size_fixed); | 7180 | staticpro (&Qwindow_size_fixed); |
| 7181 | Fset (Qwindow_size_fixed, Qnil); | 7181 | Fset (Qwindow_size_fixed, Qnil); |
| 7182 | 7182 | ||
| 7183 | staticpro (&Qwindow_configuration_change_hook); | 7183 | staticpro (&Qwindow_configuration_change_hook); |
| 7184 | Qwindow_configuration_change_hook | 7184 | Qwindow_configuration_change_hook |
| 7185 | = intern ("window-configuration-change-hook"); | 7185 | = intern_c_string ("window-configuration-change-hook"); |
| 7186 | 7186 | ||
| 7187 | Qwindowp = intern ("windowp"); | 7187 | Qwindowp = intern_c_string ("windowp"); |
| 7188 | staticpro (&Qwindowp); | 7188 | staticpro (&Qwindowp); |
| 7189 | 7189 | ||
| 7190 | Qwindow_configuration_p = intern ("window-configuration-p"); | 7190 | Qwindow_configuration_p = intern_c_string ("window-configuration-p"); |
| 7191 | staticpro (&Qwindow_configuration_p); | 7191 | staticpro (&Qwindow_configuration_p); |
| 7192 | 7192 | ||
| 7193 | Qwindow_live_p = intern ("window-live-p"); | 7193 | Qwindow_live_p = intern_c_string ("window-live-p"); |
| 7194 | staticpro (&Qwindow_live_p); | 7194 | staticpro (&Qwindow_live_p); |
| 7195 | 7195 | ||
| 7196 | Qdisplay_buffer = intern ("display-buffer"); | 7196 | Qdisplay_buffer = intern_c_string ("display-buffer"); |
| 7197 | staticpro (&Qdisplay_buffer); | 7197 | staticpro (&Qdisplay_buffer); |
| 7198 | 7198 | ||
| 7199 | Qtemp_buffer_show_hook = intern ("temp-buffer-show-hook"); | 7199 | Qtemp_buffer_show_hook = intern_c_string ("temp-buffer-show-hook"); |
| 7200 | staticpro (&Qtemp_buffer_show_hook); | 7200 | staticpro (&Qtemp_buffer_show_hook); |
| 7201 | 7201 | ||
| 7202 | staticpro (&Vwindow_list); | 7202 | staticpro (&Vwindow_list); |
diff --git a/src/xdisp.c b/src/xdisp.c index f88750447aa..5b6fdf83fe7 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -24619,7 +24619,7 @@ syms_of_xdisp () | |||
| 24619 | Vmessage_stack = Qnil; | 24619 | Vmessage_stack = Qnil; |
| 24620 | staticpro (&Vmessage_stack); | 24620 | staticpro (&Vmessage_stack); |
| 24621 | 24621 | ||
| 24622 | Qinhibit_redisplay = intern ("inhibit-redisplay"); | 24622 | Qinhibit_redisplay = intern_c_string ("inhibit-redisplay"); |
| 24623 | staticpro (&Qinhibit_redisplay); | 24623 | staticpro (&Qinhibit_redisplay); |
| 24624 | 24624 | ||
| 24625 | message_dolog_marker1 = Fmake_marker (); | 24625 | message_dolog_marker1 = Fmake_marker (); |
| @@ -24645,133 +24645,133 @@ syms_of_xdisp () | |||
| 24645 | defsubr (&Sinvisible_p); | 24645 | defsubr (&Sinvisible_p); |
| 24646 | 24646 | ||
| 24647 | staticpro (&Qmenu_bar_update_hook); | 24647 | staticpro (&Qmenu_bar_update_hook); |
| 24648 | Qmenu_bar_update_hook = intern ("menu-bar-update-hook"); | 24648 | Qmenu_bar_update_hook = intern_c_string ("menu-bar-update-hook"); |
| 24649 | 24649 | ||
| 24650 | staticpro (&Qoverriding_terminal_local_map); | 24650 | staticpro (&Qoverriding_terminal_local_map); |
| 24651 | Qoverriding_terminal_local_map = intern ("overriding-terminal-local-map"); | 24651 | Qoverriding_terminal_local_map = intern_c_string ("overriding-terminal-local-map"); |
| 24652 | 24652 | ||
| 24653 | staticpro (&Qoverriding_local_map); | 24653 | staticpro (&Qoverriding_local_map); |
| 24654 | Qoverriding_local_map = intern ("overriding-local-map"); | 24654 | Qoverriding_local_map = intern_c_string ("overriding-local-map"); |
| 24655 | 24655 | ||
| 24656 | staticpro (&Qwindow_scroll_functions); | 24656 | staticpro (&Qwindow_scroll_functions); |
| 24657 | Qwindow_scroll_functions = intern ("window-scroll-functions"); | 24657 | Qwindow_scroll_functions = intern_c_string ("window-scroll-functions"); |
| 24658 | 24658 | ||
| 24659 | staticpro (&Qwindow_text_change_functions); | 24659 | staticpro (&Qwindow_text_change_functions); |
| 24660 | Qwindow_text_change_functions = intern ("window-text-change-functions"); | 24660 | Qwindow_text_change_functions = intern_c_string ("window-text-change-functions"); |
| 24661 | 24661 | ||
| 24662 | staticpro (&Qredisplay_end_trigger_functions); | 24662 | staticpro (&Qredisplay_end_trigger_functions); |
| 24663 | Qredisplay_end_trigger_functions = intern ("redisplay-end-trigger-functions"); | 24663 | Qredisplay_end_trigger_functions = intern_c_string ("redisplay-end-trigger-functions"); |
| 24664 | 24664 | ||
| 24665 | staticpro (&Qinhibit_point_motion_hooks); | 24665 | staticpro (&Qinhibit_point_motion_hooks); |
| 24666 | Qinhibit_point_motion_hooks = intern ("inhibit-point-motion-hooks"); | 24666 | Qinhibit_point_motion_hooks = intern_c_string ("inhibit-point-motion-hooks"); |
| 24667 | 24667 | ||
| 24668 | Qeval = intern ("eval"); | 24668 | Qeval = intern_c_string ("eval"); |
| 24669 | staticpro (&Qeval); | 24669 | staticpro (&Qeval); |
| 24670 | 24670 | ||
| 24671 | QCdata = intern (":data"); | 24671 | QCdata = intern_c_string (":data"); |
| 24672 | staticpro (&QCdata); | 24672 | staticpro (&QCdata); |
| 24673 | Qdisplay = intern ("display"); | 24673 | Qdisplay = intern_c_string ("display"); |
| 24674 | staticpro (&Qdisplay); | 24674 | staticpro (&Qdisplay); |
| 24675 | Qspace_width = intern ("space-width"); | 24675 | Qspace_width = intern_c_string ("space-width"); |
| 24676 | staticpro (&Qspace_width); | 24676 | staticpro (&Qspace_width); |
| 24677 | Qraise = intern ("raise"); | 24677 | Qraise = intern_c_string ("raise"); |
| 24678 | staticpro (&Qraise); | 24678 | staticpro (&Qraise); |
| 24679 | Qslice = intern ("slice"); | 24679 | Qslice = intern_c_string ("slice"); |
| 24680 | staticpro (&Qslice); | 24680 | staticpro (&Qslice); |
| 24681 | Qspace = intern ("space"); | 24681 | Qspace = intern_c_string ("space"); |
| 24682 | staticpro (&Qspace); | 24682 | staticpro (&Qspace); |
| 24683 | Qmargin = intern ("margin"); | 24683 | Qmargin = intern_c_string ("margin"); |
| 24684 | staticpro (&Qmargin); | 24684 | staticpro (&Qmargin); |
| 24685 | Qpointer = intern ("pointer"); | 24685 | Qpointer = intern_c_string ("pointer"); |
| 24686 | staticpro (&Qpointer); | 24686 | staticpro (&Qpointer); |
| 24687 | Qleft_margin = intern ("left-margin"); | 24687 | Qleft_margin = intern_c_string ("left-margin"); |
| 24688 | staticpro (&Qleft_margin); | 24688 | staticpro (&Qleft_margin); |
| 24689 | Qright_margin = intern ("right-margin"); | 24689 | Qright_margin = intern_c_string ("right-margin"); |
| 24690 | staticpro (&Qright_margin); | 24690 | staticpro (&Qright_margin); |
| 24691 | Qcenter = intern ("center"); | 24691 | Qcenter = intern_c_string ("center"); |
| 24692 | staticpro (&Qcenter); | 24692 | staticpro (&Qcenter); |
| 24693 | Qline_height = intern ("line-height"); | 24693 | Qline_height = intern_c_string ("line-height"); |
| 24694 | staticpro (&Qline_height); | 24694 | staticpro (&Qline_height); |
| 24695 | QCalign_to = intern (":align-to"); | 24695 | QCalign_to = intern_c_string (":align-to"); |
| 24696 | staticpro (&QCalign_to); | 24696 | staticpro (&QCalign_to); |
| 24697 | QCrelative_width = intern (":relative-width"); | 24697 | QCrelative_width = intern_c_string (":relative-width"); |
| 24698 | staticpro (&QCrelative_width); | 24698 | staticpro (&QCrelative_width); |
| 24699 | QCrelative_height = intern (":relative-height"); | 24699 | QCrelative_height = intern_c_string (":relative-height"); |
| 24700 | staticpro (&QCrelative_height); | 24700 | staticpro (&QCrelative_height); |
| 24701 | QCeval = intern (":eval"); | 24701 | QCeval = intern_c_string (":eval"); |
| 24702 | staticpro (&QCeval); | 24702 | staticpro (&QCeval); |
| 24703 | QCpropertize = intern (":propertize"); | 24703 | QCpropertize = intern_c_string (":propertize"); |
| 24704 | staticpro (&QCpropertize); | 24704 | staticpro (&QCpropertize); |
| 24705 | QCfile = intern (":file"); | 24705 | QCfile = intern_c_string (":file"); |
| 24706 | staticpro (&QCfile); | 24706 | staticpro (&QCfile); |
| 24707 | Qfontified = intern ("fontified"); | 24707 | Qfontified = intern_c_string ("fontified"); |
| 24708 | staticpro (&Qfontified); | 24708 | staticpro (&Qfontified); |
| 24709 | Qfontification_functions = intern ("fontification-functions"); | 24709 | Qfontification_functions = intern_c_string ("fontification-functions"); |
| 24710 | staticpro (&Qfontification_functions); | 24710 | staticpro (&Qfontification_functions); |
| 24711 | Qtrailing_whitespace = intern ("trailing-whitespace"); | 24711 | Qtrailing_whitespace = intern_c_string ("trailing-whitespace"); |
| 24712 | staticpro (&Qtrailing_whitespace); | 24712 | staticpro (&Qtrailing_whitespace); |
| 24713 | Qescape_glyph = intern ("escape-glyph"); | 24713 | Qescape_glyph = intern_c_string ("escape-glyph"); |
| 24714 | staticpro (&Qescape_glyph); | 24714 | staticpro (&Qescape_glyph); |
| 24715 | Qnobreak_space = intern ("nobreak-space"); | 24715 | Qnobreak_space = intern_c_string ("nobreak-space"); |
| 24716 | staticpro (&Qnobreak_space); | 24716 | staticpro (&Qnobreak_space); |
| 24717 | Qimage = intern ("image"); | 24717 | Qimage = intern_c_string ("image"); |
| 24718 | staticpro (&Qimage); | 24718 | staticpro (&Qimage); |
| 24719 | QCmap = intern (":map"); | 24719 | QCmap = intern_c_string (":map"); |
| 24720 | staticpro (&QCmap); | 24720 | staticpro (&QCmap); |
| 24721 | QCpointer = intern (":pointer"); | 24721 | QCpointer = intern_c_string (":pointer"); |
| 24722 | staticpro (&QCpointer); | 24722 | staticpro (&QCpointer); |
| 24723 | Qrect = intern ("rect"); | 24723 | Qrect = intern_c_string ("rect"); |
| 24724 | staticpro (&Qrect); | 24724 | staticpro (&Qrect); |
| 24725 | Qcircle = intern ("circle"); | 24725 | Qcircle = intern_c_string ("circle"); |
| 24726 | staticpro (&Qcircle); | 24726 | staticpro (&Qcircle); |
| 24727 | Qpoly = intern ("poly"); | 24727 | Qpoly = intern_c_string ("poly"); |
| 24728 | staticpro (&Qpoly); | 24728 | staticpro (&Qpoly); |
| 24729 | Qmessage_truncate_lines = intern ("message-truncate-lines"); | 24729 | Qmessage_truncate_lines = intern_c_string ("message-truncate-lines"); |
| 24730 | staticpro (&Qmessage_truncate_lines); | 24730 | staticpro (&Qmessage_truncate_lines); |
| 24731 | Qgrow_only = intern ("grow-only"); | 24731 | Qgrow_only = intern_c_string ("grow-only"); |
| 24732 | staticpro (&Qgrow_only); | 24732 | staticpro (&Qgrow_only); |
| 24733 | Qinhibit_menubar_update = intern ("inhibit-menubar-update"); | 24733 | Qinhibit_menubar_update = intern_c_string ("inhibit-menubar-update"); |
| 24734 | staticpro (&Qinhibit_menubar_update); | 24734 | staticpro (&Qinhibit_menubar_update); |
| 24735 | Qinhibit_eval_during_redisplay = intern ("inhibit-eval-during-redisplay"); | 24735 | Qinhibit_eval_during_redisplay = intern_c_string ("inhibit-eval-during-redisplay"); |
| 24736 | staticpro (&Qinhibit_eval_during_redisplay); | 24736 | staticpro (&Qinhibit_eval_during_redisplay); |
| 24737 | Qposition = intern ("position"); | 24737 | Qposition = intern_c_string ("position"); |
| 24738 | staticpro (&Qposition); | 24738 | staticpro (&Qposition); |
| 24739 | Qbuffer_position = intern ("buffer-position"); | 24739 | Qbuffer_position = intern_c_string ("buffer-position"); |
| 24740 | staticpro (&Qbuffer_position); | 24740 | staticpro (&Qbuffer_position); |
| 24741 | Qobject = intern ("object"); | 24741 | Qobject = intern_c_string ("object"); |
| 24742 | staticpro (&Qobject); | 24742 | staticpro (&Qobject); |
| 24743 | Qbar = intern ("bar"); | 24743 | Qbar = intern_c_string ("bar"); |
| 24744 | staticpro (&Qbar); | 24744 | staticpro (&Qbar); |
| 24745 | Qhbar = intern ("hbar"); | 24745 | Qhbar = intern_c_string ("hbar"); |
| 24746 | staticpro (&Qhbar); | 24746 | staticpro (&Qhbar); |
| 24747 | Qbox = intern ("box"); | 24747 | Qbox = intern_c_string ("box"); |
| 24748 | staticpro (&Qbox); | 24748 | staticpro (&Qbox); |
| 24749 | Qhollow = intern ("hollow"); | 24749 | Qhollow = intern_c_string ("hollow"); |
| 24750 | staticpro (&Qhollow); | 24750 | staticpro (&Qhollow); |
| 24751 | Qhand = intern ("hand"); | 24751 | Qhand = intern_c_string ("hand"); |
| 24752 | staticpro (&Qhand); | 24752 | staticpro (&Qhand); |
| 24753 | Qarrow = intern ("arrow"); | 24753 | Qarrow = intern_c_string ("arrow"); |
| 24754 | staticpro (&Qarrow); | 24754 | staticpro (&Qarrow); |
| 24755 | Qtext = intern ("text"); | 24755 | Qtext = intern_c_string ("text"); |
| 24756 | staticpro (&Qtext); | 24756 | staticpro (&Qtext); |
| 24757 | Qrisky_local_variable = intern ("risky-local-variable"); | 24757 | Qrisky_local_variable = intern_c_string ("risky-local-variable"); |
| 24758 | staticpro (&Qrisky_local_variable); | 24758 | staticpro (&Qrisky_local_variable); |
| 24759 | Qinhibit_free_realized_faces = intern ("inhibit-free-realized-faces"); | 24759 | Qinhibit_free_realized_faces = intern_c_string ("inhibit-free-realized-faces"); |
| 24760 | staticpro (&Qinhibit_free_realized_faces); | 24760 | staticpro (&Qinhibit_free_realized_faces); |
| 24761 | 24761 | ||
| 24762 | list_of_error = Fcons (Fcons (intern ("error"), | 24762 | list_of_error = Fcons (Fcons (intern_c_string ("error"), |
| 24763 | Fcons (intern ("void-variable"), Qnil)), | 24763 | Fcons (intern_c_string ("void-variable"), Qnil)), |
| 24764 | Qnil); | 24764 | Qnil); |
| 24765 | staticpro (&list_of_error); | 24765 | staticpro (&list_of_error); |
| 24766 | 24766 | ||
| 24767 | Qlast_arrow_position = intern ("last-arrow-position"); | 24767 | Qlast_arrow_position = intern_c_string ("last-arrow-position"); |
| 24768 | staticpro (&Qlast_arrow_position); | 24768 | staticpro (&Qlast_arrow_position); |
| 24769 | Qlast_arrow_string = intern ("last-arrow-string"); | 24769 | Qlast_arrow_string = intern_c_string ("last-arrow-string"); |
| 24770 | staticpro (&Qlast_arrow_string); | 24770 | staticpro (&Qlast_arrow_string); |
| 24771 | 24771 | ||
| 24772 | Qoverlay_arrow_string = intern ("overlay-arrow-string"); | 24772 | Qoverlay_arrow_string = intern_c_string ("overlay-arrow-string"); |
| 24773 | staticpro (&Qoverlay_arrow_string); | 24773 | staticpro (&Qoverlay_arrow_string); |
| 24774 | Qoverlay_arrow_bitmap = intern ("overlay-arrow-bitmap"); | 24774 | Qoverlay_arrow_bitmap = intern_c_string ("overlay-arrow-bitmap"); |
| 24775 | staticpro (&Qoverlay_arrow_bitmap); | 24775 | staticpro (&Qoverlay_arrow_bitmap); |
| 24776 | 24776 | ||
| 24777 | echo_buffer[0] = echo_buffer[1] = Qnil; | 24777 | echo_buffer[0] = echo_buffer[1] = Qnil; |
| @@ -24859,7 +24859,7 @@ See also `overlay-arrow-position'. */); | |||
| 24859 | The symbols on this list are examined during redisplay to determine | 24859 | The symbols on this list are examined during redisplay to determine |
| 24860 | where to display overlay arrows. */); | 24860 | where to display overlay arrows. */); |
| 24861 | Voverlay_arrow_variable_list | 24861 | Voverlay_arrow_variable_list |
| 24862 | = Fcons (intern ("overlay-arrow-position"), Qnil); | 24862 | = Fcons (intern_c_string ("overlay-arrow-position"), Qnil); |
| 24863 | 24863 | ||
| 24864 | DEFVAR_INT ("scroll-step", &scroll_step, | 24864 | DEFVAR_INT ("scroll-step", &scroll_step, |
| 24865 | doc: /* *The number of lines to try scrolling a window by when point moves out. | 24865 | doc: /* *The number of lines to try scrolling a window by when point moves out. |
| @@ -24953,12 +24953,12 @@ and is used only on frames for which no explicit name has been set | |||
| 24953 | \(see `modify-frame-parameters'). */); | 24953 | \(see `modify-frame-parameters'). */); |
| 24954 | Vicon_title_format | 24954 | Vicon_title_format |
| 24955 | = Vframe_title_format | 24955 | = Vframe_title_format |
| 24956 | = Fcons (intern ("multiple-frames"), | 24956 | = Fcons (intern_c_string ("multiple-frames"), |
| 24957 | Fcons (build_string ("%b"), | 24957 | Fcons (build_string ("%b"), |
| 24958 | Fcons (Fcons (empty_unibyte_string, | 24958 | Fcons (Fcons (empty_unibyte_string, |
| 24959 | Fcons (intern ("invocation-name"), | 24959 | Fcons (intern_c_string ("invocation-name"), |
| 24960 | Fcons (build_string ("@"), | 24960 | Fcons (build_string ("@"), |
| 24961 | Fcons (intern ("system-name"), | 24961 | Fcons (intern_c_string ("system-name"), |
| 24962 | Qnil)))), | 24962 | Qnil)))), |
| 24963 | Qnil))); | 24963 | Qnil))); |
| 24964 | 24964 | ||
| @@ -25101,7 +25101,7 @@ the frame's other specifications determine how to blink the cursor off. */); | |||
| 25101 | DEFVAR_BOOL ("auto-hscroll-mode", &automatic_hscrolling_p, | 25101 | DEFVAR_BOOL ("auto-hscroll-mode", &automatic_hscrolling_p, |
| 25102 | doc: /* *Non-nil means scroll the display automatically to make point visible. */); | 25102 | doc: /* *Non-nil means scroll the display automatically to make point visible. */); |
| 25103 | automatic_hscrolling_p = 1; | 25103 | automatic_hscrolling_p = 1; |
| 25104 | Qauto_hscroll_mode = intern ("auto-hscroll-mode"); | 25104 | Qauto_hscroll_mode = intern_c_string ("auto-hscroll-mode"); |
| 25105 | staticpro (&Qauto_hscroll_mode); | 25105 | staticpro (&Qauto_hscroll_mode); |
| 25106 | 25106 | ||
| 25107 | DEFVAR_INT ("hscroll-margin", &hscroll_margin, | 25107 | DEFVAR_INT ("hscroll-margin", &hscroll_margin, |
| @@ -25159,7 +25159,7 @@ property. | |||
| 25159 | To add a prefix to non-continuation lines, use `line-prefix'. */); | 25159 | To add a prefix to non-continuation lines, use `line-prefix'. */); |
| 25160 | Vwrap_prefix = Qnil; | 25160 | Vwrap_prefix = Qnil; |
| 25161 | staticpro (&Qwrap_prefix); | 25161 | staticpro (&Qwrap_prefix); |
| 25162 | Qwrap_prefix = intern ("wrap-prefix"); | 25162 | Qwrap_prefix = intern_c_string ("wrap-prefix"); |
| 25163 | Fmake_variable_buffer_local (Qwrap_prefix); | 25163 | Fmake_variable_buffer_local (Qwrap_prefix); |
| 25164 | 25164 | ||
| 25165 | DEFVAR_LISP ("line-prefix", &Vline_prefix, | 25165 | DEFVAR_LISP ("line-prefix", &Vline_prefix, |
| @@ -25173,7 +25173,7 @@ property. | |||
| 25173 | To add a prefix to continuation lines, use `wrap-prefix'. */); | 25173 | To add a prefix to continuation lines, use `wrap-prefix'. */); |
| 25174 | Vline_prefix = Qnil; | 25174 | Vline_prefix = Qnil; |
| 25175 | staticpro (&Qline_prefix); | 25175 | staticpro (&Qline_prefix); |
| 25176 | Qline_prefix = intern ("line-prefix"); | 25176 | Qline_prefix = intern_c_string ("line-prefix"); |
| 25177 | Fmake_variable_buffer_local (Qline_prefix); | 25177 | Fmake_variable_buffer_local (Qline_prefix); |
| 25178 | 25178 | ||
| 25179 | DEFVAR_BOOL ("inhibit-eval-during-redisplay", &inhibit_eval_during_redisplay, | 25179 | DEFVAR_BOOL ("inhibit-eval-during-redisplay", &inhibit_eval_during_redisplay, |
diff --git a/src/xfaces.c b/src/xfaces.c index f120dfcbb54..2b6df6406f5 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -6744,152 +6744,152 @@ DEFUN ("show-face-resources", Fshow_face_resources, Sshow_face_resources, | |||
| 6744 | void | 6744 | void |
| 6745 | syms_of_xfaces () | 6745 | syms_of_xfaces () |
| 6746 | { | 6746 | { |
| 6747 | Qface = intern ("face"); | 6747 | Qface = intern_c_string ("face"); |
| 6748 | staticpro (&Qface); | 6748 | staticpro (&Qface); |
| 6749 | Qface_no_inherit = intern ("face-no-inherit"); | 6749 | Qface_no_inherit = intern_c_string ("face-no-inherit"); |
| 6750 | staticpro (&Qface_no_inherit); | 6750 | staticpro (&Qface_no_inherit); |
| 6751 | Qbitmap_spec_p = intern ("bitmap-spec-p"); | 6751 | Qbitmap_spec_p = intern_c_string ("bitmap-spec-p"); |
| 6752 | staticpro (&Qbitmap_spec_p); | 6752 | staticpro (&Qbitmap_spec_p); |
| 6753 | Qframe_set_background_mode = intern ("frame-set-background-mode"); | 6753 | Qframe_set_background_mode = intern_c_string ("frame-set-background-mode"); |
| 6754 | staticpro (&Qframe_set_background_mode); | 6754 | staticpro (&Qframe_set_background_mode); |
| 6755 | 6755 | ||
| 6756 | /* Lisp face attribute keywords. */ | 6756 | /* Lisp face attribute keywords. */ |
| 6757 | QCfamily = intern (":family"); | 6757 | QCfamily = intern_c_string (":family"); |
| 6758 | staticpro (&QCfamily); | 6758 | staticpro (&QCfamily); |
| 6759 | QCheight = intern (":height"); | 6759 | QCheight = intern_c_string (":height"); |
| 6760 | staticpro (&QCheight); | 6760 | staticpro (&QCheight); |
| 6761 | QCweight = intern (":weight"); | 6761 | QCweight = intern_c_string (":weight"); |
| 6762 | staticpro (&QCweight); | 6762 | staticpro (&QCweight); |
| 6763 | QCslant = intern (":slant"); | 6763 | QCslant = intern_c_string (":slant"); |
| 6764 | staticpro (&QCslant); | 6764 | staticpro (&QCslant); |
| 6765 | QCunderline = intern (":underline"); | 6765 | QCunderline = intern_c_string (":underline"); |
| 6766 | staticpro (&QCunderline); | 6766 | staticpro (&QCunderline); |
| 6767 | QCinverse_video = intern (":inverse-video"); | 6767 | QCinverse_video = intern_c_string (":inverse-video"); |
| 6768 | staticpro (&QCinverse_video); | 6768 | staticpro (&QCinverse_video); |
| 6769 | QCreverse_video = intern (":reverse-video"); | 6769 | QCreverse_video = intern_c_string (":reverse-video"); |
| 6770 | staticpro (&QCreverse_video); | 6770 | staticpro (&QCreverse_video); |
| 6771 | QCforeground = intern (":foreground"); | 6771 | QCforeground = intern_c_string (":foreground"); |
| 6772 | staticpro (&QCforeground); | 6772 | staticpro (&QCforeground); |
| 6773 | QCbackground = intern (":background"); | 6773 | QCbackground = intern_c_string (":background"); |
| 6774 | staticpro (&QCbackground); | 6774 | staticpro (&QCbackground); |
| 6775 | QCstipple = intern (":stipple"); | 6775 | QCstipple = intern_c_string (":stipple"); |
| 6776 | staticpro (&QCstipple); | 6776 | staticpro (&QCstipple); |
| 6777 | QCwidth = intern (":width"); | 6777 | QCwidth = intern_c_string (":width"); |
| 6778 | staticpro (&QCwidth); | 6778 | staticpro (&QCwidth); |
| 6779 | QCfont = intern (":font"); | 6779 | QCfont = intern_c_string (":font"); |
| 6780 | staticpro (&QCfont); | 6780 | staticpro (&QCfont); |
| 6781 | QCfontset = intern (":fontset"); | 6781 | QCfontset = intern_c_string (":fontset"); |
| 6782 | staticpro (&QCfontset); | 6782 | staticpro (&QCfontset); |
| 6783 | QCbold = intern (":bold"); | 6783 | QCbold = intern_c_string (":bold"); |
| 6784 | staticpro (&QCbold); | 6784 | staticpro (&QCbold); |
| 6785 | QCitalic = intern (":italic"); | 6785 | QCitalic = intern_c_string (":italic"); |
| 6786 | staticpro (&QCitalic); | 6786 | staticpro (&QCitalic); |
| 6787 | QCoverline = intern (":overline"); | 6787 | QCoverline = intern_c_string (":overline"); |
| 6788 | staticpro (&QCoverline); | 6788 | staticpro (&QCoverline); |
| 6789 | QCstrike_through = intern (":strike-through"); | 6789 | QCstrike_through = intern_c_string (":strike-through"); |
| 6790 | staticpro (&QCstrike_through); | 6790 | staticpro (&QCstrike_through); |
| 6791 | QCbox = intern (":box"); | 6791 | QCbox = intern_c_string (":box"); |
| 6792 | staticpro (&QCbox); | 6792 | staticpro (&QCbox); |
| 6793 | QCinherit = intern (":inherit"); | 6793 | QCinherit = intern_c_string (":inherit"); |
| 6794 | staticpro (&QCinherit); | 6794 | staticpro (&QCinherit); |
| 6795 | 6795 | ||
| 6796 | /* Symbols used for Lisp face attribute values. */ | 6796 | /* Symbols used for Lisp face attribute values. */ |
| 6797 | QCcolor = intern (":color"); | 6797 | QCcolor = intern_c_string (":color"); |
| 6798 | staticpro (&QCcolor); | 6798 | staticpro (&QCcolor); |
| 6799 | QCline_width = intern (":line-width"); | 6799 | QCline_width = intern_c_string (":line-width"); |
| 6800 | staticpro (&QCline_width); | 6800 | staticpro (&QCline_width); |
| 6801 | QCstyle = intern (":style"); | 6801 | QCstyle = intern_c_string (":style"); |
| 6802 | staticpro (&QCstyle); | 6802 | staticpro (&QCstyle); |
| 6803 | Qreleased_button = intern ("released-button"); | 6803 | Qreleased_button = intern_c_string ("released-button"); |
| 6804 | staticpro (&Qreleased_button); | 6804 | staticpro (&Qreleased_button); |
| 6805 | Qpressed_button = intern ("pressed-button"); | 6805 | Qpressed_button = intern_c_string ("pressed-button"); |
| 6806 | staticpro (&Qpressed_button); | 6806 | staticpro (&Qpressed_button); |
| 6807 | Qnormal = intern ("normal"); | 6807 | Qnormal = intern_c_string ("normal"); |
| 6808 | staticpro (&Qnormal); | 6808 | staticpro (&Qnormal); |
| 6809 | Qultra_light = intern ("ultra-light"); | 6809 | Qultra_light = intern_c_string ("ultra-light"); |
| 6810 | staticpro (&Qultra_light); | 6810 | staticpro (&Qultra_light); |
| 6811 | Qextra_light = intern ("extra-light"); | 6811 | Qextra_light = intern_c_string ("extra-light"); |
| 6812 | staticpro (&Qextra_light); | 6812 | staticpro (&Qextra_light); |
| 6813 | Qlight = intern ("light"); | 6813 | Qlight = intern_c_string ("light"); |
| 6814 | staticpro (&Qlight); | 6814 | staticpro (&Qlight); |
| 6815 | Qsemi_light = intern ("semi-light"); | 6815 | Qsemi_light = intern_c_string ("semi-light"); |
| 6816 | staticpro (&Qsemi_light); | 6816 | staticpro (&Qsemi_light); |
| 6817 | Qsemi_bold = intern ("semi-bold"); | 6817 | Qsemi_bold = intern_c_string ("semi-bold"); |
| 6818 | staticpro (&Qsemi_bold); | 6818 | staticpro (&Qsemi_bold); |
| 6819 | Qbold = intern ("bold"); | 6819 | Qbold = intern_c_string ("bold"); |
| 6820 | staticpro (&Qbold); | 6820 | staticpro (&Qbold); |
| 6821 | Qextra_bold = intern ("extra-bold"); | 6821 | Qextra_bold = intern_c_string ("extra-bold"); |
| 6822 | staticpro (&Qextra_bold); | 6822 | staticpro (&Qextra_bold); |
| 6823 | Qultra_bold = intern ("ultra-bold"); | 6823 | Qultra_bold = intern_c_string ("ultra-bold"); |
| 6824 | staticpro (&Qultra_bold); | 6824 | staticpro (&Qultra_bold); |
| 6825 | Qoblique = intern ("oblique"); | 6825 | Qoblique = intern_c_string ("oblique"); |
| 6826 | staticpro (&Qoblique); | 6826 | staticpro (&Qoblique); |
| 6827 | Qitalic = intern ("italic"); | 6827 | Qitalic = intern_c_string ("italic"); |
| 6828 | staticpro (&Qitalic); | 6828 | staticpro (&Qitalic); |
| 6829 | Qreverse_oblique = intern ("reverse-oblique"); | 6829 | Qreverse_oblique = intern_c_string ("reverse-oblique"); |
| 6830 | staticpro (&Qreverse_oblique); | 6830 | staticpro (&Qreverse_oblique); |
| 6831 | Qreverse_italic = intern ("reverse-italic"); | 6831 | Qreverse_italic = intern_c_string ("reverse-italic"); |
| 6832 | staticpro (&Qreverse_italic); | 6832 | staticpro (&Qreverse_italic); |
| 6833 | Qultra_condensed = intern ("ultra-condensed"); | 6833 | Qultra_condensed = intern_c_string ("ultra-condensed"); |
| 6834 | staticpro (&Qultra_condensed); | 6834 | staticpro (&Qultra_condensed); |
| 6835 | Qextra_condensed = intern ("extra-condensed"); | 6835 | Qextra_condensed = intern_c_string ("extra-condensed"); |
| 6836 | staticpro (&Qextra_condensed); | 6836 | staticpro (&Qextra_condensed); |
| 6837 | Qcondensed = intern ("condensed"); | 6837 | Qcondensed = intern_c_string ("condensed"); |
| 6838 | staticpro (&Qcondensed); | 6838 | staticpro (&Qcondensed); |
| 6839 | Qsemi_condensed = intern ("semi-condensed"); | 6839 | Qsemi_condensed = intern_c_string ("semi-condensed"); |
| 6840 | staticpro (&Qsemi_condensed); | 6840 | staticpro (&Qsemi_condensed); |
| 6841 | Qsemi_expanded = intern ("semi-expanded"); | 6841 | Qsemi_expanded = intern_c_string ("semi-expanded"); |
| 6842 | staticpro (&Qsemi_expanded); | 6842 | staticpro (&Qsemi_expanded); |
| 6843 | Qexpanded = intern ("expanded"); | 6843 | Qexpanded = intern_c_string ("expanded"); |
| 6844 | staticpro (&Qexpanded); | 6844 | staticpro (&Qexpanded); |
| 6845 | Qextra_expanded = intern ("extra-expanded"); | 6845 | Qextra_expanded = intern_c_string ("extra-expanded"); |
| 6846 | staticpro (&Qextra_expanded); | 6846 | staticpro (&Qextra_expanded); |
| 6847 | Qultra_expanded = intern ("ultra-expanded"); | 6847 | Qultra_expanded = intern_c_string ("ultra-expanded"); |
| 6848 | staticpro (&Qultra_expanded); | 6848 | staticpro (&Qultra_expanded); |
| 6849 | Qbackground_color = intern ("background-color"); | 6849 | Qbackground_color = intern_c_string ("background-color"); |
| 6850 | staticpro (&Qbackground_color); | 6850 | staticpro (&Qbackground_color); |
| 6851 | Qforeground_color = intern ("foreground-color"); | 6851 | Qforeground_color = intern_c_string ("foreground-color"); |
| 6852 | staticpro (&Qforeground_color); | 6852 | staticpro (&Qforeground_color); |
| 6853 | Qunspecified = intern ("unspecified"); | 6853 | Qunspecified = intern_c_string ("unspecified"); |
| 6854 | staticpro (&Qunspecified); | 6854 | staticpro (&Qunspecified); |
| 6855 | Qignore_defface = intern (":ignore-defface"); | 6855 | Qignore_defface = intern_c_string (":ignore-defface"); |
| 6856 | staticpro (&Qignore_defface); | 6856 | staticpro (&Qignore_defface); |
| 6857 | 6857 | ||
| 6858 | Qface_alias = intern ("face-alias"); | 6858 | Qface_alias = intern_c_string ("face-alias"); |
| 6859 | staticpro (&Qface_alias); | 6859 | staticpro (&Qface_alias); |
| 6860 | Qdefault = intern ("default"); | 6860 | Qdefault = intern_c_string ("default"); |
| 6861 | staticpro (&Qdefault); | 6861 | staticpro (&Qdefault); |
| 6862 | Qtool_bar = intern ("tool-bar"); | 6862 | Qtool_bar = intern_c_string ("tool-bar"); |
| 6863 | staticpro (&Qtool_bar); | 6863 | staticpro (&Qtool_bar); |
| 6864 | Qregion = intern ("region"); | 6864 | Qregion = intern_c_string ("region"); |
| 6865 | staticpro (&Qregion); | 6865 | staticpro (&Qregion); |
| 6866 | Qfringe = intern ("fringe"); | 6866 | Qfringe = intern_c_string ("fringe"); |
| 6867 | staticpro (&Qfringe); | 6867 | staticpro (&Qfringe); |
| 6868 | Qheader_line = intern ("header-line"); | 6868 | Qheader_line = intern_c_string ("header-line"); |
| 6869 | staticpro (&Qheader_line); | 6869 | staticpro (&Qheader_line); |
| 6870 | Qscroll_bar = intern ("scroll-bar"); | 6870 | Qscroll_bar = intern_c_string ("scroll-bar"); |
| 6871 | staticpro (&Qscroll_bar); | 6871 | staticpro (&Qscroll_bar); |
| 6872 | Qmenu = intern ("menu"); | 6872 | Qmenu = intern_c_string ("menu"); |
| 6873 | staticpro (&Qmenu); | 6873 | staticpro (&Qmenu); |
| 6874 | Qcursor = intern ("cursor"); | 6874 | Qcursor = intern_c_string ("cursor"); |
| 6875 | staticpro (&Qcursor); | 6875 | staticpro (&Qcursor); |
| 6876 | Qborder = intern ("border"); | 6876 | Qborder = intern_c_string ("border"); |
| 6877 | staticpro (&Qborder); | 6877 | staticpro (&Qborder); |
| 6878 | Qmouse = intern ("mouse"); | 6878 | Qmouse = intern_c_string ("mouse"); |
| 6879 | staticpro (&Qmouse); | 6879 | staticpro (&Qmouse); |
| 6880 | Qmode_line_inactive = intern ("mode-line-inactive"); | 6880 | Qmode_line_inactive = intern_c_string ("mode-line-inactive"); |
| 6881 | staticpro (&Qmode_line_inactive); | 6881 | staticpro (&Qmode_line_inactive); |
| 6882 | Qvertical_border = intern ("vertical-border"); | 6882 | Qvertical_border = intern_c_string ("vertical-border"); |
| 6883 | staticpro (&Qvertical_border); | 6883 | staticpro (&Qvertical_border); |
| 6884 | Qtty_color_desc = intern ("tty-color-desc"); | 6884 | Qtty_color_desc = intern_c_string ("tty-color-desc"); |
| 6885 | staticpro (&Qtty_color_desc); | 6885 | staticpro (&Qtty_color_desc); |
| 6886 | Qtty_color_standard_values = intern ("tty-color-standard-values"); | 6886 | Qtty_color_standard_values = intern_c_string ("tty-color-standard-values"); |
| 6887 | staticpro (&Qtty_color_standard_values); | 6887 | staticpro (&Qtty_color_standard_values); |
| 6888 | Qtty_color_by_index = intern ("tty-color-by-index"); | 6888 | Qtty_color_by_index = intern_c_string ("tty-color-by-index"); |
| 6889 | staticpro (&Qtty_color_by_index); | 6889 | staticpro (&Qtty_color_by_index); |
| 6890 | Qtty_color_alist = intern ("tty-color-alist"); | 6890 | Qtty_color_alist = intern_c_string ("tty-color-alist"); |
| 6891 | staticpro (&Qtty_color_alist); | 6891 | staticpro (&Qtty_color_alist); |
| 6892 | Qscalable_fonts_allowed = intern ("scalable-fonts-allowed"); | 6892 | Qscalable_fonts_allowed = intern_c_string ("scalable-fonts-allowed"); |
| 6893 | staticpro (&Qscalable_fonts_allowed); | 6893 | staticpro (&Qscalable_fonts_allowed); |
| 6894 | 6894 | ||
| 6895 | Vparam_value_alist = Fcons (Fcons (Qnil, Qnil), Qnil); | 6895 | Vparam_value_alist = Fcons (Fcons (Qnil, Qnil), Qnil); |
diff --git a/src/xfns.c b/src/xfns.c index b9217617e30..8fd46fa1a0e 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -5786,17 +5786,17 @@ syms_of_xfns () | |||
| 5786 | /* The section below is built by the lisp expression at the top of the file, | 5786 | /* The section below is built by the lisp expression at the top of the file, |
| 5787 | just above where these variables are declared. */ | 5787 | just above where these variables are declared. */ |
| 5788 | /*&&& init symbols here &&&*/ | 5788 | /*&&& init symbols here &&&*/ |
| 5789 | Qnone = intern ("none"); | 5789 | Qnone = intern_c_string ("none"); |
| 5790 | staticpro (&Qnone); | 5790 | staticpro (&Qnone); |
| 5791 | Qsuppress_icon = intern ("suppress-icon"); | 5791 | Qsuppress_icon = intern_c_string ("suppress-icon"); |
| 5792 | staticpro (&Qsuppress_icon); | 5792 | staticpro (&Qsuppress_icon); |
| 5793 | Qundefined_color = intern ("undefined-color"); | 5793 | Qundefined_color = intern_c_string ("undefined-color"); |
| 5794 | staticpro (&Qundefined_color); | 5794 | staticpro (&Qundefined_color); |
| 5795 | Qcompound_text = intern ("compound-text"); | 5795 | Qcompound_text = intern_c_string ("compound-text"); |
| 5796 | staticpro (&Qcompound_text); | 5796 | staticpro (&Qcompound_text); |
| 5797 | Qcancel_timer = intern ("cancel-timer"); | 5797 | Qcancel_timer = intern_c_string ("cancel-timer"); |
| 5798 | staticpro (&Qcancel_timer); | 5798 | staticpro (&Qcancel_timer); |
| 5799 | Qfont_param = intern ("font-parameter"); | 5799 | Qfont_param = intern_c_string ("font-parameter"); |
| 5800 | staticpro (&Qfont_param); | 5800 | staticpro (&Qfont_param); |
| 5801 | /* This is the end of symbol initialization. */ | 5801 | /* This is the end of symbol initialization. */ |
| 5802 | 5802 | ||
| @@ -5806,9 +5806,9 @@ syms_of_xfns () | |||
| 5806 | 5806 | ||
| 5807 | 5807 | ||
| 5808 | Fput (Qundefined_color, Qerror_conditions, | 5808 | Fput (Qundefined_color, Qerror_conditions, |
| 5809 | Fcons (Qundefined_color, Fcons (Qerror, Qnil))); | 5809 | pure_cons (Qundefined_color, pure_cons (Qerror, Qnil))); |
| 5810 | Fput (Qundefined_color, Qerror_message, | 5810 | Fput (Qundefined_color, Qerror_message, |
| 5811 | build_string ("Undefined color")); | 5811 | make_pure_c_string ("Undefined color")); |
| 5812 | 5812 | ||
| 5813 | DEFVAR_LISP ("x-pointer-shape", &Vx_pointer_shape, | 5813 | DEFVAR_LISP ("x-pointer-shape", &Vx_pointer_shape, |
| 5814 | doc: /* The shape of the pointer when over text. | 5814 | doc: /* The shape of the pointer when over text. |
| @@ -5905,12 +5905,12 @@ The default is to just show an arrow and pressing on that arrow shows | |||
| 5905 | the tool bar buttons. */); | 5905 | the tool bar buttons. */); |
| 5906 | x_gtk_whole_detached_tool_bar = 0; | 5906 | x_gtk_whole_detached_tool_bar = 0; |
| 5907 | 5907 | ||
| 5908 | Fprovide (intern ("x"), Qnil); | 5908 | Fprovide (intern_c_string ("x"), Qnil); |
| 5909 | 5909 | ||
| 5910 | #ifdef USE_X_TOOLKIT | 5910 | #ifdef USE_X_TOOLKIT |
| 5911 | Fprovide (intern ("x-toolkit"), Qnil); | 5911 | Fprovide (intern_c_string ("x-toolkit"), Qnil); |
| 5912 | #ifdef USE_MOTIF | 5912 | #ifdef USE_MOTIF |
| 5913 | Fprovide (intern ("motif"), Qnil); | 5913 | Fprovide (intern_c_string ("motif"), Qnil); |
| 5914 | 5914 | ||
| 5915 | DEFVAR_LISP ("motif-version-string", &Vmotif_version_string, | 5915 | DEFVAR_LISP ("motif-version-string", &Vmotif_version_string, |
| 5916 | doc: /* Version info for LessTif/Motif. */); | 5916 | doc: /* Version info for LessTif/Motif. */); |
| @@ -5923,8 +5923,8 @@ the tool bar buttons. */); | |||
| 5923 | is not an X toolkit in that sense (USE_X_TOOLKIT is not defined). | 5923 | is not an X toolkit in that sense (USE_X_TOOLKIT is not defined). |
| 5924 | But for a user it is a toolkit for X, and indeed, configure | 5924 | But for a user it is a toolkit for X, and indeed, configure |
| 5925 | accepts --with-x-toolkit=gtk. */ | 5925 | accepts --with-x-toolkit=gtk. */ |
| 5926 | Fprovide (intern ("x-toolkit"), Qnil); | 5926 | Fprovide (intern_c_string ("x-toolkit"), Qnil); |
| 5927 | Fprovide (intern ("gtk"), Qnil); | 5927 | Fprovide (intern_c_string ("gtk"), Qnil); |
| 5928 | 5928 | ||
| 5929 | DEFVAR_LISP ("gtk-version-string", &Vgtk_version_string, | 5929 | DEFVAR_LISP ("gtk-version-string", &Vgtk_version_string, |
| 5930 | doc: /* Version info for GTK+. */); | 5930 | doc: /* Version info for GTK+. */); |
diff --git a/src/xmenu.c b/src/xmenu.c index a2c9fbaaeaf..836376646d9 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -2919,7 +2919,7 @@ DEFUN ("menu-or-popup-active-p", Fmenu_or_popup_active_p, Smenu_or_popup_active_ | |||
| 2919 | void | 2919 | void |
| 2920 | syms_of_xmenu () | 2920 | syms_of_xmenu () |
| 2921 | { | 2921 | { |
| 2922 | Qdebug_on_next_call = intern ("debug-on-next-call"); | 2922 | Qdebug_on_next_call = intern_c_string ("debug-on-next-call"); |
| 2923 | staticpro (&Qdebug_on_next_call); | 2923 | staticpro (&Qdebug_on_next_call); |
| 2924 | 2924 | ||
| 2925 | #ifdef USE_X_TOOLKIT | 2925 | #ifdef USE_X_TOOLKIT |
| @@ -2932,8 +2932,8 @@ syms_of_xmenu () | |||
| 2932 | 2932 | ||
| 2933 | #if defined (USE_GTK) || defined (USE_X_TOOLKIT) | 2933 | #if defined (USE_GTK) || defined (USE_X_TOOLKIT) |
| 2934 | defsubr (&Sx_menu_bar_open_internal); | 2934 | defsubr (&Sx_menu_bar_open_internal); |
| 2935 | Ffset (intern ("accelerate-menu"), | 2935 | Ffset (intern_c_string ("accelerate-menu"), |
| 2936 | intern (Sx_menu_bar_open_internal.symbol_name)); | 2936 | intern_c_string (Sx_menu_bar_open_internal.symbol_name)); |
| 2937 | #endif | 2937 | #endif |
| 2938 | 2938 | ||
| 2939 | #ifdef HAVE_MENUS | 2939 | #ifdef HAVE_MENUS |
diff --git a/src/xselect.c b/src/xselect.c index 79e0c0a280b..935c441ed52 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -3010,38 +3010,38 @@ A value of 0 means wait as long as necessary. This is initialized from the | |||
| 3010 | \"*selectionTimeout\" resource. */); | 3010 | \"*selectionTimeout\" resource. */); |
| 3011 | x_selection_timeout = 0; | 3011 | x_selection_timeout = 0; |
| 3012 | 3012 | ||
| 3013 | QPRIMARY = intern ("PRIMARY"); staticpro (&QPRIMARY); | 3013 | QPRIMARY = intern_c_string ("PRIMARY"); staticpro (&QPRIMARY); |
| 3014 | QSECONDARY = intern ("SECONDARY"); staticpro (&QSECONDARY); | 3014 | QSECONDARY = intern_c_string ("SECONDARY"); staticpro (&QSECONDARY); |
| 3015 | QSTRING = intern ("STRING"); staticpro (&QSTRING); | 3015 | QSTRING = intern_c_string ("STRING"); staticpro (&QSTRING); |
| 3016 | QINTEGER = intern ("INTEGER"); staticpro (&QINTEGER); | 3016 | QINTEGER = intern_c_string ("INTEGER"); staticpro (&QINTEGER); |
| 3017 | QCLIPBOARD = intern ("CLIPBOARD"); staticpro (&QCLIPBOARD); | 3017 | QCLIPBOARD = intern_c_string ("CLIPBOARD"); staticpro (&QCLIPBOARD); |
| 3018 | QTIMESTAMP = intern ("TIMESTAMP"); staticpro (&QTIMESTAMP); | 3018 | QTIMESTAMP = intern_c_string ("TIMESTAMP"); staticpro (&QTIMESTAMP); |
| 3019 | QTEXT = intern ("TEXT"); staticpro (&QTEXT); | 3019 | QTEXT = intern_c_string ("TEXT"); staticpro (&QTEXT); |
| 3020 | QCOMPOUND_TEXT = intern ("COMPOUND_TEXT"); staticpro (&QCOMPOUND_TEXT); | 3020 | QCOMPOUND_TEXT = intern_c_string ("COMPOUND_TEXT"); staticpro (&QCOMPOUND_TEXT); |
| 3021 | QUTF8_STRING = intern ("UTF8_STRING"); staticpro (&QUTF8_STRING); | 3021 | QUTF8_STRING = intern_c_string ("UTF8_STRING"); staticpro (&QUTF8_STRING); |
| 3022 | QDELETE = intern ("DELETE"); staticpro (&QDELETE); | 3022 | QDELETE = intern_c_string ("DELETE"); staticpro (&QDELETE); |
| 3023 | QMULTIPLE = intern ("MULTIPLE"); staticpro (&QMULTIPLE); | 3023 | QMULTIPLE = intern_c_string ("MULTIPLE"); staticpro (&QMULTIPLE); |
| 3024 | QINCR = intern ("INCR"); staticpro (&QINCR); | 3024 | QINCR = intern_c_string ("INCR"); staticpro (&QINCR); |
| 3025 | QEMACS_TMP = intern ("_EMACS_TMP_"); staticpro (&QEMACS_TMP); | 3025 | QEMACS_TMP = intern_c_string ("_EMACS_TMP_"); staticpro (&QEMACS_TMP); |
| 3026 | QTARGETS = intern ("TARGETS"); staticpro (&QTARGETS); | 3026 | QTARGETS = intern_c_string ("TARGETS"); staticpro (&QTARGETS); |
| 3027 | QATOM = intern ("ATOM"); staticpro (&QATOM); | 3027 | QATOM = intern_c_string ("ATOM"); staticpro (&QATOM); |
| 3028 | QATOM_PAIR = intern ("ATOM_PAIR"); staticpro (&QATOM_PAIR); | 3028 | QATOM_PAIR = intern_c_string ("ATOM_PAIR"); staticpro (&QATOM_PAIR); |
| 3029 | QNULL = intern ("NULL"); staticpro (&QNULL); | 3029 | QNULL = intern_c_string ("NULL"); staticpro (&QNULL); |
| 3030 | Qcompound_text_with_extensions = intern ("compound-text-with-extensions"); | 3030 | Qcompound_text_with_extensions = intern_c_string ("compound-text-with-extensions"); |
| 3031 | staticpro (&Qcompound_text_with_extensions); | 3031 | staticpro (&Qcompound_text_with_extensions); |
| 3032 | 3032 | ||
| 3033 | #ifdef CUT_BUFFER_SUPPORT | 3033 | #ifdef CUT_BUFFER_SUPPORT |
| 3034 | QCUT_BUFFER0 = intern ("CUT_BUFFER0"); staticpro (&QCUT_BUFFER0); | 3034 | QCUT_BUFFER0 = intern_c_string ("CUT_BUFFER0"); staticpro (&QCUT_BUFFER0); |
| 3035 | QCUT_BUFFER1 = intern ("CUT_BUFFER1"); staticpro (&QCUT_BUFFER1); | 3035 | QCUT_BUFFER1 = intern_c_string ("CUT_BUFFER1"); staticpro (&QCUT_BUFFER1); |
| 3036 | QCUT_BUFFER2 = intern ("CUT_BUFFER2"); staticpro (&QCUT_BUFFER2); | 3036 | QCUT_BUFFER2 = intern_c_string ("CUT_BUFFER2"); staticpro (&QCUT_BUFFER2); |
| 3037 | QCUT_BUFFER3 = intern ("CUT_BUFFER3"); staticpro (&QCUT_BUFFER3); | 3037 | QCUT_BUFFER3 = intern_c_string ("CUT_BUFFER3"); staticpro (&QCUT_BUFFER3); |
| 3038 | QCUT_BUFFER4 = intern ("CUT_BUFFER4"); staticpro (&QCUT_BUFFER4); | 3038 | QCUT_BUFFER4 = intern_c_string ("CUT_BUFFER4"); staticpro (&QCUT_BUFFER4); |
| 3039 | QCUT_BUFFER5 = intern ("CUT_BUFFER5"); staticpro (&QCUT_BUFFER5); | 3039 | QCUT_BUFFER5 = intern_c_string ("CUT_BUFFER5"); staticpro (&QCUT_BUFFER5); |
| 3040 | QCUT_BUFFER6 = intern ("CUT_BUFFER6"); staticpro (&QCUT_BUFFER6); | 3040 | QCUT_BUFFER6 = intern_c_string ("CUT_BUFFER6"); staticpro (&QCUT_BUFFER6); |
| 3041 | QCUT_BUFFER7 = intern ("CUT_BUFFER7"); staticpro (&QCUT_BUFFER7); | 3041 | QCUT_BUFFER7 = intern_c_string ("CUT_BUFFER7"); staticpro (&QCUT_BUFFER7); |
| 3042 | #endif | 3042 | #endif |
| 3043 | 3043 | ||
| 3044 | Qforeign_selection = intern ("foreign-selection"); | 3044 | Qforeign_selection = intern_c_string ("foreign-selection"); |
| 3045 | staticpro (&Qforeign_selection); | 3045 | staticpro (&Qforeign_selection); |
| 3046 | } | 3046 | } |
| 3047 | 3047 | ||
diff --git a/src/xterm.c b/src/xterm.c index 16aa12abbaa..1ba367c9989 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -10830,10 +10830,10 @@ syms_of_xterm () | |||
| 10830 | last_mouse_scroll_bar = Qnil; | 10830 | last_mouse_scroll_bar = Qnil; |
| 10831 | 10831 | ||
| 10832 | staticpro (&Qvendor_specific_keysyms); | 10832 | staticpro (&Qvendor_specific_keysyms); |
| 10833 | Qvendor_specific_keysyms = intern ("vendor-specific-keysyms"); | 10833 | Qvendor_specific_keysyms = intern_c_string ("vendor-specific-keysyms"); |
| 10834 | 10834 | ||
| 10835 | staticpro (&Qlatin_1); | 10835 | staticpro (&Qlatin_1); |
| 10836 | Qlatin_1 = intern ("latin-1"); | 10836 | Qlatin_1 = intern_c_string ("latin-1"); |
| 10837 | 10837 | ||
| 10838 | staticpro (&last_mouse_press_frame); | 10838 | staticpro (&last_mouse_press_frame); |
| 10839 | last_mouse_press_frame = Qnil; | 10839 | last_mouse_press_frame = Qnil; |
| @@ -10842,7 +10842,7 @@ syms_of_xterm () | |||
| 10842 | xg_default_icon_file = build_string ("icons/hicolor/scalable/apps/emacs.svg"); | 10842 | xg_default_icon_file = build_string ("icons/hicolor/scalable/apps/emacs.svg"); |
| 10843 | staticpro (&xg_default_icon_file); | 10843 | staticpro (&xg_default_icon_file); |
| 10844 | 10844 | ||
| 10845 | Qx_gtk_map_stock = intern ("x-gtk-map-stock"); | 10845 | Qx_gtk_map_stock = intern_c_string ("x-gtk-map-stock"); |
| 10846 | staticpro (&Qx_gtk_map_stock); | 10846 | staticpro (&Qx_gtk_map_stock); |
| 10847 | #endif | 10847 | #endif |
| 10848 | 10848 | ||
| @@ -10880,13 +10880,13 @@ A value of nil means Emacs doesn't use X toolkit scroll bars. | |||
| 10880 | Otherwise, value is a symbol describing the X toolkit. */); | 10880 | Otherwise, value is a symbol describing the X toolkit. */); |
| 10881 | #ifdef USE_TOOLKIT_SCROLL_BARS | 10881 | #ifdef USE_TOOLKIT_SCROLL_BARS |
| 10882 | #ifdef USE_MOTIF | 10882 | #ifdef USE_MOTIF |
| 10883 | Vx_toolkit_scroll_bars = intern ("motif"); | 10883 | Vx_toolkit_scroll_bars = intern_c_string ("motif"); |
| 10884 | #elif defined HAVE_XAW3D | 10884 | #elif defined HAVE_XAW3D |
| 10885 | Vx_toolkit_scroll_bars = intern ("xaw3d"); | 10885 | Vx_toolkit_scroll_bars = intern_c_string ("xaw3d"); |
| 10886 | #elif USE_GTK | 10886 | #elif USE_GTK |
| 10887 | Vx_toolkit_scroll_bars = intern ("gtk"); | 10887 | Vx_toolkit_scroll_bars = intern_c_string ("gtk"); |
| 10888 | #else | 10888 | #else |
| 10889 | Vx_toolkit_scroll_bars = intern ("xaw"); | 10889 | Vx_toolkit_scroll_bars = intern_c_string ("xaw"); |
| 10890 | #endif | 10890 | #endif |
| 10891 | #else | 10891 | #else |
| 10892 | Vx_toolkit_scroll_bars = Qnil; | 10892 | Vx_toolkit_scroll_bars = Qnil; |
| @@ -10895,14 +10895,14 @@ Otherwise, value is a symbol describing the X toolkit. */); | |||
| 10895 | staticpro (&last_mouse_motion_frame); | 10895 | staticpro (&last_mouse_motion_frame); |
| 10896 | last_mouse_motion_frame = Qnil; | 10896 | last_mouse_motion_frame = Qnil; |
| 10897 | 10897 | ||
| 10898 | Qmodifier_value = intern ("modifier-value"); | 10898 | Qmodifier_value = intern_c_string ("modifier-value"); |
| 10899 | Qalt = intern ("alt"); | 10899 | Qalt = intern_c_string ("alt"); |
| 10900 | Fput (Qalt, Qmodifier_value, make_number (alt_modifier)); | 10900 | Fput (Qalt, Qmodifier_value, make_number (alt_modifier)); |
| 10901 | Qhyper = intern ("hyper"); | 10901 | Qhyper = intern_c_string ("hyper"); |
| 10902 | Fput (Qhyper, Qmodifier_value, make_number (hyper_modifier)); | 10902 | Fput (Qhyper, Qmodifier_value, make_number (hyper_modifier)); |
| 10903 | Qmeta = intern ("meta"); | 10903 | Qmeta = intern_c_string ("meta"); |
| 10904 | Fput (Qmeta, Qmodifier_value, make_number (meta_modifier)); | 10904 | Fput (Qmeta, Qmodifier_value, make_number (meta_modifier)); |
| 10905 | Qsuper = intern ("super"); | 10905 | Qsuper = intern_c_string ("super"); |
| 10906 | Fput (Qsuper, Qmodifier_value, make_number (super_modifier)); | 10906 | Fput (Qsuper, Qmodifier_value, make_number (super_modifier)); |
| 10907 | 10907 | ||
| 10908 | DEFVAR_LISP ("x-alt-keysym", &Vx_alt_keysym, | 10908 | DEFVAR_LISP ("x-alt-keysym", &Vx_alt_keysym, |