Mercurial > emacs
changeset 107418:8aeda91ab827
* emacs-lisp/autoload.el (autoload-rubric): Doc fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 17 Mar 2010 23:47:12 -0700 |
parents | a24389e7f686 |
children | cb7f141ceec5 d39dd3c90b0f |
files | lisp/ChangeLog lisp/emacs-lisp/autoload.el |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Mar 17 23:44:36 2010 -0700 +++ b/lisp/ChangeLog Wed Mar 17 23:47:12 2010 -0700 @@ -1,5 +1,7 @@ 2010-03-18 Glenn Morris <rgm@gnu.org> + * emacs-lisp/autoload.el (autoload-rubric): Doc fix. + * replace.el (query-replace-history): Give it a doc string. (map-query-replace-regexp): Use query-replace-from-history-variable and query-replace-to-history-variable.
--- a/lisp/emacs-lisp/autoload.el Wed Mar 17 23:44:36 2010 -0700 +++ b/lisp/emacs-lisp/autoload.el Wed Mar 17 23:47:12 2010 -0700 @@ -1,7 +1,8 @@ ;; autoload.el --- maintain autoloads in loaddefs.el ;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2001, 2002, 2003, -;; 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; 2004, 2005, 2006, 2007, 2008, 2009, 2010 +;; Free Software Foundation, Inc. ;; Author: Roland McGrath <roland@gnu.org> ;; Keywords: maint @@ -258,14 +259,17 @@ TYPE (default \"autoloads\") is a string stating the type of information contained in FILE. If FEATURE is non-nil, FILE will provide a feature. FEATURE may be a string naming the -feature, otherwise it will be based on FILE's name." +feature, otherwise it will be based on FILE's name. + +At present, a feature is in fact always provided, but this should +not be relied upon." (let ((basename (file-name-nondirectory file))) (concat ";;; " basename " --- automatically extracted " (or type "autoloads") "\n" ";;\n" ";;; Code:\n\n" "\n" - ;; This is used outside of autoload.el. + ;; This is used outside of autoload.el, eg cus-dep, finder. "(provide '" (if (stringp feature) feature