Commit graph

61 commits

Author SHA1 Message Date
Glenn Morris
e92d2ff731 (ad-compile-function): Use byte-compile-disable-warning. 2007-10-28 23:52:21 +00:00
Juanma Barranquero
5eceba819d (ad-make-advised-docstring): Add ad-advice-info text property to doc string. 2007-10-23 08:42:39 +00:00
Richard M. Stallman
745dc723d9 (ad-get-advice-info): Change to a function.
(ad-get-advice-info-macro): New macro, like old ad-get-advice-info.
(ad-is-advised, ad-get-advice-info-field)
(ad-set-advice-info-field): Use ad-get-advice-info-macro.
2007-10-16 02:37:33 +00:00
Richard M. Stallman
15975e3514 (documentation): Advice deleted. Doc for advised functions
is now handled at C level.
(ad-stop-advice, ad-start-advice): Don't enable or disable
advice for `documentation'.
(ad-advised-definition-docstring-regexp): Var deleted.
(ad-make-advised-definition-docstring): Store orig name
as text property of string.
(ad-advised-definition-p): Check for text property of docstring.
2007-10-14 22:46:38 +00:00
Glenn Morris
feb47a092c Johan Bockg� <bojohan at dd.chalmers.se>
(ad-make-advised-docstring): Highlight note in doc string.
2007-09-05 03:47:22 +00:00
Stefan Monnier
806bc6df0a (ad-interactive-form): Re-introduce.
(ad-body-forms, ad-advised-interactive-form): Revert this part of last change.
2007-07-28 19:57:23 +00:00
Stefan Monnier
05bfa8f34f (ad-interactive-p, ad-interactive-form): Remove.
(ad-body-forms, ad-advised-interactive-form, ad-make-cache-id)
(ad-make-advised-definition, ad-cache-id-verification-code):
Use commandp and interactive-form instead.
2007-07-26 18:49:14 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
e0085d62fa Switch license to GPLv3 or later. 2007-07-25 04:14:29 +00:00
Juanma Barranquero
6c4f5400cd (defadvice): Doc fix. 2007-07-16 10:17:51 +00:00
David Kastrup
287a387cf5 (defadvice): Doc fix. 2007-07-14 16:14:58 +00:00
Stefan Monnier
5d08a78606 (ad-special-forms): Remove.
(ad-special-form-p): Use subr-arity.
2007-05-08 16:05:02 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Glenn Morris
d59c31376c Update copyright years. 2006-12-07 05:06:17 +00:00
Juanma Barranquero
6b0a96341e (ad-remove-advice, ad-parse-arglist, ad-make-mapped-call):
Use `let', not `let*'.
2006-10-05 15:53:30 +00:00
Richard M. Stallman
379ba58e76 (ad-enable-advice, ad-activate, ad-disable-advice): Add autoloads. 2006-05-25 00:00:50 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Stefan Monnier
18880c272f (ad-make-advised-definition): Fix arg-order.
(defadvice): Add `doc-string' declaration.
2005-10-24 16:14:34 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +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
Werner LEMBERG
bece3937bf * emacs-lisp/advice.el: Replace legal' with valid'. 2005-03-25 09:55:34 +00:00
Richard M. Stallman
ae03e7cf52 (ad-make-advised-definition): Use called-interactively-p. 2004-11-02 09:17:50 +00:00
Stefan Monnier
98fdbd102f (ad-subr-arglist): Undo part of last patch. 2004-03-23 02:45:33 +00:00
Stefan Monnier
35abd1e238 (ad-subr-arglist): Simplify. 2004-03-22 15:16:27 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
824c61ddc6 (ad-make-advised-docstring): Adjust usage for new help-add-fundoc-usage. 2003-05-06 13:58:30 +00:00
Stefan Monnier
24c22ecf5a (ad-get-enabled-advices, ad-special-forms)
(ad-arglist, ad-subr-arglist): Use push and match-string.
(ad-make-advised-docstring): Extract & reinsert the usage info.
2003-05-04 00:32:46 +00:00
Richard M. Stallman
004b6f61b3 (ad-compile-function): Disable cl-function warnings if cl is loaded. 2002-07-07 09:37:09 +00:00
Richard M. Stallman
bd421bc2dd (documentation): Add ad-define-subr-args call. 2002-04-30 04:20:25 +00:00
Richard M. Stallman
fe30e73fcd (ad-compile-function):
Byte compile the function under another (uninterned) name.
2001-12-11 06:07:07 +00:00
Sam Steingold
8a9463543d Converted backquote to the new style. 2001-11-27 15:52:52 +00:00
Gerd Moellmann
4033ae9d51 (ad-make-advised-definition): If the
original definition has an interactive form, but is Elp
instrumented, use the interactive form of the function called by
elp-wrapper.
2001-07-09 13:06:36 +00:00
Gerd Moellmann
8541c92408 (ad-make-advised-definition): Construct
advice for subrs differently.
2001-04-10 15:17:09 +00:00
Gerd Moellmann
e2b8a83076 (ad-make-advised-definition): Call
interactive-form to obtain the interactive spec of subrs.
2001-03-29 14:11:46 +00:00
Miles Bader
ef86085033 (ad-special-forms): Correct the conditional inclusion of `track-mouse'. 2000-11-21 08:49:33 +00:00
Stefan Monnier
571b4b9325 (ad-advice-class-completion-table)
(ad-make-freeze-definition): Don't quote lambda.
2000-06-12 04:59:26 +00:00
Dave Love
07c8b450a9 Fix last change. 1999-11-26 21:27:25 +00:00
Richard M. Stallman
850da9d092 Many doc fixes. 1999-11-26 17:46:05 +00:00
Gerd Moellmann
17d28a2aa8 (ad-activate-on): Make it an alias for ad-activate. 1999-10-30 20:26:22 +00:00
Dave Love
fce4437307 Doc fixes.
(ad-lemacs-p): Removed.
(advice): Add :link to defgroup.
1999-10-27 11:59:45 +00:00
Gerd Moellmann
5f6bb68adf (ad-activate-internal): Renamed from
ad-activate.  All callers changed, including those in data.c.
(ad-activate-internal-off): Renamed from ad-activate-off.
All uses changed.
(ad-activate): Renamed from ad-activate-on.  All uses changed.
(ad-start-advice, ad-stop-advice, ad-recover-normality):
Alter the definition of ad-activate-internal, not ad-activate.
1999-10-26 23:27:31 +00:00
Karl Heuer
65a44e9fc0 (ad-special-forms): Use track-mouse iff bound. 1999-08-14 03:55:01 +00:00
Dave Love
8bae7480b8 (ad-make-single-advice-docstring): Treat case with no doctring specially. 1999-08-10 09:51:17 +00:00
Karl Heuer
863312cda6 Comment fix. 1999-06-22 22:46:17 +00:00
Andreas Schwab
9d52160a5c (ad-special-forms): Add save-current-buffer
and track-mouse.
1998-12-28 10:10:22 +00:00
Andreas Schwab
db352ce60e (ad-redefinition-action,
ad-default-compilation-action): Use `other' widget type.
1998-06-24 08:58:39 +00:00
Richard M. Stallman
2036d16f51 (ad-handle-definition, defadvice): Fix error messages. 1998-05-14 05:39:59 +00:00
Stephen Eglen
666b94132b Customized. 1998-04-05 18:26:32 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00