[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: python-mode broken - zip and git issues
From: |
Stefan Monnier |
Subject: |
Re: python-mode broken - zip and git issues |
Date: |
Sun, 01 Feb 2015 09:38:22 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> major-mode it is
> and a similar check can be done using (symbol-name major-mode)
> cheers
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).
As for Python mode, you might also like to try the built-in python-mode
that comes bundled with Emacs.
Stefan
- Re: python-mode broken - zip and git issues,
Stefan Monnier <=