Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lyskom-elisp-client
lyskom-elisp-client
Commits
478e765a
Commit
478e765a
authored
Oct 08, 1996
by
David Kågedal
Browse files
No commit message
No commit message
parent
b30e8ba2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ChangeLog
View file @
478e765a
...
...
@@ -32,6 +32,8 @@ Tue Oct 8 14:33:24 1996 Niels M
Tue Oct 8 04:44:29 1996 David Kgedal <davidk@lysator.liu.se>
* lyskom-buttons.el (lyskom-make-button-menu): Kopiera listorna.
* lyskom-rest.el: Anropa lyskom-build-menus p toppnivn.
* menus.el (lyskom-background-menu): Ny funktion.
...
...
src/lyskom-buttons.el
View file @
478e765a
...
...
@@ -123,9 +123,11 @@ on such functions see the documentation for lyskom-add-button-action."
(
defun
lyskom-make-button-menu
(
title
entries
)
"Create a menu keymap from a list of button actions."
;; Use the command as the event for simplicity.
;; Use the command as the event for simplicity. Note that the menu
;; function alters the menu, so we copy the entries to prevent it
;; from fiddling with lyskom-button-actions.
(
append
(
list
'keymap
title
)
(
mapcar
'
(
lambda
(
entry
)
(
cons
(
cdr
entry
)
entry
))
(
mapcar
'
(
lambda
(
entry
)
(
cons
(
cdr
entry
)
(
copy-tree
entry
))
)
entries
)))
(
defun
lyskom-button-menu
(
pos
event
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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