diff --git a/lisp/net/socks.el b/lisp/net/socks.el index 5079e84ce19..fd8e7ec59f2 100644 --- a/lisp/net/socks.el +++ b/lisp/net/socks.el @@ -247,7 +247,7 @@ If PATTERN is omitted, it defaults to \"[ \\f\\t\\n\\r\\v]+\"." (defun socks-build-auth-list () (let ((num 0) (retval "")) - (mapcar + (mapc (function (lambda (x) (if (fboundp (cdr (cdr x)))