Re: PB with auctex-11.54 (debian testing) *THE END*

"Davide G. M. Salvetti" <[email protected]>
Newsgroups gmane.emacs.auc-tex
Organization Quis ut Deus?
Message-ID <[email protected]>
>>>>>  FK == Frank Küster [2005-1-27]

FK> Daniel Flipo <[email protected]> wrote:

>> (if (fboundp 'debian-pkg-add-load-path-item)
>> (progn (debian-pkg-add-load-path-item "/usr/share/emacs21/site-lisp/auctex/")
>> (debian-pkg-add-load-path-item "/usr/share/emacs/site-lisp/auctex/"))
>> (progn (add-to-list 'load-path "/usr/share/emacs21/site-lisp/auctex/" 'append)
>> (add-to-list 'load-path "/usr/share/emacs/site-lisp/auctex/" 'append)))
>> 
>> (require 'tex-site)
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

FK> I guess it could be shortened to

FK> (progn (debian-pkg-add-load-path-item "/usr/share/emacs21/site-lisp/auctex/")
FK> (debian-pkg-add-load-path-item "/usr/share/emacs/site-lisp/auctex/"))

FK> because auctex depends on emacsen-common which defines this
FK> function. Oh, it does _not_ depend directly on it, but that's a
FK> different bug. At least emacs21 depends on it, and auctex depends on
FK> emacs21, so that the function will be known every time 50auctex.el
FK> is loaded.

FK> Davide?

The fact is 'debian-pkg-add-load-path-item has not always been provided
by emacsen-common; to shorten that elisp form, I would have to have a
versioned depends on emacsen-common or emacs21.  Why bother?

-- 
Salve, | GNU PG (GPG) Key ID: 9396865D
Davide | <http://www.linux.it/~salve/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.