[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103751: Remove unused and erroneous
From: |
Leo Liu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103751: Remove unused and erroneous midnight-time-float |
Date: |
Sat, 26 Mar 2011 06:11:15 +0800 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 103751
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Sat 2011-03-26 06:11:15 +0800
message:
Remove unused and erroneous midnight-time-float
modified:
lisp/ChangeLog
lisp/midnight.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-03-25 00:42:26 +0000
+++ b/lisp/ChangeLog 2011-03-25 22:11:15 +0000
@@ -1,5 +1,9 @@
2011-03-25 Leo Liu <address@hidden>
+ * midnight.el (midnight-time-float): Remove. Note it calculates
+ the microsecond component incorrectly and seconds-to-time does the
+ same job.
+
* ido.el (ido-read-internal): Simplify with read-from-minibuffer.
(ido-completions): Remove unused arguments. (Bug#8329)
=== modified file 'lisp/midnight.el'
--- a/lisp/midnight.el 2011-01-27 19:45:44 +0000
+++ b/lisp/midnight.el 2011-03-25 22:11:15 +0000
@@ -66,12 +66,6 @@
;;; time conversion
-(defun midnight-time-float (num)
- "Convert the float number of seconds since epoch to the list of 3 integers."
- (let* ((div (ash 1 16)) (1st (floor num div)))
- (list 1st (floor (- num (* (float div) 1st)))
- (round (* 10000000 (mod num 1))))))
-
(defun midnight-buffer-display-time (&optional buffer)
"Return the time-stamp of BUFFER, or current buffer, as float."
(with-current-buffer (or buffer (current-buffer))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103751: Remove unused and erroneous midnight-time-float,
Leo Liu <=
- Prev by Date:
[Emacs-diffs] /srv/bzr/emacs/trunk r103749: Restored history of compile, config.guess, config.sub, depcomp, install-sh, missing.
- Next by Date:
[Emacs-diffs] /srv/bzr/emacs/trunk r103752: Remove redundant (require 'timer) in midnight.el
- Previous by thread:
[Emacs-diffs] /srv/bzr/emacs/trunk r103749: Restored history of compile, config.guess, config.sub, depcomp, install-sh, missing.
- Next by thread:
[Emacs-diffs] /srv/bzr/emacs/trunk r103752: Remove redundant (require 'timer) in midnight.el
- Index(es):