gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autoload+.el - extensions to GNU `autoload.el'


From: Drew Adams
Subject: autoload+.el - extensions to GNU `autoload.el'
Date: Wed, 17 Jan 2001 16:42:05 -0500

;;; autoload+.el --- Extensions to `autoload.el'.
;; 
;; Emacs Lisp Archive Entry
;; Filename: autoload+.el
;; Description: Extensions to `autoload.el'.
;; Author: Drew Adams
;; Maintainer: Drew Adams
;; Copyright (C) 1996-2001, Drew Adams, all rights reserved.
;; Created: Wed Mar 19 15:45:38 1997
;; Version: $Id: autoload+.el,v 1.4 2001/01/08 22:18:32 dadams Exp $
;; Last-Updated: Mon Jan  8 14:18:18 2001
;;           By: dadams
;;     Update #: 27
;; Keywords: maint
;; Compatibility: GNU Emacs 20.x
;; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 
;;; Commentary: 
;; 
;;
;;  ***** NOTE: The following function defined in `autoload.el' has
;;              been REDEFINED HERE:
;;
;;  `update-file-autoloads' - Ignores hooks for `emacs-lisp-mode'.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 
;;; Change log:
;; 
;; RCS $Log: autoload+.el,v $
;; RCS Revision 1.4  2001/01/08 22:18:32  dadams
;; RCS Adapted file header for Emacs Lisp Archive.
;; RCS
;; RCS Revision 1.3  2001/01/03 17:29:30  dadams
;; RCS *** empty log message ***
;; RCS
;; RCS Revision 1.2  2001/01/03 00:31:39  dadams
;; RCS *** empty log message ***
;; RCS
;; RCS Revision 1.1  2000/09/13 20:06:06  dadams
;; RCS Initial revision
;; RCS
;
; Revision 1.1  1997/03/19  14:50:15  dadams
; Initial revision
;; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program; see the file COPYING.  If not, write to the
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 
;;; Code:

(require 'autoload) ;; update-file-autoloads

(provide 'autoload+)

;;;;;;;;;;;;;;;;;;;;;;


(or (fboundp 'old-update-file-autoloads)
    (fset 'old-update-file-autoloads (symbol-function 'update-file-autoloads)))

;; REPLACES ORIGINAL in `autoload.el' (dumped):
;; Temporarily removes any hooks for `emacs-lisp-mode'.
(defsubst update-file-autoloads (file)
  "Update the autoloads for FILE in `generated-autoload-file'
\(which FILE might bind in its local variables).

Note: Temporarily removes any hooks for emacs-lisp-mode."
  (interactive "fUpdate autoloads for file: ")
  (let ((emacs-lisp-mode-hook nil)) (old-update-file-autoloads file)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; `autoload+.el' ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]