help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to check if cperl-mode.el file is loaded


From: eric_powell
Subject: Re: How to check if cperl-mode.el file is loaded
Date: Mon, 24 May 2010 11:13:09 -0700 (PDT)


Kevin Rodgers-2 wrote:
> 
> eric_powell wrote:
> 
>> On a side note, in my .emacs file, I notice that if I put the require
>> statement after the ‘add-to-list’ command that I get an error: ‘error:
>> "Invalid escape character syntax"’.  That doesn’t seem right to me, but
>> when
>> I switched the order of the two it went away, so I left it like that.
>> 
>> Here is my .emacs file: 
>> 
>> ####################################################################################
>> ;; .emacs
>> (require 'cperl-mode)
>> (add-to-list 'load-path "~/elisp")
> ...
> 
> M-x list-load-path-shadows
> 
> -- 
> Kevin Rodgers
> Denver, Colorado, USA
> 
> 
> 
> 

Fantastic!  Thanks, Kevin.  I ran that command and I got this (below), so I
guess it is loaded even though that isn't reflected in the M-x cperl-version
command.

#################################################
~/elisp/cperl-mode hides /usr/share/emacs/21.4/lisp/progmodes/cperl-mode

1 Emacs Lisp load-path shadowing was found
#################################################

-- 
View this message in context: 
http://old.nabble.com/How-to-check-if-cperl-mode.el-file-is-loaded-tp28626296p28659892.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]