aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2012-11-08 23:10:16 -0500
committerStefan Monnier2012-11-08 23:10:16 -0500
commit57618ecf3358e49ab3c380330e82ca8d2078cc63 (patch)
treecb031b879ebeb162179f5718c015f70a5e31c755 /etc
parent67dd8ad119474d5c403e3410b4465baef2647609 (diff)
downloademacs-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 2b56ea9f540..bb8bcd6cb56 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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'
34text-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