- 06 Nov, 2013 3 commits
-
-
Stefan Monnier authored
(electric-indent-mode-map): New keymap. (electric-indent-mode, electric-pair-mode, electric-layout-mode): Re-add :group which weren't redundant.
-
Stefan Monnier authored
(electric-indent-functions-without-reindent): New var. (electric-indent-post-self-insert-function): Use it. * lisp/emacs-lisp/gv.el (buffer-local-value): Add setter.
-
Paul Eggert authored
* dispextern.h (face_tty_specified_color): New function. * term.c (turn_on_face): Don't rely on undefined behavior when assigning an out-of-range value to 'long'. Simplify test for toggling highlight. (tty_capable_p): Omit last two (unused) args. All callers changed. * term.c (tty_capable_p, tty_menu_display, tty_menu_add_selection) (read_menu_input, tty_menu_activate, tty_menu_show): * xfaces.c (x_supports_face_attributes_p) (tty_supports_face_attributes_p): Use bool for boolean. All callers changed. (tty_supports_face_attributes_p): Omit defaults for color indices; no longer needed. Simplify tail call.
-
- 05 Nov, 2013 37 commits
-
-
Stefan Monnier authored
* src/lisp.h (prepare_menu_bars): Don't declare. * src/xselect.c (x_handle_selection_clear): * src/callproc.c (call_process): Remove redundant call to prepare_menu_bars.
-
Paul Eggert authored
glitch. Eliminate 'sz' prefix; Hungarian notation is not helpful here.
-
Glenn Morris authored
* configure.ac (abs_srcdir) [MINGW32]: No point setting it here, config.status computes it.
-
Stefan Monnier authored
`prefix-arg' as function argument.
-
Stefan Monnier authored
Fdefault_error_output.
-
Jarek Czekalski authored
cmd_error_internal. (syms_of_keyboard): Use it for Vcommand_error_function.
-
Eli Zaretskii authored
doc/lispref/lists.texi (Rearrangement): Fix indexing. doc/lispref/display.texi (Bidirectional Display): Fix indexing.
-
Glenn Morris authored
-
Eli Zaretskii authored
lisp/international/quail.el (quail-help): Be more explicit about the meaning of the labels shown on the keys.
-
Stefan Monnier authored
(init_eval): Use it to ensure handlerlist is non-NULL. (unwind_to_catch): Make sure we never set handlerlist to NULL. (Fsignal): Adjust NULLness test of handlerlist. * src/lisp.h (PUSH_HANDLER): Assume handlerlist is non-NULL. Fixes: debbugs:15802
-
Bozhidar Batsov authored
-
Eli Zaretskii authored
src/callproc.c (call_process): Call prepare_to_modify_buffer before decoding text read from the sub-process, as the decoded stuff will be inserted into the buffer. This will invalidate the various caches maintained for the buffer.
-
Eli Zaretskii authored
lisp/startup.el (normal-top-level): Load the subdirs.el files before setting the locale environment.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Stefan Monnier authored
via arguments so as to get the right ones. Fixes: debbugs:15418
-
Michael Albinus authored
-
Stefan Monnier authored
-
Michael Albinus authored
* net/tramp-compat.el (tramp-compat-load): New defun. * net/tramp.el (tramp-handle-load): Use it. * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case "(numberp ok-if-already-exists)" correctly.
-
Xue Fuqiao authored
-
Xue Fuqiao authored
-
Xue Fuqiao authored
-
Katsumi Yamaoka authored
-
Xue Fuqiao authored
* international/characters.el (glyphless-char-display-control): Add usage note.
-
Bozhidar Batsov authored
* lisp/progmodes/scheme.el (scheme-mode): Remove incorrect text from docstring. * lisp/progmodes/prolog.el (prolog-mode): Remove incorrect text from docstring. * lisp/emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode, emacs-lisp-mode): Remove incorrect text from docstring.
-
Bozhidar Batsov authored
-
Xue Fuqiao authored
* doc/lispref/display.texi (Glyphs): Add an index for glyph code. * src/xdisp.c (syms_of_xdisp): Mention the active display table in doc string of glyphless-char-display.
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00806.html * autogen: Remove directory. Move update_autogen to admin/. * autogen.sh: Remove reference to copy_autogen. * GNUmakefile (configure): * Makefile.in (bootstrap): Do not try to run copy_autogen. * config.bat: Use msdos/autogen rather than autogen. * admin/update_autogen: Move here from ../autogen. (usage): Update. Remove -l, add -A. (autogendir): New variable. (ldefs_flag): Default to set. (genfiles): Reduce to only ms-dos relevant files. (main): Make checking autogen sources optional. Make copying of autogen files optional. * msdos/autogen/config.in: * msdos/autogen/Makefile.in: Move here from ../autogen. * nt/INSTALL: Remove reference to copy_autogen. * nt/config.nt: Comment.
-
Jan Djärv authored
(ns_screen_name): Don't use deprecated CGDisplayIOServicePort on OSX >= 10.9. Use ns_get_name_from_ioreg.
-
Paul Eggert authored
-
Paul Eggert authored
* configure.ac (BITSIZEOF_SIZE_T, SIZEOF_SIZE_T): New symbols to configure. * src/alloc.c (ROUNDUP): Move here from lisp.h, since it's now used only in this file. Use a more-efficient implementation if the second argument is a power of 2. (ALIGN): Rewrite in terms of ROUNDUP. Make it a function. Remove no-longer-necessary compile-time checks. (bool_vector_exact_payload_bytes): New function. (bool_vector_payload_bytes): Remove 2nd arg; callers that need exact payload changed to call the new function. Do not assume that the arg or result fits in ptrdiff_t. (bool_vector_fill): New function. (Fmake_bool_vector): Use it. Don't assume bit counts fit in ptrdiff_t. (vroundup_ct): Don't assume arg fits in size_t. * src/category.c (SET_CATEGORY_SET): Remove. All callers now just invoke set_category_set. (set_category_set): 2nd arg is now EMACS_INT and 3rd is now bool. All callers changed. Use bool_vector_set. * src/category.h (XCATEGORY_SET): Remove; no longer needed. (CATEGORY_MEMBER): Now a function. Rewrite in terms of bool_vector_bitref. * src/data.c (Faref): Use bool_vector_ref. (Faset): Use bool_vector_set. (bits_word_to_host_endian): Don't assume you can shift by CHAR_BIT. (Fbool_vector_not, Fbool_vector_count_matches) (Fbool_vector_count_matches_at): Don't assume CHAR_BIT == 8. * src/fns.c (concat): Use bool_vector_ref. (Ffillarray): Use bool_vector_fill. (mapcar1): Use bool_vector_ref. (sxhash_bool_vector): Hash words, not bytes. * src/lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Now a macro as well as a constant, since it's now used in #if. (bits_word, BITS_WORD_MAX, BITS_PER_BITS_WORD): Fall back on unsigned char on unusual architectures, so that we no longer assume that the number of bits per bits_word is a power of two or is a multiple of 8 or of CHAR_BIT. (Qt): Add forward decl. (struct Lisp_Bool_Vector): Don't assume EMACS_INT is aligned at least as strictly as bits_word. (bool_vector_data, bool_vector_uchar_data): New accessors. All data structure accesses changed to use them. (bool_vector_words, bool_vector_bitref, bool_vector_ref) (bool_vector_set): New functions. (bool_vector_fill): New decl. (ROUNDUP): Move to alloc.c as described above.
-
Paul Eggert authored
* gnutls.c (Fgnutls_boot): Don't assume C99. * process.c (wait_reading_process_output): Fix typo in recent change.
-
Glenn Morris authored
* test/automated/Makefile.in (EMACSOPT): Move -L here. (emacs): Set EMACS_TEST_DIRECTORY in the environment. (setwins): Don't assume called from srcdir. Remove legacy stuff. (.el.elc): No more need to pass -L here. (compile-main): Get rid of sub-shell and cd. (compile-clean, check): Get rid of cd.
-
Glenn Morris authored
* test/automated/flymake-tests.el (flymake-tests-data-directory): New. (flymake-tests--current-face): Use flymake-tests-data-directory. (warning-predicate-function-gcc, warning-predicate-rx-perl) (warning-predicate-function-perl): Adapt for above change. * test/automated/zlib-tests.el (zlib-tests-data-directory): New. (zlib--decompress): Use zlib-tests-data-directory.
-
Ted Zlatanov authored
* gnutls.c (emacs_gnutls_handle_error): Adjust log level for EAGAIN. (Fgnutls_boot): Set process gnutls_p later, after initialization. * process.c (wait_reading_process_output, read_process_output) (send_process): Check gnutls_state is not NULL.
-