summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-06-27 13:47:14 +0800
committerChong Yidong <cyd@gnu.org>2012-06-27 13:47:14 +0800
commitc89926a5f14afd9c409f3ba20d9380e1c95d65cb (patch)
tree4c8e5a1a4c333e19dcbdfb0de6b0663b3ae1b361 /src/doc.c
parenta2eb421b874f9719a8d49b456518ceb20f2b616a (diff)
downloademacs-c89926a5f14afd9c409f3ba20d9380e1c95d65cb.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc.c b/src/doc.c
index 223741c3bf5..cbfeb06756e 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -897,11 +897,11 @@ Otherwise, return a new string, without any text properties. */)
if (NILP (tem))
{
name = Fsymbol_name (name);
- insert_string ("\nUses keymap \"");
+ insert_string ("\nUses keymap `");
insert_from_string (name, 0, 0,
SCHARS (name),
SBYTES (name), 1);
- insert_string ("\", which is not currently defined.\n");
+ insert_string ("', which is not currently defined.\n");
if (start[-1] == '<') keymap = Qnil;
}
else if (start[-1] == '<')