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
f860383b
Commit
f860383b
authored
Nov 24, 2007
by
Mark A. Hershberger
Browse files
Fix holiday menu bug
parent
b58a65fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
lisp/calendar/cal-menu.el
lisp/calendar/cal-menu.el
+5
-7
No files found.
lisp/calendar/cal-menu.el
View file @
f860383b
...
...
@@ -95,13 +95,11 @@
,@
(
let
((
l
()))
;; Show 11 years--5 before, 5 after year of middle month.
(
dotimes
(
i
11
)
(
push
(
vector
"For Year"
`
(
lambda
()
(
interactive
)
(
holiday-list
(
+
displayed-year
,
(
-
i
5
))
(
+
displayed-year
,
(
-
i
5
))))
:suffix
`
(
number-to-string
(
+
displayed-year
,
(
-
i
5
))))
l
))
(
let
((
y
(
+
2007
-5
i
)))
(
push
(
vector
(
format
"For Year %s"
y
)
(
list
(
list
'lambda
'nil
'
(
interactive
)
(
list
'list-holidays
y
y
))))
l
)))
(
nreverse
l
))
"--"
[
"Unmark Calendar"
calendar-unmark]
...
...
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