[chronometrist] bugfix my-get-saved-changeset-id
This commit is contained in:
parent
87060061cb
commit
5eec48b77c
4
init.org
4
init.org
|
@ -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 -
|
;; the very latest OSM plist is the one we just created -
|
||||||
;; we want the one before that
|
;; we want the one before that
|
||||||
initially do (backward-list)
|
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))
|
return plist))
|
||||||
(((&plist :osm-url last-url)) (last saved-changesets)))
|
(((&plist :osm-url last-url)) (last saved-changesets)))
|
||||||
(when last-url
|
(when last-url
|
||||||
|
|
Loading…
Reference in New Issue