aboutsummaryrefslogtreecommitdiffstats
path: root/README.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-06-02 13:56:07 +0200
committerGravatar Tom Willemse2013-06-02 13:56:07 +0200
commit68fa015bf7f01dec7d87eefb6c0d70f24edca30c (patch)
tree186ad8ed1aabeb265de0d2249d3448657296d6c4 /README.org
parentefefc5ee589f29d6951c7cba8850d4723965a4ac (diff)
downloadmode-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 'README.org')
0 files changed, 0 insertions, 0 deletions