emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r103908: * fileio.c (Finsert_file_con


From: Andreas Schwab
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103908: * fileio.c (Finsert_file_contents): Fix typo in 2005-05-13 change. (Bug#8496)
Date: Thu, 14 Apr 2011 09:56:52 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 103908
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Thu 2011-04-14 09:56:52 +0200
message:
  * fileio.c (Finsert_file_contents): Fix typo in 2005-05-13 change.  (Bug#8496)
modified:
  src/ChangeLog
  src/fileio.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-04-13 17:43:38 +0000
+++ b/src/ChangeLog     2011-04-14 07:56:52 +0000
@@ -1,3 +1,8 @@
+2011-04-14  Andreas Schwab  <address@hidden>
+
+       * fileio.c (Finsert_file_contents): Fix typo in 2005-05-13
+       change.  (Bug#8496)
+
 2011-04-13  Eli Zaretskii  <address@hidden>
 
        * xdisp.c (handle_invisible_prop): Don't call bidi_paragraph_init

=== modified file 'src/fileio.c'
--- a/src/fileio.c      2011-04-10 20:43:08 +0000
+++ b/src/fileio.c      2011-04-14 07:56:52 +0000
@@ -3800,7 +3800,7 @@
     /* For a special file, all we can do is guess.  */
     total = READ_BUF_SIZE;
 
-  if (NILP (visit) && inserted > 0)
+  if (NILP (visit) && total > 0)
     {
 #ifdef CLASH_DETECTION
       if (!NILP (BVAR (current_buffer, file_truename))


reply via email to

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