瀏覽代碼

do not echo tab info when page has not prepared yet

pull/1/head
10sr 11 年之前
父節點
當前提交
672cb0b990
共有 2 個檔案被更改,包括 6 行新增2 行删除
  1. +5
    -1
      _keysnail.js
  2. +1
    -1
      emacs.el

+ 5
- 1
_keysnail.js 查看文件

@@ -261,7 +261,11 @@ var echoTabInfo = (function(){
}

function __display(msg){
display.echoStatusBar(msg);
var doc = content ? content.document : document;
var dBody = doc.body;
if (dBody && !util.isFrameSetWindow(content)) {
display.echoStatusBar(msg);
}
}

function echo(){


+ 1
- 1
emacs.el 查看文件

@@ -1114,7 +1114,7 @@ If called intearctively, find word at point."
(add-to-list 'load-path
d)))

(when (lazy-load-eval 'gtags '(gtags-mode))
'(when (lazy-load-eval 'gtags '(gtags-mode))
(add-hook 'gtags-mode-hook
(lambda ()
(setq gtags-select-buffer-single t)


Loading…
取消
儲存