[chronometrist] bugfix my-get-saved-changeset-id

This commit is contained in:
contrapunctus 2021-08-30 23:31:33 +05:30
parent 87060061cb
commit 5eec48b77c
1 changed files with 3 additions and 1 deletions

View File

@ -672,7 +672,9 @@ Return nil (and run `magit-status') if the user answers no."
;; the very latest OSM plist is the one we just created -
;; we want the one before that
initially do (backward-list)
when (equal "OSM" (plist-get plist :name))
when (and (equal "OSM" (plist-get plist :name))
;; ignore plists without a :changesets keyword
(plist-get plist :changesets))
return plist))
(((&plist :osm-url last-url)) (last saved-changesets)))
(when last-url