Permalink
Browse files

Fix help-command bindings.

  • Loading branch information...
1 parent 6bb1db4 commit 602af5f5c457828c294ac58e5a7974c95ba1e436 @milkypostman milkypostman committed Jan 23, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 modules/starter-kit-perl.el
  2. +1 −1 modules/starter-kit-ruby.el
@@ -7,7 +7,7 @@
(define-key cperl-mode-map (kbd "RET") 'reindent-then-newline-and-indent)
(define-key cperl-mode-map (kbd "C-M-h") 'backward-kill-word)))
-(global-set-key (kbd "C-h P") 'perldoc)
+(define-key 'help-command "P" 'perldoc)
(add-to-list 'auto-mode-alist '("\\.p[lm]$" . cperl-mode))
(add-to-list 'auto-mode-alist '("\\.pod$" . pod-mode))
@@ -48,7 +48,7 @@
(define-key ruby-mode-map (kbd "RET") 'reindent-then-newline-and-indent)
(define-key ruby-mode-map (kbd "C-M-h") 'backward-kill-word)))
- (global-set-key (kbd "C-h S-r") 'ri)
+ (define-key 'help-command (kbd "S-r") 'ri)
;; Rake files are ruby, too, as are gemspecs, rackup files, etc.
(add-to-list 'auto-mode-alist '("\\.rake$" . ruby-mode))

0 comments on commit 602af5f

Please sign in to comment.