diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 29 | ||||
| -rw-r--r-- | src/buffer.c | 8 | ||||
| -rw-r--r-- | src/bytecode.c | 8 | ||||
| -rw-r--r-- | src/callint.c | 8 | ||||
| -rw-r--r-- | src/callproc.c | 2 | ||||
| -rw-r--r-- | src/charset.c | 4 | ||||
| -rw-r--r-- | src/coding.c | 8 | ||||
| -rw-r--r-- | src/editfns.c | 3 | ||||
| -rw-r--r-- | src/emacs.c | 6 | ||||
| -rw-r--r-- | src/fns.c | 2 | ||||
| -rw-r--r-- | src/frame.c | 4 | ||||
| -rw-r--r-- | src/ftfont.c | 1 | ||||
| -rw-r--r-- | src/keyboard.c | 2 | ||||
| -rw-r--r-- | src/keymap.c | 4 | ||||
| -rw-r--r-- | src/minibuf.c | 6 | ||||
| -rw-r--r-- | src/nsfns.m | 6 | ||||
| -rw-r--r-- | src/textprop.c | 3 | ||||
| -rw-r--r-- | src/xdisp.c | 5 | ||||
| -rw-r--r-- | src/xfns.c | 5 | ||||
| -rw-r--r-- | src/xml.c | 3 |
20 files changed, 68 insertions, 49 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index dc33e417ef4..1692c3f6f70 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,32 @@ | |||
| 1 | 2015-02-21 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Prefer 'Qfoo' to 'intern ("foo")' | ||
| 4 | * buffer.c (syms_of_buffer): | ||
| 5 | * bytecode.c (exec_byte_code): | ||
| 6 | * callint.c (Fcall_interactively): | ||
| 7 | * callproc.c (create_temp_file): | ||
| 8 | * charset.c (define_charset_internal): | ||
| 9 | * coding.c (syms_of_coding): | ||
| 10 | * editfns.c (syms_of_editfns): | ||
| 11 | * emacs.c (main): | ||
| 12 | * fns.c (syms_of_fns): | ||
| 13 | * frame.c (delete_frame, Fframe_parameters): | ||
| 14 | * keyboard.c (syms_of_keyboard): | ||
| 15 | * keymap.c (syms_of_keymap): | ||
| 16 | * minibuf.c (read_minibuf, syms_of_minibuf): | ||
| 17 | * nsfns.m (ns_cursor_type_to_lisp): | ||
| 18 | * textprop.c (syms_of_textprop): | ||
| 19 | * xdisp.c (Fformat_mode_line, syms_of_xdisp): | ||
| 20 | * xfns.c (x_create_tip_frame, Fx_select_font): | ||
| 21 | * xml.c (parse_region): | ||
| 22 | Prefer constants like 'Qfoo' to calls like 'intern ("foo")'. | ||
| 23 | * buffer.c (syms_of_buffer): OK to do (put 'erase-buffer 'disabled | ||
| 24 | t) here now ... | ||
| 25 | (keys_of_buffer): ... instead of here. | ||
| 26 | * ftfont.c (syms_of_ftfont): Move DEFSYM of Qmono from here ... | ||
| 27 | * xfns.c (syms_of_xfns): ... to here, since ftfont.c is more | ||
| 28 | optional than xfns.c. | ||
| 29 | |||
| 1 | 2015-02-20 Jan Djärv <jan.h.d@swipnet.se> | 30 | 2015-02-20 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 31 | ||
| 3 | * emacs.c (terminate_due_to_signal): Move totally_unblock_input after | 32 | * emacs.c (terminate_due_to_signal): Move totally_unblock_input after |
diff --git a/src/buffer.c b/src/buffer.c index 67eda3ee89e..371588b3093 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5408,7 +5408,7 @@ syms_of_buffer (void) | |||
| 5408 | DEFSYM (Qoverwrite_mode, "overwrite-mode"); | 5408 | DEFSYM (Qoverwrite_mode, "overwrite-mode"); |
| 5409 | Fput (Qoverwrite_mode, Qchoice, | 5409 | Fput (Qoverwrite_mode, Qchoice, |
| 5410 | list3 (Qnil, intern ("overwrite-mode-textual"), | 5410 | list3 (Qnil, intern ("overwrite-mode-textual"), |
| 5411 | intern ("overwrite-mode-binary"))); | 5411 | Qoverwrite_mode_binary)); |
| 5412 | 5412 | ||
| 5413 | Fput (Qprotected_field, Qerror_conditions, | 5413 | Fput (Qprotected_field, Qerror_conditions, |
| 5414 | listn (CONSTYPE_PURE, 2, Qprotected_field, Qerror)); | 5414 | listn (CONSTYPE_PURE, 2, Qprotected_field, Qerror)); |
| @@ -6326,6 +6326,8 @@ Functions running this hook are, `get-buffer-create', | |||
| 6326 | defsubr (&Soverlay_get); | 6326 | defsubr (&Soverlay_get); |
| 6327 | defsubr (&Soverlay_put); | 6327 | defsubr (&Soverlay_put); |
| 6328 | defsubr (&Srestore_buffer_modified_p); | 6328 | defsubr (&Srestore_buffer_modified_p); |
| 6329 | |||
| 6330 | Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt); | ||
| 6329 | } | 6331 | } |
| 6330 | 6332 | ||
| 6331 | void | 6333 | void |
| @@ -6333,8 +6335,4 @@ keys_of_buffer (void) | |||
| 6333 | { | 6335 | { |
| 6334 | initial_define_key (control_x_map, 'b', "switch-to-buffer"); | 6336 | initial_define_key (control_x_map, 'b', "switch-to-buffer"); |
| 6335 | initial_define_key (control_x_map, 'k', "kill-buffer"); | 6337 | initial_define_key (control_x_map, 'k', "kill-buffer"); |
| 6336 | |||
| 6337 | /* This must not be in syms_of_buffer, because Qdisabled is not | ||
| 6338 | initialized when that function gets called. */ | ||
| 6339 | Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt); | ||
| 6340 | } | 6338 | } |
diff --git a/src/bytecode.c b/src/bytecode.c index b4583676835..55789b41ad9 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -1945,10 +1945,10 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, | |||
| 1945 | /* Actually this is Bstack_ref with offset 0, but we use Bdup | 1945 | /* Actually this is Bstack_ref with offset 0, but we use Bdup |
| 1946 | for that instead. */ | 1946 | for that instead. */ |
| 1947 | /* CASE (Bstack_ref): */ | 1947 | /* CASE (Bstack_ref): */ |
| 1948 | call3 (intern ("error"), | 1948 | call3 (Qerror, |
| 1949 | build_string ("Invalid byte opcode: op=%s, ptr=%d"), | 1949 | build_string ("Invalid byte opcode: op=%s, ptr=%d"), |
| 1950 | make_number (op), | 1950 | make_number (op), |
| 1951 | make_number ((stack.pc - 1) - stack.byte_string_start)); | 1951 | make_number ((stack.pc - 1) - stack.byte_string_start)); |
| 1952 | 1952 | ||
| 1953 | /* Handy byte-codes for lexical binding. */ | 1953 | /* Handy byte-codes for lexical binding. */ |
| 1954 | CASE (Bstack_ref1): | 1954 | CASE (Bstack_ref1): |
diff --git a/src/callint.c b/src/callint.c index 60021fdfc82..0c6c03036c8 100644 --- a/src/callint.c +++ b/src/callint.c | |||
| @@ -615,9 +615,9 @@ invoke it. If KEYS is omitted or nil, the return value of | |||
| 615 | { | 615 | { |
| 616 | Lisp_Object tem2; | 616 | Lisp_Object tem2; |
| 617 | 617 | ||
| 618 | teml = Fget (teml, intern ("event-symbol-elements")); | 618 | teml = Fget (teml, Qevent_symbol_elements); |
| 619 | /* Ignore first element, which is the base key. */ | 619 | /* Ignore first element, which is the base key. */ |
| 620 | tem2 = Fmemq (intern ("down"), Fcdr (teml)); | 620 | tem2 = Fmemq (Qdown, Fcdr (teml)); |
| 621 | if (! NILP (tem2)) | 621 | if (! NILP (tem2)) |
| 622 | up_event = Fread_event (Qnil, Qnil, Qnil); | 622 | up_event = Fread_event (Qnil, Qnil, Qnil); |
| 623 | } | 623 | } |
| @@ -647,9 +647,9 @@ invoke it. If KEYS is omitted or nil, the return value of | |||
| 647 | { | 647 | { |
| 648 | Lisp_Object tem2; | 648 | Lisp_Object tem2; |
| 649 | 649 | ||
| 650 | teml = Fget (teml, intern ("event-symbol-elements")); | 650 | teml = Fget (teml, Qevent_symbol_elements); |
| 651 | /* Ignore first element, which is the base key. */ | 651 | /* Ignore first element, which is the base key. */ |
| 652 | tem2 = Fmemq (intern ("down"), Fcdr (teml)); | 652 | tem2 = Fmemq (Qdown, Fcdr (teml)); |
| 653 | if (! NILP (tem2)) | 653 | if (! NILP (tem2)) |
| 654 | up_event = Fread_event (Qnil, Qnil, Qnil); | 654 | up_event = Fread_event (Qnil, Qnil, Qnil); |
| 655 | } | 655 | } |
diff --git a/src/callproc.c b/src/callproc.c index 63ab9bf70db..e1fe8ed95df 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -1020,7 +1020,7 @@ create_temp_file (ptrdiff_t nargs, Lisp_Object *args, | |||
| 1020 | specbind (intern ("coding-system-for-write"), val); | 1020 | specbind (intern ("coding-system-for-write"), val); |
| 1021 | /* POSIX lets mk[s]temp use "."; don't invoke jka-compr if we | 1021 | /* POSIX lets mk[s]temp use "."; don't invoke jka-compr if we |
| 1022 | happen to get a ".Z" suffix. */ | 1022 | happen to get a ".Z" suffix. */ |
| 1023 | specbind (intern ("file-name-handler-alist"), Qnil); | 1023 | specbind (Qfile_name_handler_alist, Qnil); |
| 1024 | write_region (start, end, filename_string, Qnil, Qlambda, Qnil, Qnil, fd); | 1024 | write_region (start, end, filename_string, Qnil, Qlambda, Qnil, Qnil, fd); |
| 1025 | 1025 | ||
| 1026 | unbind_to (count1, Qnil); | 1026 | unbind_to (count1, Qnil); |
diff --git a/src/charset.c b/src/charset.c index 908084074fd..f1aa07471c5 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -1268,7 +1268,7 @@ define_charset_internal (Lisp_Object name, | |||
| 1268 | 1268 | ||
| 1269 | args[charset_arg_plist] = | 1269 | args[charset_arg_plist] = |
| 1270 | listn (CONSTYPE_HEAP, 14, | 1270 | listn (CONSTYPE_HEAP, 14, |
| 1271 | intern_c_string (":name"), | 1271 | QCname, |
| 1272 | args[charset_arg_name], | 1272 | args[charset_arg_name], |
| 1273 | intern_c_string (":dimension"), | 1273 | intern_c_string (":dimension"), |
| 1274 | args[charset_arg_dimension], | 1274 | args[charset_arg_dimension], |
| @@ -1278,7 +1278,7 @@ define_charset_internal (Lisp_Object name, | |||
| 1278 | args[charset_arg_iso_final], | 1278 | args[charset_arg_iso_final], |
| 1279 | intern_c_string (":emacs-mule-id"), | 1279 | intern_c_string (":emacs-mule-id"), |
| 1280 | args[charset_arg_emacs_mule_id], | 1280 | args[charset_arg_emacs_mule_id], |
| 1281 | intern_c_string (":ascii-compatible-p"), | 1281 | QCascii_compatible_p, |
| 1282 | args[charset_arg_ascii_compatible_p], | 1282 | args[charset_arg_ascii_compatible_p], |
| 1283 | intern_c_string (":code-offset"), | 1283 | intern_c_string (":code-offset"), |
| 1284 | args[charset_arg_code_offset]); | 1284 | args[charset_arg_code_offset]); |
diff --git a/src/coding.c b/src/coding.c index 1a0e1279648..4b41355595c 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -11281,15 +11281,15 @@ internal character representation. */); | |||
| 11281 | 11281 | ||
| 11282 | Lisp_Object plist[] = | 11282 | Lisp_Object plist[] = |
| 11283 | { | 11283 | { |
| 11284 | intern_c_string (":name"), | 11284 | QCname, |
| 11285 | args[coding_arg_name] = Qno_conversion, | 11285 | args[coding_arg_name] = Qno_conversion, |
| 11286 | intern_c_string (":mnemonic"), | 11286 | QCmnemonic, |
| 11287 | args[coding_arg_mnemonic] = make_number ('='), | 11287 | args[coding_arg_mnemonic] = make_number ('='), |
| 11288 | intern_c_string (":coding-type"), | 11288 | intern_c_string (":coding-type"), |
| 11289 | args[coding_arg_coding_type] = Qraw_text, | 11289 | args[coding_arg_coding_type] = Qraw_text, |
| 11290 | intern_c_string (":ascii-compatible-p"), | 11290 | QCascii_compatible_p, |
| 11291 | args[coding_arg_ascii_compatible_p] = Qt, | 11291 | args[coding_arg_ascii_compatible_p] = Qt, |
| 11292 | intern_c_string (":default-char"), | 11292 | QCdefault_char, |
| 11293 | args[coding_arg_default_char] = make_number (0), | 11293 | args[coding_arg_default_char] = make_number (0), |
| 11294 | intern_c_string (":for-unibyte"), | 11294 | intern_c_string (":for-unibyte"), |
| 11295 | args[coding_arg_for_unibyte] = Qt, | 11295 | args[coding_arg_for_unibyte] = Qt, |
diff --git a/src/editfns.c b/src/editfns.c index c205ca3688f..dbcb3160b27 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -4973,8 +4973,7 @@ of the buffer being accessed. */); | |||
| 4973 | /* Do this here, because init_buffer_once is too early--it won't work. */ | 4973 | /* Do this here, because init_buffer_once is too early--it won't work. */ |
| 4974 | Fset_buffer (Vprin1_to_string_buffer); | 4974 | Fset_buffer (Vprin1_to_string_buffer); |
| 4975 | /* Make sure buffer-access-fontify-functions is nil in this buffer. */ | 4975 | /* Make sure buffer-access-fontify-functions is nil in this buffer. */ |
| 4976 | Fset (Fmake_local_variable (intern_c_string ("buffer-access-fontify-functions")), | 4976 | Fset (Fmake_local_variable (Qbuffer_access_fontify_functions), Qnil); |
| 4977 | Qnil); | ||
| 4978 | Fset_buffer (obuf); | 4977 | Fset_buffer (obuf); |
| 4979 | } | 4978 | } |
| 4980 | 4979 | ||
diff --git a/src/emacs.c b/src/emacs.c index 590579907ff..4a6d6badf28 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1570,13 +1570,11 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem | |||
| 1570 | if (filename_from_ansi (file, file_utf8) == 0) | 1570 | if (filename_from_ansi (file, file_utf8) == 0) |
| 1571 | file = file_utf8; | 1571 | file = file_utf8; |
| 1572 | #endif | 1572 | #endif |
| 1573 | Vtop_level = list2 (intern_c_string ("load"), | 1573 | Vtop_level = list2 (Qload, build_unibyte_string (file)); |
| 1574 | build_unibyte_string (file)); | ||
| 1575 | } | 1574 | } |
| 1576 | /* Unless next switch is -nl, load "loadup.el" first thing. */ | 1575 | /* Unless next switch is -nl, load "loadup.el" first thing. */ |
| 1577 | if (! no_loadup) | 1576 | if (! no_loadup) |
| 1578 | Vtop_level = list2 (intern_c_string ("load"), | 1577 | Vtop_level = list2 (Qload, build_string ("loadup.el")); |
| 1579 | build_string ("loadup.el")); | ||
| 1580 | } | 1578 | } |
| 1581 | 1579 | ||
| 1582 | /* Set up for profiling. This is known to work on FreeBSD, | 1580 | /* Set up for profiling. This is known to work on FreeBSD, |
| @@ -5093,7 +5093,7 @@ syms_of_fns (void) | |||
| 5093 | DEFVAR_LISP ("features", Vfeatures, | 5093 | DEFVAR_LISP ("features", Vfeatures, |
| 5094 | doc: /* A list of symbols which are the features of the executing Emacs. | 5094 | doc: /* A list of symbols which are the features of the executing Emacs. |
| 5095 | Used by `featurep' and `require', and altered by `provide'. */); | 5095 | Used by `featurep' and `require', and altered by `provide'. */); |
| 5096 | Vfeatures = list1 (intern_c_string ("emacs")); | 5096 | Vfeatures = list1 (Qemacs); |
| 5097 | DEFSYM (Qsubfeatures, "subfeatures"); | 5097 | DEFSYM (Qsubfeatures, "subfeatures"); |
| 5098 | DEFSYM (Qfuncall, "funcall"); | 5098 | DEFSYM (Qfuncall, "funcall"); |
| 5099 | 5099 | ||
diff --git a/src/frame.c b/src/frame.c index 92b6b7c73ba..d82df0912b4 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1544,7 +1544,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force) | |||
| 1544 | } | 1544 | } |
| 1545 | } | 1545 | } |
| 1546 | 1546 | ||
| 1547 | is_tooltip_frame = !NILP (Fframe_parameter (frame, intern ("tooltip"))); | 1547 | is_tooltip_frame = !NILP (Fframe_parameter (frame, Qtooltip)); |
| 1548 | 1548 | ||
| 1549 | /* Run `delete-frame-functions' unless FORCE is `noelisp' or | 1549 | /* Run `delete-frame-functions' unless FORCE is `noelisp' or |
| 1550 | frame is a tooltip. FORCE is set to `noelisp' when handling | 1550 | frame is a tooltip. FORCE is set to `noelisp' when handling |
| @@ -2533,7 +2533,7 @@ If FRAME is omitted or nil, return information on the currently selected frame. | |||
| 2533 | else | 2533 | else |
| 2534 | store_in_alist (&alist, Qbackground_color, | 2534 | store_in_alist (&alist, Qbackground_color, |
| 2535 | tty_color_name (f, FRAME_BACKGROUND_PIXEL (f))); | 2535 | tty_color_name (f, FRAME_BACKGROUND_PIXEL (f))); |
| 2536 | store_in_alist (&alist, intern ("font"), | 2536 | store_in_alist (&alist, Qfont, |
| 2537 | build_string (FRAME_MSDOS_P (f) | 2537 | build_string (FRAME_MSDOS_P (f) |
| 2538 | ? "ms-dos" | 2538 | ? "ms-dos" |
| 2539 | : FRAME_W32_P (f) ? "w32term" | 2539 | : FRAME_W32_P (f) ? "w32term" |
diff --git a/src/ftfont.c b/src/ftfont.c index adf188815de..26740c263ce 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -2659,7 +2659,6 @@ syms_of_ftfont (void) | |||
| 2659 | DEFSYM (Qmonospace, "monospace"); | 2659 | DEFSYM (Qmonospace, "monospace"); |
| 2660 | DEFSYM (Qsans_serif, "sans-serif"); | 2660 | DEFSYM (Qsans_serif, "sans-serif"); |
| 2661 | DEFSYM (Qserif, "serif"); | 2661 | DEFSYM (Qserif, "serif"); |
| 2662 | DEFSYM (Qmono, "mono"); | ||
| 2663 | DEFSYM (Qsans, "sans"); | 2662 | DEFSYM (Qsans, "sans"); |
| 2664 | DEFSYM (Qsans__serif, "sans serif"); | 2663 | DEFSYM (Qsans__serif, "sans serif"); |
| 2665 | 2664 | ||
diff --git a/src/keyboard.c b/src/keyboard.c index ab57553e7d3..c2174539ea7 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -11598,7 +11598,7 @@ and the minor mode maps regardless of `overriding-local-map'. */); | |||
| 11598 | 11598 | ||
| 11599 | DEFVAR_LISP ("special-event-map", Vspecial_event_map, | 11599 | DEFVAR_LISP ("special-event-map", Vspecial_event_map, |
| 11600 | doc: /* Keymap defining bindings for special events to execute at low level. */); | 11600 | doc: /* Keymap defining bindings for special events to execute at low level. */); |
| 11601 | Vspecial_event_map = list1 (intern_c_string ("keymap")); | 11601 | Vspecial_event_map = list1 (Qkeymap); |
| 11602 | 11602 | ||
| 11603 | DEFVAR_LISP ("track-mouse", do_mouse_tracking, | 11603 | DEFVAR_LISP ("track-mouse", do_mouse_tracking, |
| 11604 | doc: /* Non-nil means generate motion events for mouse motion. */); | 11604 | doc: /* Non-nil means generate motion events for mouse motion. */); |
diff --git a/src/keymap.c b/src/keymap.c index 34fe1cb7a95..d10c00489d1 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -3730,8 +3730,8 @@ be preferred. */); | |||
| 3730 | staticpro (&Vmouse_events); | 3730 | staticpro (&Vmouse_events); |
| 3731 | Vmouse_events = listn (CONSTYPE_PURE, 9, | 3731 | Vmouse_events = listn (CONSTYPE_PURE, 9, |
| 3732 | Qmenu_bar, | 3732 | Qmenu_bar, |
| 3733 | intern_c_string ("tool-bar"), | 3733 | Qtool_bar, |
| 3734 | intern_c_string ("header-line"), | 3734 | Qheader_line, |
| 3735 | Qmode_line, | 3735 | Qmode_line, |
| 3736 | intern_c_string ("mouse-1"), | 3736 | intern_c_string ("mouse-1"), |
| 3737 | intern_c_string ("mouse-2"), | 3737 | intern_c_string ("mouse-2"), |
diff --git a/src/minibuf.c b/src/minibuf.c index 3408bb995c6..2dc5c544457 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -395,7 +395,7 @@ read_minibuf (Lisp_Object map, Lisp_Object initial, Lisp_Object prompt, | |||
| 395 | Lisp_Object dummy, frame; | 395 | Lisp_Object dummy, frame; |
| 396 | 396 | ||
| 397 | specbind (Qminibuffer_default, defalt); | 397 | specbind (Qminibuffer_default, defalt); |
| 398 | specbind (intern ("inhibit-read-only"), Qnil); | 398 | specbind (Qinhibit_read_only, Qnil); |
| 399 | 399 | ||
| 400 | /* If Vminibuffer_completing_file_name is `lambda' on entry, it was t | 400 | /* If Vminibuffer_completing_file_name is `lambda' on entry, it was t |
| 401 | in previous recursive minibuffer, but was not set explicitly | 401 | in previous recursive minibuffer, but was not set explicitly |
| @@ -2070,9 +2070,7 @@ with completion; they always discard text properties. */); | |||
| 2070 | doc: /* Text properties that are added to minibuffer prompts. | 2070 | doc: /* Text properties that are added to minibuffer prompts. |
| 2071 | These are in addition to the basic `field' property, and stickiness | 2071 | These are in addition to the basic `field' property, and stickiness |
| 2072 | properties. */); | 2072 | properties. */); |
| 2073 | /* We use `intern' here instead of Qread_only to avoid | 2073 | Vminibuffer_prompt_properties = list2 (Qread_only, Qt); |
| 2074 | initialization-order problems. */ | ||
| 2075 | Vminibuffer_prompt_properties = list2 (intern_c_string ("read-only"), Qt); | ||
| 2076 | 2074 | ||
| 2077 | DEFVAR_LISP ("read-hide-char", Vread_hide_char, | 2075 | DEFVAR_LISP ("read-hide-char", Vread_hide_char, |
| 2078 | doc: /* Whether to hide input characters in noninteractive mode. | 2076 | doc: /* Whether to hide input characters in noninteractive mode. |
diff --git a/src/nsfns.m b/src/nsfns.m index cc2e49641e8..9e379e28429 100644 --- a/src/nsfns.m +++ b/src/nsfns.m | |||
| @@ -849,9 +849,9 @@ ns_cursor_type_to_lisp (int arg) | |||
| 849 | switch (arg) | 849 | switch (arg) |
| 850 | { | 850 | { |
| 851 | case FILLED_BOX_CURSOR: return Qbox; | 851 | case FILLED_BOX_CURSOR: return Qbox; |
| 852 | case HOLLOW_BOX_CURSOR: return intern ("hollow"); | 852 | case HOLLOW_BOX_CURSOR: return Qhollow; |
| 853 | case HBAR_CURSOR: return intern ("hbar"); | 853 | case HBAR_CURSOR: return Qhbar; |
| 854 | case BAR_CURSOR: return intern ("bar"); | 854 | case BAR_CURSOR: return Qbar; |
| 855 | case NO_CURSOR: | 855 | case NO_CURSOR: |
| 856 | default: return intern ("no"); | 856 | default: return intern ("no"); |
| 857 | } | 857 | } |
diff --git a/src/textprop.c b/src/textprop.c index 35f22bf454e..740b96227cf 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -2356,8 +2356,7 @@ inherits it if NONSTICKINESS is nil. The `front-sticky' and | |||
| 2356 | /* Text properties `syntax-table'and `display' should be nonsticky | 2356 | /* Text properties `syntax-table'and `display' should be nonsticky |
| 2357 | by default. */ | 2357 | by default. */ |
| 2358 | Vtext_property_default_nonsticky | 2358 | Vtext_property_default_nonsticky |
| 2359 | = list2 (Fcons (intern_c_string ("syntax-table"), Qt), | 2359 | = list2 (Fcons (Qsyntax_table, Qt), Fcons (Qdisplay, Qt)); |
| 2360 | Fcons (intern_c_string ("display"), Qt)); | ||
| 2361 | 2360 | ||
| 2362 | staticpro (&interval_insert_behind_hooks); | 2361 | staticpro (&interval_insert_behind_hooks); |
| 2363 | staticpro (&interval_insert_in_front_hooks); | 2362 | staticpro (&interval_insert_in_front_hooks); |
diff --git a/src/xdisp.c b/src/xdisp.c index 57a5631c0e3..3f57841ac13 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -22656,7 +22656,7 @@ are the selected window and the WINDOW's buffer). */) | |||
| 22656 | else | 22656 | else |
| 22657 | { | 22657 | { |
| 22658 | mode_line_string_list = Fnreverse (mode_line_string_list); | 22658 | mode_line_string_list = Fnreverse (mode_line_string_list); |
| 22659 | str = Fmapconcat (intern ("identity"), mode_line_string_list, | 22659 | str = Fmapconcat (Qidentity, mode_line_string_list, |
| 22660 | empty_unibyte_string); | 22660 | empty_unibyte_string); |
| 22661 | } | 22661 | } |
| 22662 | 22662 | ||
| @@ -30491,8 +30491,7 @@ syms_of_xdisp (void) | |||
| 30491 | 30491 | ||
| 30492 | DEFSYM (Qinhibit_free_realized_faces, "inhibit-free-realized-faces"); | 30492 | DEFSYM (Qinhibit_free_realized_faces, "inhibit-free-realized-faces"); |
| 30493 | 30493 | ||
| 30494 | list_of_error = list1 (list2 (intern_c_string ("error"), | 30494 | list_of_error = list1 (list2 (Qerror, Qvoid_variable)); |
| 30495 | intern_c_string ("void-variable"))); | ||
| 30496 | staticpro (&list_of_error); | 30495 | staticpro (&list_of_error); |
| 30497 | 30496 | ||
| 30498 | /* Values of those variables at last redisplay are stored as | 30497 | /* Values of those variables at last redisplay are stored as |
diff --git a/src/xfns.c b/src/xfns.c index 629ac4b26ff..80be6ac257c 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -5185,7 +5185,7 @@ x_create_tip_frame (struct x_display_info *dpyinfo, | |||
| 5185 | Lisp_Object disptype; | 5185 | Lisp_Object disptype; |
| 5186 | 5186 | ||
| 5187 | if (FRAME_DISPLAY_INFO (f)->n_planes == 1) | 5187 | if (FRAME_DISPLAY_INFO (f)->n_planes == 1) |
| 5188 | disptype = intern ("mono"); | 5188 | disptype = Qmono; |
| 5189 | else if (FRAME_DISPLAY_INFO (f)->visual->class == GrayScale | 5189 | else if (FRAME_DISPLAY_INFO (f)->visual->class == GrayScale |
| 5190 | || FRAME_DISPLAY_INFO (f)->visual->class == StaticGray) | 5190 | || FRAME_DISPLAY_INFO (f)->visual->class == StaticGray) |
| 5191 | disptype = intern ("grayscale"); | 5191 | disptype = intern ("grayscale"); |
| @@ -6007,7 +6007,7 @@ nil, it defaults to the selected frame. */) | |||
| 6007 | GCPRO2 (font_param, font); | 6007 | GCPRO2 (font_param, font); |
| 6008 | 6008 | ||
| 6009 | XSETFONT (font, FRAME_FONT (f)); | 6009 | XSETFONT (font, FRAME_FONT (f)); |
| 6010 | font_param = Ffont_get (font, intern (":name")); | 6010 | font_param = Ffont_get (font, QCname); |
| 6011 | if (STRINGP (font_param)) | 6011 | if (STRINGP (font_param)) |
| 6012 | default_name = xlispstrdup (font_param); | 6012 | default_name = xlispstrdup (font_param); |
| 6013 | else | 6013 | else |
| @@ -6194,6 +6194,7 @@ syms_of_xfns (void) | |||
| 6194 | DEFSYM (Qcompound_text, "compound-text"); | 6194 | DEFSYM (Qcompound_text, "compound-text"); |
| 6195 | DEFSYM (Qcancel_timer, "cancel-timer"); | 6195 | DEFSYM (Qcancel_timer, "cancel-timer"); |
| 6196 | DEFSYM (Qfont_param, "font-parameter"); | 6196 | DEFSYM (Qfont_param, "font-parameter"); |
| 6197 | DEFSYM (Qmono, "mono"); | ||
| 6197 | 6198 | ||
| 6198 | Fput (Qundefined_color, Qerror_conditions, | 6199 | Fput (Qundefined_color, Qerror_conditions, |
| 6199 | listn (CONSTYPE_PURE, 2, Qundefined_color, Qerror)); | 6200 | listn (CONSTYPE_PURE, 2, Qundefined_color, Qerror)); |
| @@ -237,8 +237,7 @@ parse_region (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, | |||
| 237 | if (node != NULL) | 237 | if (node != NULL) |
| 238 | result = make_dom (node); | 238 | result = make_dom (node); |
| 239 | } else | 239 | } else |
| 240 | result = Fcons (intern ("top"), | 240 | result = Fcons (Qtop, Fcons (Qnil, Fnreverse (Fcons (r, result)))); |
| 241 | Fcons (Qnil, Fnreverse (Fcons (r, result)))); | ||
| 242 | 241 | ||
| 243 | xmlFreeDoc (doc); | 242 | xmlFreeDoc (doc); |
| 244 | } | 243 | } |