diff options
| author | Chong Yidong | 2014-01-03 13:37:58 +0800 |
|---|---|---|
| committer | Chong Yidong | 2014-01-03 13:37:58 +0800 |
| commit | 0d53f628be877abf2da4693df620d91d474ec058 (patch) | |
| tree | 338b0147ef2192cb087849636437d287ea032012 /etc | |
| parent | 6ef9aed822746c3daf05313bbc0df7dfa9f08171 (diff) | |
| download | emacs-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/NEWS | 3 |
1 files changed, 0 insertions, 3 deletions
| @@ -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' |
| 996 | calls, and redirect them to your own function, instead of `fset'. | 996 | calls, and redirect them to your own function, instead of `fset'. |
| 997 | 997 | ||
| 998 | ** Docstrings can be made dynamic by adding a `dynamic-docstring-function' | ||
| 999 | text-property on the first char. | ||
| 1000 | |||
| 1001 | +++ | 998 | +++ |
| 1002 | ** New variable `enable-dir-local-variables'. | 999 | ** New variable `enable-dir-local-variables'. |
| 1003 | Directory-local variables are ignored if this is nil. This may be | 1000 | Directory-local variables are ignored if this is nil. This may be |