- 29 Jun, 2012 8 commits
-
-
Eli Zaretskii authored
src/w32.c (getwd): Adjust commentary about startup_dir. (init_environment): Always call sys_access, even in non-MSVC builds. Don't chdir to the directory of the Emacs executable. This undoes code from 1997 which was justified by the need to "avoid conflicts when removing and renaming directories". But its downside was that every relative file name was being interpreted relative to the directory of the Emacs executable, which can never be TRT. In particular, it broke sys_access when called with relative file names. (sys_access): Map GetLastError to errno.
-
Dmitry Antipov authored
* src/window.h (struct window): Change type of 'fringes_outside_margins' to bitfield. Fix comment. Adjust users accordingly. (struct window): Change type of 'window_end_bytepos' to ptrdiff_t. Adjust comment. * src/xdisp.c (try_window_id): Change type of 'first_vpos' and 'vpos' to ptrdiff_t.
-
Glenn Morris authored
-
Michael Albinus authored
is non-nil. (ange-ftp-ignore-errors-if-non-essential): New defmacro. (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
-
Glenn Morris authored
-
Katsumi Yamaoka authored
-
Dmitry Antipov authored
-
Dmitry Antipov authored
undefined. Convert from xassert to eassert. * nsmenu.m: Convert from xassert to eassert. * nsterm.m: Likewise.
-
- 28 Jun, 2012 21 commits
-
-
Juanma Barranquero authored
-
Stefan Monnier authored
Fixes: debbugs:11770
-
Dmitry Antipov authored
(CPPFLAGS): Remove conditional -DXASSERTS=1. Add --enable-link-time-optimization. * INSTALL: Mention this.
-
Paul Eggert authored
* window.c (HSCROLL_MAX): New macro. (Fscroll_left, Fscroll_right): Avoid undefined behavior on integer overflow when requested scroll falls outside ptrdiff_t range.
-
Dmitry Antipov authored
'min_hscroll' and 'last_point' from Lisp_Object to ptrdiff_t, 'last_modified' and 'last_overlay_modified' to EMACS_INT. Adjust users accordingly. * xdisp.c (try_cursor_movement): Replace type check with eassert. * window.c (Fscroll_left, Fscroll_right): Change type of 'hscroll' from EMACS_INT to ptrdiff_t. (make_window): Omit redundant initialization.
-
Andreas Schwab authored
calendar-current-time-zone-cache if non-nil.
-
Juanma Barranquero authored
-
Dmitry Antipov authored
'sequence_number' from Lisp_Object to int. * frame.c (make_frame): Adjust users accordingly. * print.c (print_object): Likewise. * window.c (select_window, Fwindow_use_time, make_parent_window) (make_window): Likewise.
-
Julien Danjou authored
* term.el (term-handle-colors-array): Use a set of new faces to color the terminal. Also uses :inverse-video property. (term-default-fg-color): Set to nil by default, deprecate in favor of `term-face'. (term-default-bg-color): Set to nil by default, deprecate in favor of `term-face'. (term-current-face): Use `term-face' by default. (term-bold-attribute): Variable deleted.
-
Glenn Morris authored
-
Juanma Barranquero authored
-
Dmitry Antipov authored
(GLYPH_DEBUG): Define if glyphs debugging is enabled. * src/dispextern.h (GLYPH_DEBUG): Now defined in config.h if enabled with --enable-checking=[all,glyphs] configure option. Fix GLYPH_DEBUG usage assuming that it may be undefined, adjust comments accordingly. * src/dispnew.c: Fix GLYPH_DEBUG usage assuming that it may be undefined, adjust comments accordingly. * src/image.c: Likewise. * src/scroll.c: Likewise. * src/w32fns.c: Likewise. * src/w32term.c: Likewise. * src/xdisp.c: Likewise. * src/xfaces.c: Likewise. * src/xfns.c: Likewise. * src/xterm.c: Likewise.
-
Dmitry Antipov authored
* configure.in (ENABLE_CHECKING): Update comment. * src/dispextern.h (XASSERTS): Remove. * src/fontset.c (xassert): Remove. Convert from xassert to eassert. * src/alloc.c: Convert from xassert to eassert. * src/bidi.c: Likewise. * src/dispnew.c: Likewise. * src/fns.c: Likewise. * src/fringe.c: Likewise. * src/ftfont.c: Likewise. * src/gtkutil.c: Likewise. * src/image.c: Likewise. * src/keyboard.c: Likewise. * src/menu.c: Likewise. * src/process.c: Likewise. * src/scroll.c: Likewise. * src/sound.c: Likewise. * src/term.c: Likewise. * src/w32console.c: Likewise. * src/w32fns.c: Likewise. * src/w32term.c: Likewise. * src/window.c: Likewise. * src/xdisp.c: Likewise. * src/xfaces.c: Likewise. * src/xfns.c: Likewise. * src/xselect.c: Likewise. * src/xterm.c: Likewise.
-
Glenn Morris authored
-
Glenn Morris authored
Since completion-list-mode has a special mode-class, it wasn't doing anything extra anyway.
-
Andreas Schwab authored
to make the loop interruptible.
-
Glenn Morris authored
-
Glenn Morris authored
AFAICS, the new python.el does not use these files.
-
Paul Eggert authored
Emacs proper no longer uses these headers, and can rely on Gnulib for these checks.
-
Stefan Monnier authored
* lisp/emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun. (byte-compile): Use it to fix compilation of lexical-binding closures. * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the function, if needed. Fixes: debbugs:11799
-
Paul Eggert authored
* m4/getopt.m4: Copy new version from gnulib, incorporating: getopt-posix: No longer guarantee that option processing is resettable.
-
- 27 Jun, 2012 11 commits
-
-
Glenn Morris authored
http://debbugs.gnu.org/11398#26 NetBSD has a "paxctl" that does not support the same options as the GNU/Linux version...
-
Stefan Monnier authored
cyclic-variable-indirection but any error in documentation-property.
-
Stefan Monnier authored
* lisp/loadup.el (purify-flag): Pre-grow the hash-table to reduce the memory use. * lisp/bindings.el (bindings--define-key): New function. * lisp/vc/vc-hooks.el, lisp/replace.el, lisp/menu-bar.el: * lisp/international/mule-cmds.el, lisp/emacs-lisp/lisp-mode.el: * lisp/buff-menu.el, lisp/bookmark.el: * bindings.el: Use it to purecopy define-key bindings. * src/fns.c (maybe_resize_hash_table): Output message when growing the purify-hashtable.
-
Stefan Monnier authored
-
Dmitry Antipov authored
* xsettings.c (XSETTINGS_FONT_NAME): Move under HAVE_XFT to avoid GCC warning about unused macro.
-
Stefan Monnier authored
* lisp/emacs-lisp/cl-macs.el (cl-flet*): New macro. * lisp/vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse): * lisp/progmodes/js.el (js-c-fill-paragraph): * lisp/progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class) (ebrowse-switch-member-buffer-to-derived-class): * test/automated/ert-x-tests.el (ert-test-run-tests-interactively-2): * lisp/play/5x5.el (5x5-solver): Use cl-flet. Fixes: debbugs:11780
-
Stefan Monnier authored
(shr-visit-file): Use it.
-
Stefan Monnier authored
(cl--symbol-function): New macro. (cl--letf, cl--letf*): Use it. Fixes: debbugs:11780
-
Dmitry Antipov authored
* alloc.c (make_uninit_multibyte_string): Initialize intervals as in make_pure_string and make_pure_c_string.
-
Stefan Monnier authored
Strip "toggle-" if any.
-
Dmitry Antipov authored
-