Commit graph

268 commits

Author SHA1 Message Date
2017ef6a75 Remove erroneous assumption from README 2013-06-02 14:33:26 +02:00
2aef75d781 Run set-current-mode-icon when starting
Otherwise the currently visited buffer will not have the correct mode
icon set.
2013-06-02 14:29:47 +02:00
4252201783 Fix auto load
`mode-icons-mode' is now the main entry point for mode-icons, not
`set-current-mode-icon'.
2013-06-02 14:27:32 +02:00
48844b47e9 Add usage instructions 2013-06-02 14:16:13 +02:00
7abc02827e Replace README.md with README.org 2013-06-02 14:14:58 +02:00
1e8fcc4982 Add minor-mode
The `mode-icons-mode' minor-mode enables/disables the setting of icons
for each mode.
2013-06-02 14:09:49 +02:00
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
efefc5ee58 Add icon for org-mode 2013-03-23 15:19:50 +01:00
1bf87fee9a Add autoload cookie, remove hook
The hook should be set in the user's init file, not in the source
file.
2012-12-05 00:52:44 +01:00
5e0c221d58 Ignore dist files 2012-11-11 03:12:42 +01:00
e2fa1e1730 Update README 2012-11-11 03:11:34 +01:00
19edd6f6e2 No need for the -j flag
It was wrong anyway
2012-11-11 03:05:52 +01:00
33c13e26cd Add Makefile with dist rule
Makes for easy creation of the tar file.
2012-11-11 03:01:29 +01:00
fe21f0f03f Add .gitignore 2012-11-10 23:26:17 +01:00
95e438e2ce Add README 2012-11-10 23:25:57 +01:00
96c183a279 Add version header 2012-11-10 23:21:46 +01:00
38f80a3890 Add icons and load them from here 2012-11-10 23:17:42 +01:00
1f62fb182c Initial commit 2012-11-10 23:12:36 +01:00