On 2011-04-04 22:50 +0200, Timo Juhani Lindfors wrote:
> After considering various options I think I'm going to use
>
> $ cat /etc/emacs/site-start.d/50magit.el
> ;;; Autoloads for magit
>
> (if (member debian-emacs-flavor '(emacs23))
I think that dropping support for emacs-snapshot and future Emacs
versions like emacs24 is rather unfortunate. How about
(if (and (>= emacs-major-version 23)
(not (featurep 'xemacs)))
instead, to support emacs23 _and later_?
> (if (file-exists-p "/usr/share/emacs/site-lisp/magit/magit.el")
> (autoload 'magit-status "magit" nil t)
> (message "Package magit removed but not purged. Skipping
> setup.")))
>
> to skip autoloading for unsupported emacs versions.
Regards,
Sven
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]