aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2012-06-27 13:47:14 +0800
committerChong Yidong2012-06-27 13:47:14 +0800
commitc89926a5f14afd9c409f3ba20d9380e1c95d65cb (patch)
tree4c8e5a1a4c333e19dcbdfb0de6b0663b3ae1b361 /src
parenta2eb421b874f9719a8d49b456518ceb20f2b616a (diff)
downloademacs-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')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/doc.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index bef3bbd4c83..4614ba09b3d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-06-27 Chong Yidong <cyd@gnu.org>
2
3 * doc.c (Fsubstitute_command_keys): Fix punctuation.
4
12012-06-26 John Wiegley <johnw@newartisans.com> 52012-06-26 John Wiegley <johnw@newartisans.com>
2 6
3 * unexmacosx.c (copy_data_segment): Added two section names used 7 * unexmacosx.c (copy_data_segment): Added two section names used
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. */)
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] == '<')