[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25340: Save-some-buffers gets called when installing packages.
From: |
Nikolay Kudryavtsev |
Subject: |
bug#25340: Save-some-buffers gets called when installing packages. |
Date: |
Sat, 7 Jan 2017 21:06:18 +0300 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
I had the idea of doing this:
(defun byte-recompile-directory (directory &optional arg force
limit-buffer-saving)
...
If forth argument LIMIT-BUFFER-SAVING is 'directory, only files within
DIRECTORY would be saved. When LIMIT-BUFFER-SAVING is t no existing buffers
would be checked for modification.
But I found out out that having LIMIT-BUFFER-SAVING with value t like
this would not work without an accompanying change to
byte-recompile-file - since byte-recompile-file already checks whether
there's a buffer for that file and that buffer is modified. So, since I
don't think that doing changes to byte-recompile-file is the best idea,
here's my current version.
Also, note that the check in byte-recompile-file actually makes calling
save-some-buffers somewhat redundant.
--
Best Regards,
Nikolay Kudryavtsev
0001-Prevent-package-install-from-asking-to-save-buffers.patch
Description: Text document
- bug#25340: Save-some-buffers gets called when installing packages., Nikolay Kudryavtsev, 2017/01/02
- bug#25340: Save-some-buffers gets called when installing packages., npostavs, 2017/01/04
- bug#25340: Save-some-buffers gets called when installing packages., Nikolay Kudryavtsev, 2017/01/05
- bug#25340: Save-some-buffers gets called when installing packages., npostavs, 2017/01/08
- bug#25340: Save-some-buffers gets called when installing packages., Nikolay Kudryavtsev, 2017/01/08
- bug#25340: Save-some-buffers gets called when installing packages., npostavs, 2017/01/08
- Message not available
- bug#25340: Fwd: bug#25340: Save-some-buffers gets called when installing packages., Noam Postavsky, 2017/01/09
- bug#25340: Fwd: bug#25340: Save-some-buffers gets called when installing packages., npostavs, 2017/01/15