]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/eudc.el (eudc-menu): Use proper closures
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 18 May 2021 23:06:54 +0000 (19:06 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 18 May 2021 23:06:54 +0000 (19:06 -0400)
lisp/net/eudc.el

index c112d2733096d8a76d26fc3a4c537445594ec383..425217cf65c1aa2fe06092c277e900aed2dfb649 100644 (file)
@@ -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