Mercurial > emacs
comparison lisp/emacs-lisp/autoload.el @ 807:4f28bd14272c
*** empty log message ***
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Thu, 16 Jul 1992 21:47:34 +0000 |
parents | a8d94735277e |
children | e694e0879463 |
comparison
equal
deleted
inserted
replaced
806:d42e1151eed8 | 807:4f28bd14272c |
---|---|
1 ;;; autoload.el --- maintain autoloads in loaddefs.el. | 1 ;;; autoload.el --- maintain autoloads in loaddefs.el. |
2 | 2 |
3 ;; Author: Roland McGrath <roland@gnu.ai.mit.edu> | |
4 ;; Last-Modified: 24 Jun 1992 | |
5 | |
3 ;;; Copyright (C) 1991, 1992 Free Software Foundation, Inc. | 6 ;;; Copyright (C) 1991, 1992 Free Software Foundation, Inc. |
4 ;;; Written by Roland McGrath. | |
5 ;;; | 7 ;;; |
6 ;;; This program is free software; you can redistribute it and/or modify | 8 ;;; This program is free software; you can redistribute it and/or modify |
7 ;;; it under the terms of the GNU General Public License as published by | 9 ;;; it under the terms of the GNU General Public License as published by |
8 ;;; the Free Software Foundation; either version 1, or (at your option) | 10 ;;; the Free Software Foundation; either version 2, or (at your option) |
9 ;;; any later version. | 11 ;;; any later version. |
10 ;;; | 12 ;;; |
11 ;;; This program is distributed in the hope that it will be useful, | 13 ;;; This program is distributed in the hope that it will be useful, |
12 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 ;;; A copy of the GNU General Public License can be obtained from this | 18 ;;; A copy of the GNU General Public License can be obtained from this |
17 ;;; program's author (send electronic mail to roland@ai.mit.edu) or from | 19 ;;; program's author (send electronic mail to roland@ai.mit.edu) or from |
18 ;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA | 20 ;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA |
19 ;;; 02139, USA. | 21 ;;; 02139, USA. |
20 ;;; | 22 ;;; |
23 | |
24 ;;; Code: | |
21 | 25 |
22 (defun make-autoload (form file) | 26 (defun make-autoload (form file) |
23 "Turn FORM, a defun or defmacro, into an autoload for source file FILE. | 27 "Turn FORM, a defun or defmacro, into an autoload for source file FILE. |
24 Returns nil if FORM is not a defun or defmacro." | 28 Returns nil if FORM is not a defun or defmacro." |
25 (let ((car (car-safe form))) | 29 (let ((car (car-safe form))) |