diff options
| author | Stefan Monnier | 2012-11-08 23:10:16 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2012-11-08 23:10:16 -0500 |
| commit | 57618ecf3358e49ab3c380330e82ca8d2078cc63 (patch) | |
| tree | cb031b879ebeb162179f5718c015f70a5e31c755 /etc | |
| parent | 67dd8ad119474d5c403e3410b4465baef2647609 (diff) | |
| download | emacs-57618ecf3358e49ab3c380330e82ca8d2078cc63.tar.gz emacs-57618ecf3358e49ab3c380330e82ca8d2078cc63.zip | |
New property dynamic-docstring-function for docstrings.
* src/doc.c (Fdocumentation): Handle new property
dynamic-docstring-function to replace the old ad-advice-info.
* lisp/emacs-lisp/advice.el: Use new dynamic docstrings.
(ad-make-advised-definition-docstring, ad-advised-definition-p):
Use dynamic-docstring-function instead of ad-advice-info.
(ad--make-advised-docstring): New function extracted from
ad-make-advised-docstring.
(ad-make-advised-docstring): Use it.
* lisp/progmodes/sql.el (sql--make-help-docstring): New function, extracted
from sql-help.
(sql-help): Use it with dynamic-docstring-function.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -29,6 +29,10 @@ so we will look at it and add it to the manual. | |||
| 29 | * New Modes and Packages in Emacs 24.4 | 29 | * New Modes and Packages in Emacs 24.4 |
| 30 | * Incompatible Lisp Changes in Emacs 24.4 | 30 | * Incompatible Lisp Changes in Emacs 24.4 |
| 31 | * Lisp changes in Emacs 24.4 | 31 | * Lisp changes in Emacs 24.4 |
| 32 | |||
| 33 | ** Docstrings can be made dynamic by adding a `dynamic-docstring-function' | ||
| 34 | text-property on the first char. | ||
| 35 | |||
| 32 | * Changes in Emacs 24.4 on non-free operating systems | 36 | * Changes in Emacs 24.4 on non-free operating systems |
| 33 | 37 | ||
| 34 | 38 | ||