1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-02 22:25:45 +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") if (typeof forcedBackward === "boolean")
backwards = forcedBackward; backwards = forcedBackward;
// use the last pattern if none specified //Allow /<CR> to work.
if (!command) if (!command)
command = lastSearchPattern; return this.findAgain(backwards != lastSearchBackwards)
this.clear(); this.clear();