aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2014-01-03 13:37:58 +0800
committerChong Yidong2014-01-03 13:37:58 +0800
commit0d53f628be877abf2da4693df620d91d474ec058 (patch)
tree338b0147ef2192cb087849636437d287ea032012 /etc
parent6ef9aed822746c3daf05313bbc0df7dfa9f08171 (diff)
downloademacs-0d53f628be877abf2da4693df620d91d474ec058.tar.gz
emacs-0d53f628be877abf2da4693df620d91d474ec058.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 5762ebf0fcd..44764f3cde0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -995,9 +995,6 @@ selected among several alternatives, as a matter of user preference.
995** The `defalias-fset-function' property lets you catch `defalias' 995** The `defalias-fset-function' property lets you catch `defalias'
996calls, and redirect them to your own function, instead of `fset'. 996calls, and redirect them to your own function, instead of `fset'.
997 997
998** Docstrings can be made dynamic by adding a `dynamic-docstring-function'
999text-property on the first char.
1000
1001+++ 998+++
1002** New variable `enable-dir-local-variables'. 999** New variable `enable-dir-local-variables'.
1003Directory-local variables are ignored if this is nil. This may be 1000Directory-local variables are ignored if this is nil. This may be