Просмотр исходного кода

Clear modified mark after receiving the original text.

Wei Hu 15 лет назад
Родитель
Сommit
8aeb2c5551
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      edit-server.el

+ 1 - 0
edit-server.el

@@ -252,6 +252,7 @@ If `edit-server-verbose' is non-nil, then STRING is also echoed to the message l
   (let ((buffer (generate-new-buffer edit-server-edit-buffer-name)))
     (copy-to-buffer buffer (point-min) (point-max))
     (with-current-buffer buffer
+      (not-modified)
       (edit-server-text-mode)
       (add-hook 'kill-buffer-hook 'edit-server-abort* nil t)
       (buffer-enable-undo)