Revision: mange@freemail.hu--2005/emacs-jabber--cvs-head--0--patch-535

Creator:  Magnus Henoch <mange@freemail.hu>

Fix building of jabber-autoloads under Emacs 21

Also, ensure that it does (provide 'jabber-autoloads), which lets us use
`require'.
This commit is contained in:
Magnus Henoch 2008-06-17 14:49:20 +00:00 committed by Kirill A. Korinskiy
parent 5a460bf7f1
commit db18ce4415
3 changed files with 17 additions and 1 deletions

View File

@ -40,7 +40,11 @@ EXTRA_DIST = jabber-pkg.el.in
# regenerated, which means that jabber-autoload.el is once again
# considered new, which means that everything will be built again.
# Suggestions welcome.
#
# Emacs 21 requires that the file already exist and have non-zero
# size, so we touch it with ancient timestamp.
jabber-autoloads.el: $(my_lisp_sources)
test -s $@ || cp -f $(srcdir)/jabber-autoloads.stub $@; touch -t 197001030000 $@
$(EMACS) --batch --eval "(setq generated-autoload-file \"$(abs_builddir)/$@\")" -f batch-update-autoloads $(srcdir)
info_TEXINFOS=jabber.texi

12
jabber-autoloads.stub Normal file
View File

@ -0,0 +1,12 @@
;;; jabber-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
(provide 'jabber-autoloads)
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; End:
;;; jabber-autoloads.el ends here

View File

@ -153,7 +153,7 @@ configure a Google Talk account like this:
(require 'jabber-wmii)
(require 'jabber-osd)
(load "jabber-autoloads")
(require 'jabber-autoloads)
(defvar *jabber-current-status* nil