* lisp/subr.el (macrop): New function.
commit671d5c16547d16bef2efa056705bd35b5feacc29
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 4 Aug 2013 20:18:11 +0000 (4 16:18 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 4 Aug 2013 20:18:11 +0000 (4 16:18 -0400)
tree4bc2c3774ce9914f21508d0e2a83e25504dbc1db
parente443729d658ee2b9e0f55bbbb90241819bf516a6
* lisp/subr.el (macrop): New function.
(text-clone--maintaining): New var.
(text-clone--maintain): Rename from text-clone-maintain.  Use it
instead of inhibit-modification-hooks.

* lisp/emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
a proxy, so as handle autoloads and redefinitions of the target.
(advice--defalias-fset, advice-remove): Use advice--symbol-function.

* lisp/emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
(pcase--mutually-exclusive-p): New function.
(pcase--split-consp): Use it.
(pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
mutually exclusive with the current predicate.

* test/automated/advice-tests.el (advice-tests-nadvice): Test removal
before definition.
(advice-tests-macroaliases): New test.

* lisp/emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
(edebug-macrop): Remove.  Use `macrop' instead.
* lisp/emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
(ad-macro-p):
* lisp/eshell/esh-cmd.el (eshell-macrop):
* lisp/apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
etc/NEWS
lisp/ChangeLog
lisp/apropos.el
lisp/emacs-lisp/advice.el
lisp/emacs-lisp/edebug.el
lisp/emacs-lisp/nadvice.el
lisp/emacs-lisp/pcase.el
lisp/eshell/esh-cmd.el
lisp/subr.el
test/ChangeLog
test/automated/advice-tests.el