User: scop
Date: 05/02/10 00:39:14
Modified: packages/xemacs-packages/text-modes ChangeLog whitespace.el
Log:
Fix whitespace-global-mode autoload cookie <s3tis531d5c.fsf(a)magellan.suse.de>.
Revision Changes Path
1.143 +5 -0 XEmacs/packages/xemacs-packages/text-modes/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/text-modes/ChangeLog,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -r1.142 -r1.143
--- ChangeLog 2005/01/13 08:14:27 1.142
+++ ChangeLog 2005/02/09 23:39:13 1.143
@@ -1,3 +1,8 @@
+2005-02-10 Mike FABIAN <mfabian(a)suse.de>
+
+ * whitespace.el (whitespace-global-mode): Autoload a dummy autoload
+ instead of `define-minor-mode'.
+
2005-01-13 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.82 released.
1.2 +3 -2 XEmacs/packages/xemacs-packages/text-modes/whitespace.el
Index: whitespace.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/text-modes/whitespace.el,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace.el 2004/11/08 02:21:00 1.1
+++ whitespace.el 2005/02/09 23:39:13 1.2
@@ -5,7 +5,7 @@
;; Author: Rajesh Vaidheeswarran <rv(a)gnu.org>
;; Keywords: convenience
-;; $Id: whitespace.el,v 1.1 2004/11/08 02:21:00 ben Exp $
+;; $Id: whitespace.el,v 1.2 2005/02/09 23:39:13 scop Exp $
;; This file is part of GNU Emacs.
;; GNU Emacs is free software; you can redistribute it and/or modify
@@ -814,7 +814,8 @@
(disable-timeout whitespace-rescan-timer)
(setq whitespace-rescan-timer nil))))
-;;;###autoload
+;; XEmacs hack: autoload a dummy autoload instead of a minor mode
+;;;###autoload(autoload 'whitespace-global-mode "whitespace" nil t)
(define-minor-mode whitespace-global-mode
"Toggle using Whitespace mode in new buffers.
With ARG, turn the mode on if and only iff ARG is positive.