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 /src/doc.c | |
| 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 'src/doc.c')
| -rw-r--r-- | src/doc.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -897,11 +897,11 @@ Otherwise, return a new string, without any text properties. */) | |||
| 897 | if (NILP (tem)) | 897 | if (NILP (tem)) |
| 898 | { | 898 | { |
| 899 | name = Fsymbol_name (name); | 899 | name = Fsymbol_name (name); |
| 900 | insert_string ("\nUses keymap \""); | 900 | insert_string ("\nUses keymap `"); |
| 901 | insert_from_string (name, 0, 0, | 901 | insert_from_string (name, 0, 0, |
| 902 | SCHARS (name), | 902 | SCHARS (name), |
| 903 | SBYTES (name), 1); | 903 | SBYTES (name), 1); |
| 904 | insert_string ("\", which is not currently defined.\n"); | 904 | insert_string ("', which is not currently defined.\n"); |
| 905 | if (start[-1] == '<') keymap = Qnil; | 905 | if (start[-1] == '<') keymap = Qnil; |
| 906 | } | 906 | } |
| 907 | else if (start[-1] == '<') | 907 | else if (start[-1] == '<') |