瀏覽代碼

Active ecb advice

Carsten Dominik 16 年之前
父節點
當前提交
ea52c4d6dc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -17344,7 +17344,7 @@ To get rid of the restriction, use \\[org-agenda-remove-restriction-lock]."
 
 ;; Make sure ecb shows the location if it was hidden
 (eval-after-load "ecb"
-  '(defadvice ecb-method-clicked (after esf/org-show-context)
+  '(defadvice ecb-method-clicked (after esf/org-show-context activate)
      "Make hierarchy visible when jumping into location from ECB tree buffer."
      (if (eq major-mode 'org-mode)
 	 (org-show-context))))