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
49f64954
Commit
49f64954
authored
Mar 14, 2008
by
Glenn Morris
Browse files
(holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
parent
6bd7c8eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
lisp/calendar/cal-bahai.el
lisp/calendar/cal-bahai.el
+2
-4
No files found.
lisp/calendar/cal-bahai.el
View file @
49f64954
...
...
@@ -194,8 +194,7 @@ nil if it is not visible in the current calendar window."
(
m
(
extract-calendar-month
bahai-date
))
(
y
(
extract-calendar-year
bahai-date
))
(
date
))
(
if
(
<
m
1
)
nil
; Bahá'í calendar doesn't apply
(
unless
(
<
m
1
)
; Bahá'í calendar doesn't apply
(
increment-calendar-month
m
y
(
-
10
month
))
(
if
(
>
m
7
)
; Bahá'í date might be visible
(
let
((
date
(
calendar-gregorian-from-absolute
...
...
@@ -314,8 +313,7 @@ A value of 0 in any position is a wildcard."
(
m
(
extract-calendar-month
bahai-date
))
(
y
(
extract-calendar-year
bahai-date
))
(
date
))
(
if
(
<
m
1
)
nil
; Bahá'í calendar doesn't apply
(
unless
(
<
m
1
)
; Bahá'í calendar doesn't apply
(
increment-calendar-month
m
y
(
-
10
month
))
(
if
(
>
m
7
)
; Bahá'í date might be visible
(
let
((
date
(
calendar-gregorian-from-absolute
...
...
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