diff options
| author | Paul Eggert | 2015-02-21 00:26:13 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-02-21 00:27:00 -0800 |
| commit | 3ebf06300b8186feac5e9b436ca263dc908ed886 (patch) | |
| tree | 65b287f79561cf18bb741b6d890ec0ac4f441121 /src/callint.c | |
| parent | 066b17df681fabb40108d719086669957aebbc51 (diff) | |
| download | emacs-3ebf06300b8186feac5e9b436ca263dc908ed886.tar.gz emacs-3ebf06300b8186feac5e9b436ca263dc908ed886.zip | |
Prefer 'Qfoo' to 'intern ("foo")'
* buffer.c (syms_of_buffer):
* bytecode.c (exec_byte_code):
* callint.c (Fcall_interactively):
* callproc.c (create_temp_file):
* charset.c (define_charset_internal):
* coding.c (syms_of_coding):
* editfns.c (syms_of_editfns):
* emacs.c (main):
* fns.c (syms_of_fns):
* frame.c (delete_frame, Fframe_parameters):
* keyboard.c (syms_of_keyboard):
* keymap.c (syms_of_keymap):
* minibuf.c (read_minibuf, syms_of_minibuf):
* nsfns.m (ns_cursor_type_to_lisp):
* textprop.c (syms_of_textprop):
* xdisp.c (Fformat_mode_line, syms_of_xdisp):
* xfns.c (x_create_tip_frame, Fx_select_font):
* xml.c (parse_region):
Prefer constants like 'Qfoo' to calls like 'intern ("foo")'.
* buffer.c (syms_of_buffer): OK to do (put 'erase-buffer 'disabled
t) here now ...
(keys_of_buffer): ... instead of here.
* ftfont.c (syms_of_ftfont): Move DEFSYM of Qmono from here ...
* xfns.c (syms_of_xfns): ... to here, since ftfont.c is more
optional than xfns.c.
Diffstat (limited to 'src/callint.c')
| -rw-r--r-- | src/callint.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 | } |