Преглед на файлове

Set that it's no longer modified

Samuel W. Flint преди 4 години
родител
ревизия
2e69652e82
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      track-calorie-values.el

+ 2 - 1
track-calorie-values.el

@@ -83,7 +83,8 @@ Keys are names, values are calories.")
               ";; do not modify by hand\n\n")
       (let ((standard-output (current-buffer)))
         (print `(setq track-calorie-values-data ,track-calorie-values-data)))
-      (write-region (point-min) (point-max) track-calorie-values-save-file))))
+      (write-region (point-min) (point-max) track-calorie-values-save-file)
+      (setf track-calorie-values-modified-p nil))))
 
 
 ;;; Primary interaction functions