Remove the call to insert.
+2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * tar-mode.el (tar-octal-time): Fix the last argument of logior.
+ Remove the call to insert.
+
2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
* emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
(defun tar-octal-time (timeval)
;; Format a timestamp as 11 octal digits. Ghod, I hope this works...
(let ((hibits (car timeval)) (lobits (car (cdr timeval))))
- (insert (format "%05o%01o%05o"
- (lsh hibits -2)
- (logior (lsh (logand 3 hibits) 1) (> (logand lobits 32768) 0))
- (logand 32767 lobits)
- ))))
+ (format "%05o%01o%05o"
+ (lsh hibits -2)
+ (logior (lsh (logand 3 hibits) 1)
+ (if (> (logand lobits 32768) 0) 1 0))
+ (logand 32767 lobits)
+ )))
(defun tar-subfile-save-buffer ()
"In tar subfile mode, save this buffer into its parent tar-file buffer.