unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: How to reload an updated library?
Date: Mon, 02 Mar 2015 00:44:05 +0100	[thread overview]
Message-ID: <871tl8s2pm.fsf@debian.uxu> (raw)
In-Reply-To: mailman.1086.1425252146.31049.help-gnu-emacs@gnu.org

torys.anderson@gmail.com (Tory S. Anderson) writes:

> In this case, I'm talking about the Helm package. I
> follow it on git and sometimes will `git pull` to
> update it, then can make it. But the only way I know
> to implement the new changes in emacs is to restart
> emacs. I tried evaluate-buffer on one of the main
> library files, but it didn't seem to do the trick.
> Restarting emacs is a pain if I have many ongoing
> projects; how can I implement the updates to the
> package without restarting emacs?

With "library", do you mean something more advanced
than just an Elisp (.el) file which is usually what is
meant?

Such are loaded with <drumroll> `load' - either
`load-file' (input the library file) or `load-library'
(ditto name). With `load-library' you will get the
.elc compiled version rather than the .el source if
both are available.

-- 
underground experts united


       reply	other threads:[~2015-03-01 23:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1086.1425252146.31049.help-gnu-emacs@gnu.org>
2015-03-01 23:44 ` Emanuel Berg [this message]
2015-03-02  1:50   ` How to reload an updated library? Tory S. Anderson
2015-03-02  2:08     ` Alexis
2015-03-02  2:22       ` Tory S. Anderson
2015-03-02  2:35         ` Alexis
     [not found]     ` <mailman.1093.1425262142.31049.help-gnu-emacs@gnu.org>
2015-03-02  2:18       ` Joost Kremers
2015-03-02  2:40         ` Alexis
2015-03-01 23:22 Tory S. Anderson
2015-03-02  1:38 ` bernardo
2015-03-03 20:34 ` Vaidheeswaran C

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=871tl8s2pm.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).