Skip to content

Commit

Permalink
buffer: Remove obsolete actions-on-return.
Browse files Browse the repository at this point in the history
The assignment of this action is a no-op since the actions for these sources are
re-defined elsewhere.

Also, setting buffer-load as an action-on-return is not valid.  See buffer-load*
for the action that is valid.
  • Loading branch information
aadcg committed Feb 7, 2023
1 parent d115fbe commit f76dc47
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/buffer.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ URL-DESIGNATOR is then transformed by BUFFER's `buffer-load-hook'."
(history-initial-suggestions)))
(prompter:enable-marks-p t)
(prompter:filter-preprocessor nil) ; Don't remove non-exact results.
(prompter:actions-on-return #'buffer-load))
)
(:export-class-name-p t)
(:metaclass user-class))

Expand Down Expand Up @@ -1620,8 +1620,7 @@ Finally, if nothing else, set the `engine' to the `default-search-engine'."))
(declare (ignore suggestions source))
(input->queries input
:check-dns-p t
:engine-completion-p t)))
(prompter:actions-on-return #'buffer-load))
:engine-completion-p t))))
(:export-class-name-p t)
(:documentation "This prompter source tries to \"do the right thing\" to
generate a new URL query from user input.
Expand Down

0 comments on commit f76dc47

Please sign in to comment.