- 22 Sep, 2014 7 commits
-
-
Stefan Monnier authored
(pcase--macroexpand): New function. (pcase--expand): Use it.
-
Stefan Monnier authored
* lisp/emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest): New optimization functions. (pcase--u1): Add support for `quote' and `app'. (pcase): Document them in the docstring.
-
Stefan Monnier authored
* lisp/ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused. (ibuffer-compile-format): Simplify. (ibuffer-clear-summary-columns): Simplify. * lisp/ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third elem of dotimes when we don't refer to the iteration var from it. (ibuffer-toggle-sorting-mode): Avoid add-to-list. * lisp/ibuf-macs.el (define-ibuffer-column, define-ibuffer-op): Silence byte-compiler.
-
Stefan Monnier authored
expression for a list.
-
Stefan Monnier authored
for functions with no arguments.
-
Stefan Monnier authored
(mpc-volume-refresh): Make sure the corresponding header-line is updated. (mpc-songs-jump-to, mpc-play): Use user-error.
-
Dmitry Antipov authored
* lisp.h (intern_driver): Add prototype. * lread.c (intern_driver): New function. (intern1, intern_c_string_1, Fintern): * font.c (font_intern_prop): * w32font.c (intern_font_name): Use it.
-
- 21 Sep, 2014 6 commits
-
-
Paul Eggert authored
* frame.h (FRAME_PARAMETER): Prefer scoped_list1 to local_list1 where either would do. * lisp.h (scoped_list4): New macro. (local_cons, local_list1, local_list2, local_list3, local_list4) (make_local_vector, make_local_string, build_local_string): Prefer functions to macros where either would do. * xdisp.c (build_desired_tool_bar_string): Prefer scoped_list4 to local_list4 where either would do.
-
Tom Willemse authored
Fixes: debbugs:18478
-
Tom Willemse authored
Text mode in docstring. Fixes: debbugs:18464
-
Stefan Monnier authored
Accept underscores in identifiers after "sub". Fixes: debbugs:18502
-
Glenn Morris authored
-
Tassilo Horn authored
* lisp/textmodes/reftex-sel.el (reftex-select-label-mode) (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes from special-mode (instead of fundamental-mode) and propertize with font-lock-face instead of just face. * lisp/textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto. Fixes: debbugs:18496
-
- 19 Sep, 2014 4 commits
-
-
Dmitry Gutov authored
`lisp--local-variables-completion-table' in the `lisp--form-quoted-p' case.
-
Dmitry Gutov authored
* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate `table-etc' when `end' is non-nil. (lisp-completion-at-point): Move `end' back if it's after quote. If in comment or string, only complete when after backquote.
-
Dmitry Gutov authored
`table-etc' when `end' is non-nil.
-
Dmitry Gutov authored
* lisp/emacs-lisp/lisp.el (lisp--expect-function-p) (lisp--form-quoted-p): New functions. (lisp-completion-at-point): Use them to see if we're completing a variable reference, a function name, or just any symbol. http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
-
- 18 Sep, 2014 6 commits
-
-
Ivan Kanis authored
* net/shr.el, net/eww.el: Don't override `shr-width', but introduce a new variable `shr-internal-width'. This allows users to specify a width themselves.
-
Lars Magne Ingebrigtsen authored
-
Lars Magne Ingebrigtsen authored
* image-mode.el (image-toggle-display-image): If we have a `fit-width' or a `fit-height', don't limit the size of the image to the window size, because that doesn't preserve the aspect ratio.
-
Dmitry Antipov authored
* lisp.h (local_list4) [USE_LOCAL_ALLOCATORS]: New macro. [!USE_LOCAL_ALLOCATORS]: Fall back to regular list4. * frame.h (FRAME_PARAMETER): New macro. * dispnew.c (init_display): * fontset.c (Fset_fontset_font): * frame.c (x_default_parameter): * xfaces.c (set_font_frame_param, Finternal_merge_in_global_face): * xfns.c (x_default_scroll_bar_color_parameter) (x_default_font_parameter, x_create_tip_frame): Use it. * editfns.c (Fpropertize): Use local_cons. * process.c (status_message): Use build_local_string. * xfont.c (xfont_open): Use make_local_string. * xdisp.c (build_desired_tool_bar_string): Use local_list4.
-
Paul Eggert authored
Revert previous lisp.h change, and install the following instead. * lisp.h (USE_LOCAL_ALLOCATORS): Define only if __GNUC__ && !__clang__. This works with GCC and with clang and is safer for compilers we don't know about.
-
Paul Eggert authored
* lisp.h (ALLOCA_FIXUP): New constant. (LOCAL_ALLOCA): New macro. (local_cons, make_local_vector, make_local_string): Use them. (local_cons): Rename parameter to make capture less likely.
-
- 17 Sep, 2014 6 commits
-
-
Samuel Bronson authored
Fixes: debbugs:9927
-
Paul Eggert authored
* alloc.c, lisp.h (SAVE_TYPE_INT_OBJ, make_save_int_obj): Remove; now unused. * buffer.h (decode_buffer): Doc and indentation fixes. * fns.c (Qstring_collate_lessp, Qstring_collate_equalp): Now static.
-
Dmitry Antipov authored
* buffer.c (init_buffer): Shut up -Wself-assign. * process.c (server_accept_connection): Shut up -Wunsequenced.
-
Dmitry Antipov authored
-
Reuben Thomas authored
* progmodes/js.el: here.
-
Paul Eggert authored
The GREP_OPTIONS environment variable is planned to be marked obsolescent in GNU grep, due to problems in its use, so stop relying on it. * progmodes/grep.el (grep-highlight-matches): Document this. (grep-process-setup): Do not set GREP_OPTIONS. (grep-compute-defaults): Use an explicit --color option if supported.
-
- 16 Sep, 2014 4 commits
-
-
Daniel Colascione authored
* src/fns.c (sxhash): For symbols, use address as hash code.
-
Dmitry Antipov authored
* category.c (Fmake_category_set): * xdisp.c (get_overlay_arrow_glyph_row): * w32font.c (intern_font_name): Prefer ptrdiff_t to int.
-
Dmitry Antipov authored
* charset.c (load_charset_map_from_file): Use scoped_list2 and build_local_string. * buffer.c (Fother_buffer, other_buffer_safely, init_buffer): * emacs.c (init_cmdargs, decode_env_path): * fileio.c (Fexpand_file_name): * fns.c (maybe_resize_hash_table) [ENABLE_CHECKING]: * frame.c (x_get_arg): * keyboard.c (safe_run_hooks_error): * lread.c (load_warn_old_style_backquotes): * xdisp.c (Fcurrent_bidi_paragraph_direction): * xfns.c (x_default_scroll_bar_color_parameter, select_visual): * xselect.c (x_clipboard_manager_error_1) (x_clipboard_manager_save_all): * xterm.c (x_term_init): Use build_local_string.
-
Stefan Monnier authored
Don't add outdated key-shortcut cache. Fixes: debbugs:18482
-
- 15 Sep, 2014 6 commits
-
-
Eli Zaretskii authored
src/sound.c [WINDOWSNT]: Include w32common.h and mbstring.h. (SOUND_WARNING) [WINDOWSNT]: Include in do..while and improve the error message format. Use message_with_string to have non-ASCII file names properly displayed. (do_play_sound) [WINDOWSNT]: Use Unicode APIs to play sound files when w32-unicode-filenames is non-nil, but not on Windows 9X, where these APIs are not available even in UNICOWS.DLL. Improve the format of error messages and include the file name in them where appropriate. (Fplay_sound_internal) [WINDOWSNT]: Make the MS-Windows branch call play-sound-functions, per documentation. src/w32.c (w32_get_long_filename, w32_get_short_filename): Constify the input file name arguments. src/w32.h (w32_get_long_filename, w32_get_short_filename): Update prototypes.
-
Dmitry Antipov authored
* lisp.h (local_cons, local_list1, local_list2, local_list3) [USE_LOCAL_ALLOCATORS]: New macros. [!USE_LOCAL_ALLOCATORS]: Fall back to regular functions. (build_local_string): Avoid argument name expansion clash with make_local_string. * alloc.c (toplevel) [USE_LOCAL_ALLOCATORS && GC_MARK_STACK != GC_MAKE_GCPROS_NOOPS]: Preprocessor guard to avoid impossible configuration. * charset.c (Ffind_charset_region, Ffind_charset_string): Use make_local_vector. * lread.c (read1, substitute_object_recurse): Use scoped_cons. * textprop.c (Fput_text_property, Fadd_face_text_property): Use scoped_list2. (copy_text_properties): Use local_cons and local_list3. * chartab.c (uniprop_table): * data.c (wrong_choice, wrong_range): * doc.c (get_doc_string): * editfns.c (format2): * fileio.c (Fexpand_file_name, auto_save_error): * fns.c (Fyes_or_no_p): * font.c (font_parse_xlfd, font_parse_family_registry, font_add_log): * fontset.c (Fset_fontset_font): * keyboard.c (echo_add_key, echo_dash, parse_menu_item) (read_char_minibuf_menu_prompt): * keymap.c (silly_event_symbol_error, describe_vector): * menu.c (single_menu_item): * minibuf.c (Fread_buffer): * process.c (status_message, Fformat_network_address) (server_accept_connection): Use make_local_string and build_local_string. Prefer compound literals where appropriate.
-
Daniel Colascione authored
* fns.c (Fsort): Tweak sort docstring.
-
Daniel Colascione authored
* doc/emacs/regs.texi (Text Registers): Update end-user documentation to reflect `insert-register' interface change. * doc/lispref/text.texi (Registers): Make `insert-register' documentation reflect interface change.
-
Daniel Colascione authored
* doc/emacs/regs.texi (Text Registers): Update end-user documentation to reflect `insert-register' interface change. * doc/lispref/text.texi (Registers): Make `insert-register' documentation reflect interface change.
-
Glenn Morris authored
-
- 14 Sep, 2014 1 commit
-
-
Glenn Morris authored
do not force a delay if none was specified. Fixes: debbugs:18334
-