Clarify when to use advice-add vs add-function
commite3f00f5637a2790923a9c4c1d4b7dbf65027d8ce
authorNoam Postavsky <npostavs@gmail.com>
Wed, 23 May 2018 00:08:01 +0000 (22 20:08 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 23 May 2018 00:08:01 +0000 (22 20:08 -0400)
tree9eccca565e2dd60bf890fd6c216032d49104d6df
parentc0f3e6b56b2643730b724647df950631d73484bc
Clarify when to use advice-add vs add-function

* lisp/emacs-lisp/nadvice.el (add-function): Note in docstring that
advice-add should be used for named functions.
lisp/emacs-lisp/nadvice.el