From xemacs-m  Sat Mar  1 06:06:13 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id GAA19892
	for <xemacs-beta@xemacs.org>; Sat, 1 Mar 1997 06:06:11 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id NAA17914; Sat, 1 Mar 1997 13:06:10 +0100 (MET)
Sender: hniksic@public.srce.hr
To: xemacs-beta@xemacs.org
Subject: `M-x diff' not autoloaded
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E
 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 01 Mar 1997 13:06:09 +0100
Message-ID: <kig4tevhl5a.fsf@jagor.srce.hr>
Lines: 55
X-Mailer: Gnus v5.4.15/XEmacs 19.14

I notice that `M-x diff' is not autoloaded in 20.1-b3.  I am not sure
how the autoload mechanism works, but I have simply try pasting the
forms from 19.14 (which were in prim/loaddefs.el) to
prim/auto-autoload.el.  It works for me (after byte-compiling and
redumping, of course), but I'd advise the maintainers to confirm that
this is the way to do it.

The patch follows:

diff -u /home/hniksic/work/xemacs-20.1-b3/lisp/ChangeLog.orig /home/hniksic/work/xemacs-20.1-b3/lisp/ChangeLog
--- /home/hniksic/work/xemacs-20.1-b3/lisp/ChangeLog.orig	Sat Mar  1 13:04:59 1997
+++ /home/hniksic/work/xemacs-20.1-b3/lisp/ChangeLog	Sat Mar  1 13:04:59 1997
@@ -1,5 +1,7 @@
 Sat Mar  1 07:26:33 1997  Hrvoje Niksic  <hniksic@srce.hr>
 
+	* prim/auto-autoloads.el (diff): Autoload.
+
 	* prim/keydefs.el: Don't disable M-: by default.
 
 Fri Feb 28 22:17:03 1997  Hrvoje Niksic  <hniksic@srce.hr>
diff -u /home/hniksic/work/xemacs-20.1-b3/lisp/prim/auto-autoloads.el.orig /home/hniksic/work/xemacs-20.1-b3/lisp/prim/auto-autoloads.el
--- /home/hniksic/work/xemacs-20.1-b3/lisp/prim/auto-autoloads.el.orig	Sat Mar  1 13:05:21 1997
+++ /home/hniksic/work/xemacs-20.1-b3/lisp/prim/auto-autoloads.el	Sat Mar  1 13:05:22 1997
@@ -5936,6 +5936,25 @@
 
 See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]." t nil)
 
+;;;### (autoloads (diff-backup diff) "diff" "packages/diff.el" (12547 2411))
+;;; Generated autoloads from packages/diff.el
+
+(defvar diff-switches (purecopy "-c") "\
+*A string or list of strings specifying switches to be be passed to diff.")
+
+(autoload 'diff "diff" "\
+Find and display the differences between OLD and NEW files.
+Interactively the current buffer's file name is the default for NEW
+and a backup file for NEW is the default for OLD.
+With prefix arg, prompt for diff switches." t nil)
+
+(autoload 'diff-backup "diff" "\
+Diff this file with its backup file or vice versa.
+Uses the latest backup, if there are several numerical backups.
+If this file is a backup, diff it with its original.
+The backup file is the first file given to `diff'." t nil)
+
+
 ;;;***
 
 ;;;### (autoloads (edit-faces) "edit-faces" "packages/edit-faces.el")


-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
I'm sure they'll listen to reason! -- Neal Stevenson, _Snow Crash_

