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
5a3d3a16
Commit
5a3d3a16
authored
Jul 23, 1996
by
Richard M. Stallman
Browse files
(cmpl-hours-since-origin): Fix bug:
microseconds count was being used instead of seconds count.
parent
42f30377
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
lisp/completion.el
lisp/completion.el
+1
-3
No files found.
lisp/completion.el
View file @
5a3d3a16
...
...
@@ -470,9 +470,7 @@ Used to decide whether to save completions.")
(
defun
cmpl-hours-since-origin
()
(
let
((
time
(
current-time
)))
(
truncate
(
+
(
*
(
/
(
car
time
)
3600.0
)
(
lsh
1
16
))
(
/
(
nth
2
time
)
3600.0
)))))
(
floor
(
+
(
*
65536.0
(
nth
0
time
))
(
nth
1
time
))
3600
)))
;;---------------------------------------------------------------------------
;; "Symbol" parsing functions
...
...
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