1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 22:54:12 +01:00

Fix /<CR>

May further break certain edge-cases on * and # if it detects the current word
as being a "", but they are already broken.
This commit is contained in:
Conrad Irwin
2009-04-02 11:35:15 +01:00
parent 6e1c999934
commit 34669db924

View File

@@ -457,9 +457,9 @@ function Search() //{{{
if (typeof forcedBackward === "boolean")
backwards = forcedBackward;
// use the last pattern if none specified
//Allow /<CR> to work.
if (!command)
command = lastSearchPattern;
return this.findAgain(backwards != lastSearchBackwards)
this.clear();