diff options
author | Tom Willemse | 2013-06-02 13:56:07 +0200 |
---|---|---|
committer | Tom Willemse | 2013-06-02 13:56:07 +0200 |
commit | 68fa015bf7f01dec7d87eefb6c0d70f24edca30c (patch) | |
tree | 186ad8ed1aabeb265de0d2249d3448657296d6c4 /icons/go.xpm | |
parent | efefc5ee589f29d6951c7cba8850d4723965a4ac (diff) | |
download | mode-icons-68fa015bf7f01dec7d87eefb6c0d70f24edca30c.tar.gz mode-icons-68fa015bf7f01dec7d87eefb6c0d70f24edca30c.zip |
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.
Diffstat (limited to 'icons/go.xpm')
0 files changed, 0 insertions, 0 deletions