Hi,
I just installed Devel::PerlySense 0.0180.
I have put the following in my .emacs file:
; PerlySense
(load "~/perly-sense")
(global-unset-key "\C-p")
(global-set-key (kbd "\C-p \C-d") 'perly-sense-smart-docs-at-point)
(global-set-key (kbd "\C-p \C-g") 'perly-sense-smart-go-to-at-point)
But, now whenever I try to load a Perl file in emacs, I get the following error prior to it getting loaded:
error "Key sequence C-p m f starts with non-prefix key C-p"
How can I fixed this? I'm new to emacs, so would really appreciate any help in this regard.
Update:
The link submitted by ysth suggests, doing the following :
(use-local-map (make-sparse-keymap))
=> nil
(local-set-key "\C-p" ctl-x-map)
=> nil
(key-binding "\C-p\C-f")
=> find-file
(key-binding "\C-p6")
=> nil
Now, do i need to add this to my .emacs file to create the keymap?
When i add the above code to .emacs and start emacs the error i get is :
void-variable =>
What can be the problem here ?