branch: elpa/powershell
commit 7feddfc9ea073b374575c67a10692b7bfc35907b
Merge: 348560747fb b855dc4031b
Author: Joe Schafer <[email protected]>
Commit: Joe Schafer <[email protected]>

    Merge pull request #14 from wasamasa/bugfix-remove-which-func
    
    Don't activate which-function-mode automatically
---
 powershell.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/powershell.el b/powershell.el
index 6856f6fa873..fc5bcc90f0d 100644
--- a/powershell.el
+++ b/powershell.el
@@ -725,9 +725,7 @@ Where <fcn-name> is the name of the function to which 
<helper string> applies.
     ;; imenu doc says these are buffer-local by default
     (setq imenu-generic-expression powershell-imenu-expression)
     (setq imenu-case-fold-search nil)
-    (imenu-add-menubar-index)
-    (when (require 'which-func nil t)
-      (which-function-mode t))))
+    (imenu-add-menubar-index)))
 
 (when (require 'speedbar nil t)
   (declare-function speedbar-add-supported-extension "speedbar")

Reply via email to