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
d5b213cc
Commit
d5b213cc
authored
Apr 06, 2003
by
Richard M. Stallman
Browse files
(cal-menu-update): Use easy-menu-create-menu rather than easy-menu-change.
parent
90c1e36a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/calendar/cal-menu.el
lisp/calendar/cal-menu.el
+2
-1
No files found.
lisp/calendar/cal-menu.el
View file @
d5b213cc
...
...
@@ -202,7 +202,8 @@ not available."
(
setq
l
(
cons
[
"Mark Holidays"
mark-calendar-holidays
t]
(
cons
[
"Unmark Calendar"
calendar-unmark
t]
(
cons
[
"--"
'
(
"--"
)
t]
l
))))
(
easy-menu-change
nil
"Holidays"
(
nreverse
l
))
(
define-key
calendar-mode-map
[menu-bar
Holidays]
(
cons
"Holidays"
(
easy-menu-create-menu
"Holidays"
(
nreverse
l
))))
(
define-key
calendar-mode-map
[menu-bar
Holidays
separator]
'
(
"--"
))
(
define-key
calendar-mode-map
[menu-bar
Holidays
today]
...
...
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