- 04 Aug, 2013 15 commits
-
-
Paul Eggert authored
Gnulib's emulation of mkostemp doesn't have races that Emacs's does. * configure.ac (mkostemp): Remove check for this function; gnulib does the check now. (mkstemp): Remove check for this no-longer-used function. * lib/mkostemp.c, lib/secure_getenv.c, lib/tempname.c, lib/tempname.h: * m4/mkostemp.m4, m4/secure_getenv.m4, m4/tempname.m4: New files, copied from Gnulib. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * admin/merge-gnulib (GNULIB_MODULES): Add mkostemp. * lib-src/movemail.c (main): * lib-src/update-game-score.c (write_scores): Use mkostemp (which now works on all platforms, due to changes in the portability layer) rather than mktemp (which has a race) or mkstemp (which we no longer bother with). * src/callproc.c (create_temp_file): * src/filelock.c (create_lock_file): Assume mkostemp, since it's now provided by Gnulib. Fixes: debbugs:15015
-
Eli Zaretskii authored
-
Eli Zaretskii authored
nt/mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes". nt/inc/ms-w32.h (mkostemp): Declare prototype. nt/config.nt (HAVE_MKOSTEMP): Define to 1. src/w32.c (mkostemp): New function. (mktemp): Remove, no longer used. Most of the code reused in mkostemp. Fixes: debbugs:15015
-
Stefan Monnier authored
(advice-mapc): New function, using it. (advice-function-member-p): New function. (advice--normalize): Store the cdr in advice--saved-rewrite since that's the part that will be changed. (advice--symbol-function): New function. (advice-remove): Handle removal before the function is defined. Adjust to new advice--saved-rewrite. (advice-member-p): Use advice-function-member-p and advice--symbol-function.
-
Glenn Morris authored
-
Glenn Morris authored
(icalendar-tests--test-import): Remove debug messages.
-
Dmitry Antipov authored
Move under GLYPH_DEBUG and ENABLE_CHECKING. (new_glyph_matrix, free_glyph_matrix, new_glyph_pool) (free_glyph_pool, check_glyph_memory): Likewise for all users. Adjust comments where appropriate.
-
Xue Fuqiao authored
-
Xue Fuqiao authored
-
Juanma Barranquero authored
(frameset--set-id, frameset--process-minibuffer-frames) (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
-
Xue Fuqiao authored
* vc/vc.el (vc-ignore): Rewrite. (vc-default-ignore-completion-table): (vc--read-lines): (vc--add-line, vc--remove-regexp): New functions. * vc/vc-svn.el (vc-svn-ignore): Doc fix. (vc-svn-ignore-completion-table): New function. * vc/vc-hg.el (vc-hg-ignore): Rewrite. (vc-hg-ignore-completion-table): (vc-hg-find-ignore-file): New functions. * vc/vc-git.el (vc-git-ignore): Rewrite. (vc-git-ignore-completion-table): (vc-git-find-ignore-file): New functions. * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore. * vc/vc-bzr.el (vc-bzr-ignore): Rewrite. (vc-bzr-ignore-completion-table): (vc-bzr-find-ignore-file): New functions.
-
Glenn Morris authored
(icalendar-tests--test-import): Try more precise TZ specification.
-
Juanma Barranquero authored
-
Juanma Barranquero authored
(frameset-p, frameset-save): Fix autoload cookies. (frameset-filter-minibuffer): Doc fix. (frameset-restore): Fix autoload cookie. Fix typo in docstring.
-
Juanma Barranquero authored
Do it only when called interactively and desktop-restore-frames is non-nil. Doc fix. (desktop-read): Set desktop-saved-frameset to nil.
-
- 03 Aug, 2013 13 commits
-
-
Paul Eggert authored
(composition_registered_p): Rename from COMPOSITION_REGISTERD_P to fix a misspelling, and change it to an inline function while we're at it (it need not be a macro). All uses changed. (composition_method, composition_valid_p): Rewrite to avoid assignments in if-conditions.
-
Dmitry Antipov authored
-
Dmitry Antipov authored
* composite.h (composition_temp): Remove declaration. (COMPOSITION_METHOD, COMPOSITION_VALID_P): Replace with... (composition_method, composition_valid_p): ...inline functions. * composite.c (composition_temp): Remove. (run_composition_function, update_compositions) (composition_compute_stop_pos, composition_adjust_point) (Ffind_composition_internal): * coding.c (handle_composition_annotation): * xdisp.c (handle_composition_prop, check_point_in_composition): Related users changed.
-
Glenn Morris authored
(icalendar-tests--test-import): Add debug messages.
-
Juanma Barranquero authored
-
Juanma Barranquero authored
-
Juanma Barranquero authored
(frameset-save): Do not modify frame list passed by the caller.
-
Dmitry Antipov authored
* composite.c, font.c, font.h, fontset.c, fontset.h, frame.c, frame.h: * ftfont.c, ftxfont.c, gtkutil.c, gtkutil.h, image.c, keyboard.c: * menu.c, menu.h, msdos.c, nsfns.m, nsfont.m, nsmenu.m, nsterm.h: * nsterm.m, scroll.c, term.c, w32fns.c, w32font.c, w32font.h: * w32inevt.c, w32inevt.h, w32menu.c, w32notify.c, w32term.c, w32term.h: * w32uniscribe.c, w32xfns.c, widget.c, window.c, xdisp.c, xfaces.c: * xfns.c, xfont.c, xftfont.c, xmenu.c, xselect.c, xterm.c: All related users changed.
-
Xue Fuqiao authored
-
Stefan Monnier authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
* test/automated/icalendar-tests.el (icalendar-tests--test-export) (icalendar-tests--test-import): Use getenv/setenv rather than set-time-zone-rule. (icalendar-tests--test-import): Reset zone even if error occurred.
-
- 02 Aug, 2013 12 commits
-
-
Stefan Monnier authored
(easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
-
Stefan Monnier authored
* src/eval.c (default_toplevel_binding): New function. (Fdefvar): Use it. (unbind_to, backtrace_eval_unrewind): Do a bit of CSE simplification. (Fdefault_toplevel_value, Fset_default_toplevel_value): New subrs. (syms_of_eval): Export them. * src/data.c (Fdefault_value): Micro cleanup. * src/term.c (init_tty): Use "false". * lisp/custom.el (custom-initialize-default, custom-initialize-set) (custom-initialize-reset, custom-initialize-changed): Affect the toplevel-default-value (bug#6275, bug#14586). * lisp/emacs-lisp/advice.el (ad-compile-function): Undo previous workaround for bug#6275. * test/automated/core-elisp-tests.el: New file.
-
Juanma Barranquero authored
-
Juanma Barranquero authored
-
Bastien Guerry authored
-
Xue Fuqiao authored
* doc/lispref/display.texi (Face Functions): Add an index. * doc/lispref/variables.texi (Variable Aliases): Add an index. * doc/lispref/functions.texi (Defining Functions): Add an index. * doc/lispref/nonascii.texi (Coding System Basics): Add an index.
-
Xue Fuqiao authored
* doc/lispref/display.texi (Face Functions): Add an index. * doc/lispref/variables.texi (Variable Aliases): Add an index. * doc/lispref/functions.texi (Defining Functions): Add an index. * doc/lispref/nonascii.texi (Coding System Basics): Add an index.
-
Lars Magne Ingebrigtsen authored
2013-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-group.el (gnus-group-delete-articles): Allow deleting only "old" articles. * gnus-delay.el (gnus-delay-article): Run `message-send-hook' so that we can get spell-checking etc.
-
Dmitry Antipov authored
* xterm.c (x_free_frame_resources): If white and black relief GCs are allocated, always free them here. * xfns.c (x_make_gc): Omit redundant initialization. * widget.c (create_frame_gcs): Remove the leftover. (EmacsFrameDestroy): Do nothing because all GCs are now freed in x_free_frame_resources.
-
Xue Fuqiao authored
-
Jan Djärv authored
inside NS_IMPL_COCOA. * nsterm.m (windowWillResize:toSize:): Only change title if ! maximizing_resize && FULLSCREEN_NONE. strdup title before modifying it. (viewDidEndLiveResize): New method. Fixes: debbugs:15005
-
Katsumi Yamaoka authored
lisp/gnus/rfc2047.el (rfc2047-encode-message-header): Unify charsets into a single one used for encoding the whole text in a header
-