Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00: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
e2045997ee
* emacs-lisp/advice.el (ad-get-argument, ad-set-argument): Doc
...
fix (Bug#3932).
2009-09-19 20:06:54 +00:00
Glenn Morris
cb71155600
Remove leading * from defcustom docs.
2009-07-22 02:45:34 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Juanma Barranquero
ec0159f045
(ad-special-form-p): Don't use `iff' in docstring.
2008-05-08 03:38:21 +00:00
Glenn Morris
d6cba7ae45
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 03:21:21 +00:00
Miles Bader
5bc6ddff00
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1107
2008-04-05 23:01:26 +00:00
Richard M. Stallman
7aefbb0613
(defadvice): Add usage pattern.
2008-03-13 15:28:04 +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
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
974992a66b
(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:34:58 +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