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
1bf68d53
Commit
1bf68d53
authored
Sep 22, 2010
by
Katsumi Yamaoka
Browse files
calendar/time-date.el (format-seconds): Comment fix.
parent
cd205c76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/calendar/time-date.el
lisp/calendar/time-date.el
+4
-4
No files found.
lisp/ChangeLog
View file @
1bf68d53
2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
* calendar/time-date.el (format-seconds): Comment fix.
2010-09-22 Glenn Morris <rgm@gnu.org>
* emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
...
...
lisp/calendar/time-date.el
View file @
1bf68d53
...
...
@@ -317,10 +317,10 @@ This function does not work for SECONDS greater than `most-positive-fixnum'."
(
setq
start
(
match-end
0
)
spec
(
match-string
1
string
))
(
unless
(
string-equal
spec
"%"
)
;; `assoc-string' is not available in XEmacs
or Emacs 21
. So when
;;
compiling
Gnus (`time-date.el' is part of Gnus) with XEmacs
or
;;
Emacs 21, we get
a warning here. But `format-seconds' is not
;;
used anywhere in
Gnus so it's not a real problem. --rsteib
;; `assoc-string' is not available in XEmacs. So when
compiling
;; Gnus (`time-date.el' is part of Gnus) with XEmacs
, we get
;; a warning here. But `format-seconds' is not
used anywhere in
;; Gnus so it's not a real problem. --rsteib
(
or
(
setq
match
(
assoc-string
spec
units
t
))
(
error
"Bad format specifier: `%s'"
spec
))
(
if
(
assoc-string
spec
usedunits
t
)
...
...
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