+2012-06-14 Sam Steingold <sds@gnu.org>
+
+ * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
+
2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
* play/doctor.el (doctor-doc): Remove parameter and use
OP-TYPE specifies the file operation being performed (for message to user)."
(when (and large-file-warning-threshold size
(> size large-file-warning-threshold)
- (not (y-or-n-p (format "File %s is large (%dMB), really %s? "
+ (not (y-or-n-p (format "File %s is large (%s), really %s? "
(file-name-nondirectory filename)
- (/ size 1048576) op-type))))
+ (file-size-human-readable size) op-type))))
(error "Aborted")))
(defun find-file-noselect (filename &optional nowarn rawfile wildcards)