Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
70569550
Commit
70569550
authored
Sep 07, 2001
by
Eli Zaretskii
Browse files
(archive-dostime): Fix a typo in minutes' computation.
parent
a56ebb90
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/arc-mode.el
lisp/arc-mode.el
+1
-1
No files found.
lisp/ChangeLog
View file @
70569550
2001-09-07 Eli Zaretskii <eliz@is.elta.co.il>
* arc-mode.el (archive-dostime): Fix a typo in minutes'
computation.
2001-09-07 Gerd Moellmann <gerd@gnu.org>
* server.el (server-switch-buffer): Use get-window-with-predicate.
...
...
lisp/arc-mode.el
View file @
70569550
...
...
@@ -447,7 +447,7 @@ the mode is invalid. If ERROR is nil then nil will be returned."
(
defun
archive-dostime
(
time
)
"Stringify dos packed TIME record."
(
let
((
hour
(
logand
(
ash
time
-11
)
31
))
(
minute
(
logand
(
ash
time
-5
)
5
3
))
(
minute
(
logand
(
ash
time
-5
)
6
3
))
(
second
(
*
2
(
logand
time
31
))))
; 2 seconds resolution
(
format
"%02d:%02d:%02d"
hour
minute
second
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment