Преглед изворни кода

Clear modified mark after receiving the original text.

Wei Hu пре 15 година
родитељ
комит
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)