diff options
| author | Chong Yidong | 2012-06-27 13:47:14 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-06-27 13:47:14 +0800 |
| commit | c89926a5f14afd9c409f3ba20d9380e1c95d65cb (patch) | |
| tree | 4c8e5a1a4c333e19dcbdfb0de6b0663b3ae1b361 /etc | |
| parent | a2eb421b874f9719a8d49b456518ceb20f2b616a (diff) | |
| download | emacs-c89926a5f14afd9c409f3ba20d9380e1c95d65cb.tar.gz emacs-c89926a5f14afd9c409f3ba20d9380e1c95d65cb.zip | |
Let C-h f do autoloading, and report if a function was previously autoloaded.
* lisp/help-fns.el (help-fns--autoloaded-p): New function.
(describe-function-1): Refer to a function as "autoloaded" if it
was autoloaded at any time in the past. Perform autoloading if
help-enable-auto-load is non-nil.
* lisp/help.el (help-enable-auto-load): New variable.
* src/doc.c (Fsubstitute_command_keys): Fix punctuation.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -64,6 +64,18 @@ been adding them there, put them somewhere else, eg site-lisp. | |||
| 64 | 64 | ||
| 65 | * Changes in Emacs 24.2 | 65 | * Changes in Emacs 24.2 |
| 66 | 66 | ||
| 67 | ** Help changes | ||
| 68 | |||
| 69 | *** `C-h f' (describe-function) can now perform autoloading. | ||
| 70 | When this command is called for an autoloaded function whose docstring | ||
| 71 | contains a key substitution construct, that function's library is | ||
| 72 | automatically loaded, so that the documentation can be shown | ||
| 73 | correctly. To disable this, set `help-enable-auto-load' to nil. | ||
| 74 | |||
| 75 | *** `C-h f' now reports previously-autoloaded functions as "autoloaded", | ||
| 76 | even after their associated libraries have been loaded (and the | ||
| 77 | autoloads have been redefined as functions). | ||
| 78 | |||
| 67 | ** The function `current-time' now returns extended-format time stamps | 79 | ** The function `current-time' now returns extended-format time stamps |
| 68 | (HIGH LOW USEC PSEC) that use picosecond resolution; the PSEC | 80 | (HIGH LOW USEC PSEC) that use picosecond resolution; the PSEC |
| 69 | component is new. PSEC is typically a multiple of 1000 on current | 81 | component is new. PSEC is typically a multiple of 1000 on current |