Commit graph

116 commits

Author SHA1 Message Date
rho
eb94d3c50b clean up 2015-12-23 22:54:15 +05:45
krazedkrish
6543a19968 adds sass icon for SCSS mode 2015-12-23 16:05:22 +05:45
krazedkrish
6d838c9ba5 coffee haml sass slim yaml mode icons 2015-12-23 15:41:44 +05:45
krazedkrish
5ad6e6eb5c adds ruby icon 2015-12-23 11:57:18 +05:45
rho
98ff5f3080 adding more mode icons 2015-12-21 16:04:20 +05:45
cbf412d0c4 Change copyright year 2013-06-02 14:48:00 +02:00
fe438f83e1 Change name/email add URL 2013-06-02 14:45:06 +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
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
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