all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: eric_powell <epowell1@med.miami.edu>
To: Help-gnu-emacs@gnu.org
Subject: Re: How to check if cperl-mode.el file is loaded
Date: Mon, 24 May 2010 11:13:09 -0700 (PDT)	[thread overview]
Message-ID: <28659892.post@talk.nabble.com> (raw)
In-Reply-To: <ht4ook$f30$2@dough.gmane.org>



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	other threads:[~2010-05-24 18:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20 21:26 How to check if cperl-mode.el file is loaded eric_powell
2010-05-21  1:48 ` Kevin Rodgers
2010-05-24 18:13   ` eric_powell [this message]
     [not found] <mailman.12.1274390157.10164.help-gnu-emacs@gnu.org>
2010-05-20 23:20 ` Tim X
  -- strict thread matches above, loose matches on Subject: below --
2010-05-20 21:15 Powell, Eric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28659892.post@talk.nabble.com \
    --to=epowell1@med.miami.edu \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.