1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 06:52:28 +01:00

Fix now spurious :autocmd examples.

--HG--
branch : mode-refactoring
This commit is contained in:
Kris Maglione
2010-10-09 12:56:05 -04:00
parent 08ed30f07a
commit 0d3c9bd613
2 changed files with 7 additions and 7 deletions

View File

@@ -271,7 +271,9 @@ const Buffer = Module("buffer", {
statusline.updateUrl();
statusline.updateProgress();
autocommands.trigger("LocationChange", { url: buffer.URL });
util.timeout(function () {
autocommands.trigger("LocationChange", { url: buffer.URL });
});
// if this is not delayed we get the position of the old buffer
util.timeout(function () {