Remove the dynamic-docstring-function feature.
authorChong Yidong <cyd@gnu.org>
Fri, 3 Jan 2014 05:37:58 +0000 (13:37 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 3 Jan 2014 05:37:58 +0000 (13:37 +0800)
commit0d53f628be877abf2da4693df620d91d474ec058
tree338b0147ef2192cb087849636437d287ea032012
parent6ef9aed822746c3daf05313bbc0df7dfa9f08171
Remove the dynamic-docstring-function feature.

* emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
Ignore function-documentation property when getting documentation.
(ad-activate-advised-definition): Use function-documentation
generate the docstring.
(ad-make-advised-definition): Don't call
ad-make-advised-definition-docstring.
(ad-make-advised-definition-docstring, ad-advised-definition-p):
Delete functions.

* emacs-lisp/nadvice.el (advice--make-docstring): Change args.
(advice--docstring): Delete variable.
(advice--make-1): Leave the docstring empty.
(advice-add): Use function-documentation for advised docstring.

* progmodes/sql.el (sql-help): Use function-documentation instead
of dynamic-docstring-function property.  No need to autoload now.
(sql--help-docstring): New variable.
(sql--make-help-docstring): Use it.

* doc.c (Fdocumentation): Remove dynamic-docstring-function.
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/advice.el
lisp/emacs-lisp/nadvice.el
lisp/progmodes/sql.el
src/ChangeLog
src/doc.c