- 21 Nov, 2012 6 commits
-
-
Glenn Morris authored
* lisp/faces.el (face-underline-p, face-inverse-video-p, face-bold-p) (face-italic-p): Add optional argument "inherit". * doc/lispref/display.texi (Attribute Functions): Add new "inherit" argument for face-bold-p etc. Move description of this argument to a common section, like "frame".
-
Glenn Morris authored
* lisp/faces.el (set-face-inverse-video, set-face-bold, set-face-italic): Remove -p suffix from names, for consistency with other set-face-*. (set-face-inverse-video): Fix interactive spec. * lisp/play/gamegrid.el (gamegrid-make-mono-tty-face): * lisp/textmodes/table.el (table--update-cell-face): Use set-face-inverse-video rather than now obsolete alias. * doc/lispref/display.texi (Attribute Functions): Update for set-face-* name changes.
-
Glenn Morris authored
-
Glenn Morris authored
* doc/lispref/debugging.texi (Profiling): Add some basic information about the profile report buffer. (Debugging): Mention profiling in the introduction.
-
Glenn Morris authored
-
Glenn Morris authored
-
- 20 Nov, 2012 22 commits
-
-
Stefan Monnier authored
* src/alloc.c (Fmake_symbol): Initialize `function' to Qnil. * src/lread.c (init_obarray): Set `function' fields to Qnil. * src/eval.c (Fcommandp): Ignore Qunbound. (Fautoload, eval_sub, Fapply, Ffuncall, Fmacroexpand): * src/data.c (Ffset, Ffboundp, indirect_function, Findirect_function): Test NILP rather than Qunbound. (Ffmakunbound): Set to Qnil. (Fsymbol_function): Never signal an error. (Finteractive_form): Ignore Qunbound.
-
Stefan Monnier authored
(rename-buffer, create-file-buffer): Advise with advice-add. (uniquify-unload-function): Unadvise accordingly.
-
Stefan Monnier authored
(trace-buffer): Don't purecopy. (trace-entry-message, trace-exit-message): Add `context' arg. (trace--timer): New var. (trace-make-advice): Adjust for use in nadvice. Add `context' argument. Delay `display-buffer' via a timer. (trace-function-internal): Use advice-add. (trace--read-args): New function. (trace-function-foreground, trace-function-background): Use it. (trace-function): Rename to trace-function-foreground and redefine as an alias to that new name. (untrace-function, untrace-all): Adjust to the use of nadvice.
-
Daniel Colascione authored
-
Stefan Monnier authored
-
Stefan Monnier authored
-
Eli Zaretskii authored
lisp/simple.el (line-move): Don't call line-move-partial if scroll-conservatively is in effect.
-
Eli Zaretskii authored
nt/nmake.defs: Use !if, not !ifdef. See http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html for the details.
-
Eli Zaretskii authored
nt/inc/stdint.h (INTPTR_MIN): Define for MSVC.
-
Ken Brown authored
* src/emacs.c (main): Set the G_SLICE environment variable for all Cygwin builds, not just GTK builds. See https://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00368.html.
-
Dmitry Antipov authored
* xdisp.c (window_outdated): New function. (text_outside_line_unchanged_p, redisplay_window): Use it. (redisplay_internal): Likewise. Fix indentation.
-
Glenn Morris authored
-
Michael Albinus authored
* trampver.texi: Downgrade version to 2.2.6-24.3, in order to distinguish from trunk. Don't merge with trunk, please.
-
Glenn Morris authored
-
-
Paul Eggert authored
-
Paul Eggert authored
rather than kill (getpid (), sig), as it's simpler and safer.
-
Paul Eggert authored
-
Glenn Morris authored
* doc/lispref/debugging.texi (Profiling): New section, in progress. * doc/lispref/tips.texi (Compilation Tips): Move profiling to separate section. * doc/lispref/elisp.texi: Add Profiling to detailed menu.
-
Dmitry Antipov authored
(buffer_shared_and_changed): New function. (prepare_menu_bars, redisplay_internal): Use it to decide whether all windows or frames should be updated.
-
Stefan Monnier authored
* lisp/subr.el (called-interactively-p-functions): New var. (internal--called-interactively-p--get-frame): New macro. (called-interactively-p, interactive-p): Rewrite in Lisp. * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun. (called-interactively-p-functions): Use it. * lisp/emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun. (called-interactively-p-functions): Use it. * lisp/allout.el (allout-called-interactively-p): Don't assume called-interactively-p is a subr. * src/eval.c (Finteractive_p, Fcalled_interactively_p, interactive_p): Remove. (syms_of_eval): Remove corresponding defsubr. * src/bytecode.c (exec_byte_code): `interactive-p' is now a Lisp function. * test/automated/advice-tests.el (advice-tests--data): Remove. (advice-tests): Move the tests directly here instead. Add called-interactively-p tests.
-
Glenn Morris authored
* lisp/profiler.el (profiler-report-mode-map): Add a menu. No need to bind `q' because we derive from special-mode. (profiler-report-find-entry): Handle calls from the menu-bar.
-
- 19 Nov, 2012 12 commits
-
-
Paul Eggert authored
* configure.ac (WARN_CFLAGS): Add -Wstack-protector and -Wstrict-overflow if using GCC 4.7.2 or later on a platform with at least 64-bit long int. This improves static checking on these platforms, when configured with --enable-gcc-warnings.
-
Stefan Monnier authored
Allow compiler-macros to be lambda expressions. * lisp/progmodes/python.el: Use cl-lib. Move var declarations outside of eval-when-compile. (python-syntax-context): Add compiler-macro. (python-font-lock-keywords): Simplify with De Morgan.
-
Stefan Monnier authored
non-symbols for compiler macros (yet).
-
Stefan Monnier authored
Fallback on completion-at-point rather than pcomplete-expand-and-complete, and only if pcomplete actually failed. (eshell-cmpl-initialize): Setup completion-at-point. * lisp/pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
-
Stefan Monnier authored
-
Stefan Monnier authored
the case in Emacs-20 before we changed the spec to allow .elc files. Fixes: debbugs:12935
-
Eli Zaretskii authored
src/xdisp.c (start_hourglass) [HAVE_NTGUI]: Don't mix declaration of w32_note_current_window with code. (Backport from trunk.) src/w32.c (FILE_DEVICE_FILE_SYSTEM, METHOD_BUFFERED) (FILE_ANY_ACCESS, CTL_CODE, FSCTL_GET_REPARSE_POINT) [_MSC_VER]: Define for the MSVC compiler. src/w32term.h (EnumSystemLocalesW) [_MSC_VER]: Add a missing semi-colon. nt/inc/stdint.h (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
-
Stefan Monnier authored
* lisp/erc/erc-track.el, lisp/erc/erc-networks.el, lisp/erc/erc-netsplit.el: * lisp/erc/erc-dcc.el, lisp/erc/erc-backend.el: Use cl-lib, nth, pcase, and called-interactively-p instead of cl. * lisp/erc/erc-speedbar.el, lisp/erc/erc-services.el: * lisp/erc/erc-pcomplete.el, lisp/erc/erc-notify.el, lisp/erc/erc-match.el: * lisp/erc/erc-log.el, lisp/erc/erc-join.el, lisp/erc/erc-ezbounce.el: * lisp/erc/erc-capab.el: Don't require cl since we don't use it. * lisp/erc/erc.el: Use cl-lib, nth, pcase, and called-interactively-p i.s.o cl. (erc-lurker-ignore-chars, erc-common-server-suffixes): Move before first use. * lisp/json.el: Don't require cl since we don't use it. * lisp/color.el: Don't require cl. (color-complement): `caddr' -> `nth 2'. * test/automated/ert-x-tests.el: Use cl-lib. * test/automated/ert-tests.el: Use lexical-binding and cl-lib.
-
Stefan Monnier authored
-
Stefan Monnier authored
-
Stefan Monnier authored
(semantic-mode-line-update): Simplify via CSE.
-
Michael Albinus authored
are remote, check out-of-band property for both.
-