mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 00:51:50 -08:00
* lisp/net/eudc.el (eudc-menu): Use proper closures
This commit is contained in:
parent
e61bb6f6fe
commit
db8266b0b2
1 changed files with 6 additions and 6 deletions
|
|
@ -1108,12 +1108,12 @@ queries the server for the existing fields and displays a corresponding form."
|
|||
proto-name)))
|
||||
(if (not (fboundp command))
|
||||
(fset command
|
||||
`(lambda ()
|
||||
(interactive)
|
||||
(eudc-set-server ,server (quote ,protocol))
|
||||
(message "Selected directory server is now %s (%s)"
|
||||
,server
|
||||
,proto-name))))
|
||||
(lambda ()
|
||||
(interactive)
|
||||
(eudc-set-server server protocol)
|
||||
(message "Selected directory server is now %s (%s)"
|
||||
server
|
||||
proto-name))))
|
||||
(vector (format "%s (%s)" server proto-name)
|
||||
command
|
||||
:style 'radio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue