- (if (and lsdb-hash-table-is-dirty
- (or (interactive-p)
- (y-or-n-p "Save the LSDB now?")))
- (lsdb-save-file lsdb-file lsdb-hash-table)))
+ (if (not lsdb-hash-table-is-dirty)
+ (message "(No changes need to be saved)")
+ (if (or (interactive-p)
+ (y-or-n-p "Save the LSDB now?"))
+ (lsdb-save-file lsdb-file lsdb-hash-table))))