mirror of
https://github.com/SqrtMinusOne/lyrics-fetcher.el.git
synced 2025-12-10 08:53:04 +03:00
fix: pass correct query
the original method always passes unmodified query regardless of the value of 'edit'
This commit is contained in:
parent
f0212bea83
commit
61d4d25f71
1 changed files with 3 additions and 3 deletions
|
|
@ -113,9 +113,9 @@ When EDIT is non-nil, edit the query in minibuffer before search."
|
|||
|
||||
(defun lyrics-fetcher-genius--maybe-edit-query (query edit)
|
||||
"If EDIT is non-nil, edit QUERY in minibuffer."
|
||||
(when edit
|
||||
(read-from-minibuffer "Query: " query))
|
||||
query)
|
||||
(if edit
|
||||
(read-from-minibuffer "Query: " query)
|
||||
query))
|
||||
|
||||
(defun lyrics-fetcher-genius--format-query (track)
|
||||
"Format track to genius.com query.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue