Show icons instead of mode names
Find a file
Tom Willemse 68fa015bf7 Cleanup code
- Enable `lexical-binding'.

- Remove `mode-icons--load-file-name' and add `mode-icons--directory'.
  The directory is what is needed and when developing inside Emacs the
  `load-file-name' variable isn't available. So now this variable
  defaults to `default-directory' when being evaluated in a buffer.

- Add/improve docstrings.

- Simplify `mode-icons'. Don't specify the entire image specification,
  but just enough for the rest of the code to figure out how to create
  this specification. `get-icon-display' is then used to create the
  image specification.

- Shorten the `set-mode-icon' function.
2013-06-02 13:56:07 +02:00
icons Add icon for org-mode 2013-03-23 15:19:50 +01:00
scripts Add Makefile with dist rule 2012-11-11 03:01:29 +01:00
.gitignore Ignore dist files 2012-11-11 03:12:42 +01:00
Makefile No need for the -j flag 2012-11-11 03:05:52 +01:00
mode-icons.el Cleanup code 2013-06-02 13:56:07 +02:00
README.md Update README 2012-11-11 03:11:34 +01:00

Mode-icons

Show icons instead of mode names in emacs.

Modes that have icons instead of names now:

  • Emacs-Lisp
  • Python
  • Scheme
  • Lisp
  • PHP
  • HTML

Installation

To install use either method:

package.el

If you have Emacs 24 or package.el installed manually you can just create the tar file and use package-install-file to install it.

Create the tar file

Use make dist to create the tar file needed for package.el.

manually

Place mode-icons.el somewhere in your load-path and copy the icons/ directory there as well. Then require mode-icons in your Emacs init file.