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

Add "ebbd" as a completing read option for delegating #113

Open
Trevoke opened this issue Feb 18, 2023 · 0 comments
Open

Add "ebbd" as a completing read option for delegating #113

Trevoke opened this issue Feb 18, 2023 · 0 comments

Comments

@Trevoke
Copy link
Owner

Trevoke commented Feb 18, 2023

From #112

(completing-read "Delegate to: " (mapcar 'car (max/ebdb-contacts)) nil t)

as prompt with

(defun max/ebdb-contacts()
  (mapcar (lambda (rec)
            (let* ((name (ebdb-record-name-string rec))
                   (uuid (ebdb-record-uuid rec)))
              (cons name uuid)))
          (ebdb-records)))

One could simplify it I guess but I use the max/ebdb-contacts function in other places too

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