Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of "1.6.6 Functions with Property List argument" need to be corrected #27

Open
vsquare-code opened this issue Apr 28, 2022 · 0 comments

Comments

@vsquare-code
Copy link

vsquare-code commented Apr 28, 2022

(defun make-shell-interface (&rest params)
 
 ;;<snip>
  (let
       ((name   (plist-get params :name ))
        (type   (plist-get params :type))
        (path   (plist-get params :path))
        (buffer (plist-get params :buffer)))
    (list
     (cons 'name buffer) ;; <== should be (cons 'name name)
     (cons 'type type)
     (cons 'path path)
     (cons 'buffer buffer))))

Change the following line from

(cons 'name buffer)

to

(cons 'name name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant