Commit graph

22 commits

Author SHA1 Message Date
krazedkrish
4e4edbf21a adds infruby and rails icon 2016-01-18 13:16:06 +05:45
krazedkrish
6fe4d8f2f7 adds term icon 2016-01-14 15:18:19 +05:45
krazedkrish
19c761335d adds xml icon 2016-01-14 14:06:22 +05:45
rho
cc8f7bf0bd fix for web-mode/html 2016-01-11 16:01:52 +05:45
rho
54d967e0fa icons updates 2016-01-06 11:34:14 +05:45
rho
c5b41fa9b8 adding yas icon 2015-12-24 11:24:38 +05:45
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