[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Recent change of lm-with-file in emacs-lisp/lisp-mnt.el.
From: |
Lute Kamstra |
Subject: |
Recent change of lm-with-file in emacs-lisp/lisp-mnt.el. |
Date: |
Wed, 24 Sep 2003 19:27:24 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Hello Richard,
In this change:
2003-09-22 Richard M. Stallman <address@hidden>
* emacs-lisp/lisp-mnt.el (lm-with-file):
Don't visit the file, just use insert-file-contents in temp buffer.
the behavior of lm-with-file was changed from:
"Make a buffer with FILE current, and execute BODY.
If FILE isn't in a buffer, load it in, and kill it after BODY is
executed."
into:
"Execute BODY in a buffer containing the contents of FILE.
If FILE is nil, just return nil."
Before, the current buffer was used when FILE was nil. So the
behavior changed in that case. I suppose this was not intentional as
it breaks a lot of things: all the functions in lisp-mnt.el that use
lm-with-file (11 in total) do not work as described in their
docstrings anymore.
Maybe the change can be fixed so that lm-with-file handles FILE == nil
as before?
Lute.
- Recent change of lm-with-file in emacs-lisp/lisp-mnt.el.,
Lute Kamstra <=