Commit graph

55 commits

Author SHA1 Message Date
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Juanma Barranquero
12a3c28c78 * image-mode.el (image-toggle-display):
* emacs-lisp/elp.el (elp-instrument-function):
* emacs-lisp/advice.el (ad-make-advised-definition):
* emacs-lisp/easy-mmode.el (define-minor-mode):
* net/browse-url.el (browse-url-maybe-new-window):
* progmodes/sh-script.el (sh-learn-buffer-indent):
  Pass new argument 'any to `called-interactively-p'.
2009-10-02 00:02:02 +00:00
Chong Yidong
30194d4d1b * emacs-lisp/elp.el (elp-not-profilable): Add more functions (Bug#4233). 2009-09-12 01:40:11 +00:00
Glenn Morris
cb71155600 Remove leading * from defcustom docs. 2009-07-22 02:45:34 +00:00
Dan Nicolaescu
2764748c42 (elp-output-insert-symname): Add a link face to make it obvious item
can be clicked.
2009-06-23 05:54:33 +00:00
Stefan Monnier
5311245342 (elp-results-symname-map): Add follow-link. 2009-01-31 17:00:54 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Juanma Barranquero
19dd6a6c52 * emacs-lisp/elp.el (elp-instrument-list): Fix 2nd arg of `signal'. 2008-11-24 18:23:53 +00:00
Chong Yidong
edad5f9701 (elp-instrument-list): Check argument type explicitly. Doc fix. 2008-11-24 15:09:02 +00:00
Glenn Morris
d6cba7ae45 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:21:21 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Nick Roberts
1fb7205b01 (elp-results): Use header-line-format for header. Move point to the start of
the buffer.
2007-12-31 23:23:39 +00:00
Miles Bader
c12ecb0af9 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
2007-11-09 09:45:30 +00:00
Juanma Barranquero
41a79faa2b (elp-unload-hook): Remove function and variable.
(elp-unload-function): New-style unload function,
adapted from `elp-unload-hook'.
2007-10-31 12:46:08 +00:00
Juanma Barranquero
1cc5b8f8b4 (elp-report-limit, elp-restore-all, elp-unset-master, elp-results): Fix typos.
(elp-sort-by-function, elp-use-standard-output, elp-recycle-buffers-p):
Doc fixes.
2007-10-31 12:09:33 +00:00
Juanma Barranquero
9eaacc8436 (elp-results): Use mapc' rather than mapcar'. 2007-09-26 00:14:17 +00:00
Glenn Morris
e0085d62fa Switch license to GPLv3 or later. 2007-07-25 04:14:29 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Stefan Monnier
d95324034b (elp-not-profilable): Replace interactive-p with called-interactively-p.
(elp-profilable-p): Rename from elp-not-profilable-p.
Invert result and take into account macros and autoloaded functions.
(elp-instrument-function): Update call.
(elp-instrument-package): Update call.  Add completion.
(elp-pack-number): Use match-string.
(elp-results-jump-to-definition-by-mouse): Merge into
elp-results-jump-to-definition and then remove.
(elp-output-insert-symname): Make help echo text single-line.
2005-11-28 21:55:15 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juanma Barranquero
667ab8c450 (elp): Finish `defgroup' description with period. 2005-07-04 02:44:09 +00:00
Richard M. Stallman
da355cba85 (elp-results): Delete wasteful beginning-of-buffer. 2004-11-07 04:09:31 +00:00
Richard M. Stallman
ea346a5d91 (elp-instrument-function): Use called-interactively-p. 2004-11-02 09:27:26 +00:00
Richard M. Stallman
5172bdd1bb (elp-unload-hook): Set the variable. 2004-10-16 15:22:00 +00:00
Masatake YAMATO
2b8d823f69 (elp-results-symname-map): New keymap.
(elp-results-jump-to-definition-by-mouse)
(elp-results-jump-to-definition, elp-output-insert-symname): New Functions.
(elp-output-result): Use elp-output-insert-symname.
2004-08-19 07:52:01 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
f2f22d26ed Comment change. 2001-12-27 03:23:50 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
Stefan Monnier
5848fe5ca0 (elp-not-profilable): New var.
(elp-not-profilable-p): New function.
(elp-instrument-function): Use it.  Use backquotes and push.
2001-11-17 00:58:21 +00:00
Pavel Janík
60370d4073 Some fixes to follow coding conventions. 2001-07-15 19:53:53 +00:00
Gerd Moellmann
cebf1b97f3 (elp-instrument-function): Handle advised
functions.
2001-05-17 13:58:14 +00:00
Eli Zaretskii
940cf42ecb (elp-instrument-package): Don't allow empty prefixes. 2001-05-14 17:52:12 +00:00
Dave Love
02af1bf14a (elp-restore-function): Remove autoload
cookie.
2000-11-01 19:14:57 +00:00
Dave Love
4edc4a39e6 (elp-unload-hook): New function. 2000-10-31 12:05:34 +00:00
Dave Love
c2641e5f2d (elp-version): Deleted. 2000-05-26 13:02:13 +00:00
Dave Love
80265cddc5 Change maintainer to FSF. 2000-05-26 09:15:41 +00:00
Dave Love
36172f4965 (elp-restore-function): Don't use obsolete byte-code-function-p. 2000-05-25 18:24:44 +00:00
Richard M. Stallman
a55340a857 Change comment and version numbers. 1998-03-14 05:46:01 +00:00
Richard M. Stallman
b8b29706b1 Update version. 1997-05-31 05:39:02 +00:00
Richard M. Stallman
d83cce6dda (elp-report-limit): Change prompt string.
(elp-version): Incremented.
1997-04-21 23:48:34 +00:00
Richard M. Stallman
3627d6b20a Update copyright years. 1997-04-12 19:31:18 +00:00
Richard M. Stallman
9e5b444e89 Add defgroup; use defcustom for user vars. 1997-04-12 19:31:00 +00:00
Richard M. Stallman
b5ca6f92e7 (elp-functionp): Definitions deleted; use functionp. 1997-04-12 19:15:11 +00:00
Richard M. Stallman
9b267ebada (elp-functionp): New function.
(elp-instrument-package): Don't attempt to instrument autoload functions.

(elp-elapsed-time): New function to calculate the different between
two `current-time' lists.  This no longer throws away the top 16 bits
of information.

(elp-wrapper): Use elp-elapsed-time instead of elp-get-time.  Also,
call `current-time' as close to the function entrance and exit as
possible so more of the overhead is eliminated from the times.

(elp-get-time): Obsolete, deleted.

(elp-restore-function):
When restoring, do not check assq elp-wrapper
if the symbol-function is a compiled lisp function (i.e. byte coded).
If it is byte-coded, it could not have been instrumented.
Don't do the symbol-function restoration if
the symbol has no function definition.

(elp-instrument-function): Always `restore' the funsym before instrumenting.
Fail if function is an autoload symbol.

(elp-instrument-list): Remove unnecessary condition-case.

(elp-results):
Noninteractive as a function is non-portable, use the
variable instead.  buffer-substring with 3 arguments is non-portable.

(elp-instrument-function, elp-instrument-list):
Handle function symbols that have already been instrumented.  Do
not instrument them twice.

(elp-recycle-buffers-p): New variable.

(elp-report-limit, elp-sort-by-function): New default values.

(elp-use-standard-output): New variable.

(elp-results): Optionally dump results to standard-output.
1997-04-12 19:14:18 +00:00
Richard M. Stallman
6ccab458cc (elp-instrument-package): Don't instrument keymaps and autoloaded functions. 1996-03-22 14:18:20 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
b96bffd7a0 Comment changes. 1994-12-29 00:11:46 +00:00