- 30 Sep, 2012 17 commits
-
-
Chong Yidong authored
* lisp/simple.el (delete-trailing-whitespace): Avoid an unnecessary restriction change.
-
Chong Yidong authored
-
Chong Yidong authored
-
Paul Eggert authored
Suggested by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00811.html>.
-
Eli Zaretskii authored
src/profiler.c (Fprofiler_cpu_stop): Use timer_settime only if HAVE_TIMER_SETTIME is defined.
-
Paul Eggert authored
* profiler.c: Don't include stdio.h, limits.h, sys/time.h, signal.h, setjmp.h. Include systime.h instead. (saturated_add): New function. (record_backtrace, current_sample_interval): Use EMACS_INT, not size_t. (record_backtrace, handle_profiler_signal): Saturate on fixnum overflow. (profiler_timer, profiler_timer_ok) [HAVE_TIMER_SETTIME]: New static vars. (enum profiler_cpu_running): New enumn. (profiler_cpu_running): Now of that enum type, not bool. All uses changed to store the new value. (handle_profiler_signal): Rename from sigprof_handler_1, for consistency with other handlers. Do not check whether cpu_log is a hash-table if garbage collecting, since it doesn't matter in that case. (deliver_profiler_signal): Rename from sigprof_handler, for consistency with other handlers. (setup_cpu_timer): New function, with much of what used to be in Fprofiler_cpu_start. Check for out-of-range argument. Prefer timer_settime if available, and prefer thread cputime clocks, then process cputime clocks, then monotonic clocks, to the old realtime clock. Use make_timeval to round more-correctly when falling back to setitimer. (Fprofiler_cpu_start): Use it. (Fprofiler_cpu_stop): Prefer timer_settime if available. Don't assume that passing NULL as the 2nd argument of setitimer is the same as passing a pointer to all-zero storage. Ignore SIGPROF afterwards. (malloc_probe): Saturate at MOST_POSITIVE_FIXNUM. * sysdep.c (emacs_sigaction_init): Also mask out SIGPROF in non-fatal signal handlers. Ignore SIGPROF on startup. * syssignal.h (PROFILER_CPU_SUPPORT): Define this macro here, not in profiler.c, since sysdep.c now uses it.
-
Paul Eggert authored
-
Stefan Monnier authored
(minor-mode-map-alist): Remove redundant code.
-
Stefan Monnier authored
visited in a buffer. (cvs-insert-visited-file): New function. (find-file-hook): Use it. * lisp/vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
-
Stefan Monnier authored
chose face. (log-edit-empty-buffer-p): Don't require a space after a header.
-
Stefan Monnier authored
-
Stefan Monnier authored
function is a good handler for FOO. (url-copy-file, url-file-local-copy, url-insert-file-contents) (url-file-name-completion, url-file-name-all-completions) (url-handlers-create-wrapper): Explicitly register as handler.
-
Stefan Monnier authored
-
Stefan Monnier authored
a proper minor-mode.
-
Stefan Monnier authored
-
Glenn Morris authored
-
Paul Eggert authored
Suggested by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00796.html>.
-
- 29 Sep, 2012 16 commits
-
-
Glenn Morris authored
* lisp/winner.el (winner-mode): Remove variable (let define-minor-mode handle it). (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook): Doc fixes. (winner-mode-leave-hook): Rename to winner-mode-off-hook. (winner-mode): Use define-minor-mode. * etc/NEWS: Mention winner-mode-hook.
-
Glenn Morris authored
* lisp/vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get the full definition in loaddefs, rather than duplicating it. Cf vc-rcs-registered.
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Bastien Guerry authored
The help: target for the Makefile was just meant as a local test.
-
Bastien Guerry authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
* lisp/vc/vc-rcs.el (vc-rcs-master-templates): * lisp/vc/vc-sccs.el (vc-sccs-master-templates): No need to autoload.
-
Glenn Morris authored
-
Glenn Morris authored
* lisp/progmodes/inf-lisp.el (inferior-lisp-filter-regexp) (inferior-lisp-program, inferior-lisp-load-command) (inferior-lisp-prompt, inferior-lisp-mode-hook): Do not autoload defcustoms.
-
Glenn Morris authored
* lisp/hippie-exp.el (hippie-expand-try-functions-list) (hippie-expand-verbose, hippie-expand-dabbrev-skip-space) (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction) (hippie-expand-max-buffers, hippie-expand-ignore-buffers) (hippie-expand-only-buffers): Do not autoload defcustoms. * lisp/progmodes/vhdl-mode.el (vhdl-line-expand): Explicitly load hippie-exp, so it does not get autoloaded while hippie-expand-try-functions-list is let-bound.
-
Juanma Barranquero authored
-
Juanma Barranquero authored
(HAVE_TIMER_SETTIME): New macro.
-
Stefan Monnier authored
* src/xdisp.c (redisplay_internal): * src/profiler.c (record_backtrace, sigprof_handler_1): * src/alloc.c (Fgarbage_collect): * src/eval.c (interactive_p, Fsignal, eval_sub, Ffuncall, Fbacktrace) (Fbacktrace_frame): Adjust accordingly.
-
- 28 Sep, 2012 7 commits
-
-
Glenn Morris authored
-
Glenn Morris authored
Remove no longer appropriate file-local suppression of CL warnings in lisp/emacs-lisp/cl-*.el files.
-
Juri Linkov authored
* lisp/arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE to STDERR-TEST that can be a regexp matching a successful output. Create a temporary file and redirect stderr to it. Search for STDERR-TEST in the stderr output and display it in the echo area if no match is found. (archive-extract-by-file): New function like `archive-extract-by-stdout' but extracting archives to files and looking for successful matches in stdout. Function body is mostly copied from `archive-rar-extract'. (archive-rar-extract): Use `archive-extract-by-file'. (archive-7z-extract): Use `archive-extract-by-stdout'. Fixes: debbugs:10347
-
Glenn Morris authored
-
Stefan Monnier authored
(type-break-mode): Use define-minor-mode.
-
Eli Zaretskii authored
src/xdisp.c (syms_of_xdisp) <Qredisplay_internal>: Rename from Qautomatic_redisplay and change the symbol name. All users changed.
-
Leo Liu authored
-