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

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

Re: python-mode broken - zip and git issues


From: Tim Johnson
Subject: Re: python-mode broken - zip and git issues
Date: Sun, 1 Feb 2015 08:08:37 -0900
User-agent: Mutt/1.4.2.3i

* Drew Adams <address@hidden> [150201 07:11]:
> > Don't use symbol-name on major-mode.  Just use the symbol itself.
> > E.g. instead of (equal "foo-mode" (symbol-name major-mode)), you can
> > test (equal 'foo-mode major-mode).
> 
> Or (eq 'foo-mode major-mode).
  Thanks. Great tip guys. 
  
  Didn't know that equal/eq worked on symbols. (help is my friend) 

-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com



reply via email to

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