* lisp/net/tramp-smb.el (tramp-smb-read-file-entry): Use default
value of `parse-time-months'.
(if (and sec min hour day month year)
(encode-time
sec min hour day
- ;; FIXME: Won't this fail if parse-time-months is configured
- ;; by the user? See "The date/time prompt" in the Org manual.
- ;; If the code is OK as-is, perhaps explain why in a comment.
- (cdr (assoc (downcase month) parse-time-months))
+ ;; `parse-time-months' could be customized by the
+ ;; user, so we take its default value.
+ (cdr
+ (assoc
+ (downcase month)
+ (default-toplevel-value 'parse-time-months)))
year)
tramp-time-dont-know))
(list localname mode size mtime))))