Skip to content
Browse files

added plcmp-acmd-open-module-file to open module source file.

  • Loading branch information...
1 parent f2ec91b commit 5c38b2f89cf2d1fe7ac38adbd15690c5bb9a9a3b @hirose31 hirose31 committed Apr 13, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 perl-completion.el
View
5 perl-completion.el
@@ -474,6 +474,7 @@ directory is added to PERL5LIB when invoke completion commands."
(define-key map (kbd "J") 'scroll-other-window)
(define-key map (kbd "K") 'scroll-other-window-down)
(define-key map (kbd "L") 'plcmp-acmd-persistent-look)
+ (define-key map (kbd "M") 'plcmp-acmd-open-module-file)
(set-keymap-parent map anything-map)
map))
@@ -2042,6 +2043,10 @@ otherwise
(interactive)
(anything-execute-persistent-action))
+(defun plcmp-acmd-open-module-file ()
+ (interactive)
+ (plcmp-re-select-action "^Open module file"))
+
(defun plcmp-acmd-goto-looking-point (&optional pop-to-buffer)
(interactive "P")
(lexical-let ((looking-point (first plcmp-look-current-positions))

0 comments on commit 5c38b2f

Please sign in to comment.
Something went wrong with that request. Please try again.