file property value remote-file-name-inhibit-cache cache-used cached-at)
(when (>= tramp-verbose 10)
(let* ((var (intern (concat "tramp-cache-get-count-" property)))
- (val (or (numberp (and (boundp var) (symbol-value var)))
+ (val (or (and (boundp var) (numberp (symbol-value var))
+ (symbol-value var))
(progn
(add-hook 'tramp-cache-unload-hook
(lambda () (makunbound var)))
(tramp-message key 8 "%s %s %s" file property value)
(when (>= tramp-verbose 10)
(let* ((var (intern (concat "tramp-cache-set-count-" property)))
- (val (or (numberp (and (boundp var) (symbol-value var)))
+ (val (or (and (boundp var) (numberp (symbol-value var))
+ (symbol-value var))
(progn
(add-hook 'tramp-cache-unload-hook
(lambda () (makunbound var)))