]> code.delx.au - gnu-emacs/blobdiff - src/fileio.c
Merge from emacs-24; up to 2014-05-29T17:16:00Z!dmantipov@yandex.ru
[gnu-emacs] / src / fileio.c
index dcee70aa8b4c6f2df0a3a0b8335d4aa3b327a425..8b20c65802d100b39918f6c76acf31c376bc5eab 100644 (file)
@@ -4085,7 +4085,7 @@ by calling `format-decode', which see.  */)
          && !NILP (BVAR (current_buffer, filename))
          && SAVE_MODIFF >= MODIFF)
        we_locked_file = 1;
-      prepare_to_modify_buffer (GPT, GPT, NULL);
+      prepare_to_modify_buffer (PT, PT, NULL);
     }
 
   move_gap_both (PT, PT_BYTE);