* Re: [Emacs-diffs] master 5fb807e 1/5: * lisp/files.el: Only message when saving if save-silently is nil
[not found] ` <55359527.5060108@dancol.org>
@ 2015-04-22 10:45 ` Artur Malabarba
0 siblings, 0 replies; only message in thread
From: Artur Malabarba @ 2015-04-22 10:45 UTC (permalink / raw)
To: Daniel Colascione, emacs-devel
2015-04-21 1:09 GMT+01:00 Daniel Colascione <dancol@dancol.org>:
>> branch: master
>> commit 5fb807efcd6dda113c0cfade9811070e45c36a2f
>>
>> * lisp/files.el: Only message when saving if save-silently is nil
>>
>> (save-silently): New variable.
>> (files--message): New function.
>>
>> (find-file-noselect, save-buffer, basic-save-buffer)
>> (basic-save-buffer-2, save-some-buffers, not-modified)
>> (append-to-file): Use them.
>
> The (called-interactive-p 'any) in basic-save-buffer always evaluates to
> nil --- it's the caller that's called interactively, not this function
> --- and so this diff makes C-x C-s silent by default.
>
The (called-interactively-p 'any) is evaluated in save-buffer not in
basic-save-buffer, which is exactly the function that's bound to C-x
C-s. So it should not be nil.
Do you have an advice on this function, by any chance? I've noticed
that advices will cause a command to not be called interactively when
it should.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-22 10:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20150412151802.21062.89189@vcs.savannah.gnu.org>
[not found] ` <E1YhJe6-0005V7-S7@vcs.savannah.gnu.org>
[not found] ` <55359527.5060108@dancol.org>
2015-04-22 10:45 ` [Emacs-diffs] master 5fb807e 1/5: * lisp/files.el: Only message when saving if save-silently is nil Artur Malabarba
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.