Skip to content

Commit

Permalink
Merge pull request #114 from TxGVNN/fix/first-function
Browse files Browse the repository at this point in the history
first is obsolete since 27.1; use cl-first instead.
  • Loading branch information
sigma authored Aug 25, 2023
2 parents a1eee4c + 46affe4 commit b5a8d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-profile.el
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ to here."
(defun gh-profile-completing-read ()
(let ((profiles (mapcar #'car gh-profile-alist)))
(if (> (length profiles) 1)
(completing-read "Github profile: " profiles nil t nil nil (first profiles))
(completing-read "Github profile: " profiles nil t nil nil (cl-first profiles))
(car profiles))))

(defun gh-profile-get-remote-profile (remote-url)
Expand Down

0 comments on commit b5a8d82

Please sign in to comment.