QUERY
On Mon, 2005-02-07 at 19:46 +0100, Mike FABIAN wrote:
I think the autoload cookie in
packages/xemacs-packages/text-modes/whitespace.el before
(define-minor-mode whitespace-global-mode
is wrong.
If this cookie is there, the
(define-minor-mode ....
is generated into the auto-autoloads.el file and XEmacs sometimes
complains that 'define-minor-mode' is not defined when starting.
There is still a way to have whitespace-global-mode autoloaded, here's
for example how a similar situation it has been taken care of in diff-
mode.el:
;; XEmacs hack: autoload a dummy autoload instead of a minor mode
;;;###autoload(autoload 'diff-minor-mode "diff-mode" nil t)
(define-minor-mode diff-minor-mode
[...]
Perhaps this would be "safer" in whitespace-mode.el too? If you agree,
could you submit a revised patch using this approach? TIA.