all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: trunk r112980: * lisp/emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
Date: Sun, 16 Jun 2013 21:07:34 +0400	[thread overview]
Message-ID: <87obb6t25l.fsf@yandex.ru> (raw)
In-Reply-To: <E1UnKYz-00063L-5u@vcs.savannah.gnu.org> (Stefan Monnier's message of "Fri, 14 Jun 2013 03:20:33 +0000")

Stefan Monnier <monnier@iro.umontreal.ca> writes:
> ------------------------------------------------------------
> revno: 112980
> revision-id: monnier@iro.umontreal.ca-20130614032018-uowzljhh6kbvcp4i
> parent: monnier@iro.umontreal.ca-20130614023128-iedxmujzz2ss1bwe
> committer: Stefan Monnier <monnier@iro.umontreal.ca>
> branch nick: trunk
> timestamp: Thu 2013-06-13 23:20:18 -0400
...
> +(defun package-load-descriptor (pkg-dir)
> +  "Load the description file in directory PKG-DIR."
> +  (let ((pkg-file (expand-file-name (package--description-file pkg-dir)
> +                                    pkg-dir)))
> +    (when (file-exists-p pkg-file)
> +      (with-temp-buffer
> +        (insert-file-contents pkg-file)
> +        (emacs-lisp-mode)

Is using emacs-lisp-mode here necessary?

It breaks my configuration, because I have `paredit-mode' in
`emacs-lisp-mode-hook', and it's installed via ELPA, and so when this
function is called for the first time (at least), Paredit is not yet in
`load-path'.



       reply	other threads:[~2013-06-16 17:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1UnKYz-00063L-5u@vcs.savannah.gnu.org>
2013-06-16 17:07 ` Dmitry Gutov [this message]
2013-06-16 23:19   ` trunk r112980: * lisp/emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more Stefan Monnier
2013-06-17  6:26     ` Dmitry Gutov
2013-06-17 14:32       ` Stefan Monnier
2013-06-17 17:42         ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87obb6t25l.fsf@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.