summaryrefslogtreecommitdiff
path: root/lisp/nnmbox.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/nnmbox.el')
-rw-r--r--lisp/nnmbox.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/nnmbox.el b/lisp/nnmbox.el
index 171463740db..9b7957247d4 100644
--- a/lisp/nnmbox.el
+++ b/lisp/nnmbox.el
@@ -484,7 +484,7 @@
(buffer-name nnmbox-mbox-buffer)
(save-excursion
(set-buffer nnmbox-mbox-buffer)
- (= (buffer-size) (nth 7 (file-attributes nnmbox-mbox-file)))))
+ (= (buffer-size) (nnheader-file-size nnmbox-mbox-file))))
()
(save-excursion
(let ((delim (concat "^" message-unix-mail-delimiter))