mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 09:03:37 +08:00
remove useless call, fix comment
This commit is contained in:
parent
4b181df254
commit
6c5c0a73eb
|
@ -417,7 +417,7 @@ class reader_data_t : public std::enable_shared_from_this<reader_data_t> {
|
|||
/// Do what we need to do whenever our command line changes.
|
||||
void command_line_changed(const editable_line_t *el);
|
||||
|
||||
/// Do what we need to do whenever our pager selection.
|
||||
/// Do what we need to do whenever our pager selection changes.
|
||||
void pager_selection_changed();
|
||||
|
||||
/// Expand abbreviations at the current cursor position, minus backtrack_amt.
|
||||
|
@ -1606,8 +1606,6 @@ bool reader_data_t::handle_completions(const std::vector<completion_t> &comp,
|
|||
prefix.append(el->text, prefix_start + len - PREFIX_MAX_LEN, PREFIX_MAX_LEN);
|
||||
}
|
||||
|
||||
wchar_t quote;
|
||||
parse_util_get_parameter_info(el->text, el->position, "e, NULL, NULL);
|
||||
// Update the pager data.
|
||||
pager.set_prefix(prefix);
|
||||
pager.set_completions(surviving_completions);
|
||||
|
|
Loading…
Reference in New Issue
Block a user