bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#354: "Added (how many lines, bytes?!) to file.txt"


From: Eli Zaretskii
Subject: bug#354: "Added (how many lines, bytes?!) to file.txt"
Date: Sun, 02 Apr 2017 18:52:31 +0300

> From: npostavs@users.sourceforge.net
> Cc: 354@debbugs.gnu.org,  kb1vqh@gmail.com,  eggert@cs.ucla.edu
> Date: Sat, 01 Apr 2017 23:55:53 -0400
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Yes, but only because of the non-interactive case.  If that is not an
> > issue, you could simply pass the SDATA of the original string, because
> > we simply insert that into an echo-area buffer.
> 
> The `' thing applies in the interactive case right?

Yes.

> diff --git a/lisp/epa-file.el b/lisp/epa-file.el
> index c97acb837a..bc97992b5f 100644
> --- a/lisp/epa-file.el
> +++ b/lisp/epa-file.el
> @@ -290,7 +290,7 @@ epa-file-write-region
>      (if (or (eq visit t)
>           (eq visit nil)
>           (stringp visit))
> -     (message "Wrote %s" buffer-file-name))))
> +     (message "Wrote %d characters to %s" (- end start) buffer-file-name))))

Shouldn't this and others use `' as well?

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]