* Nameless --- /less is more/
*Hide package namespaces in your emacs-lisp code.*
- Simply put, turn on this minor mode, and you’ll see this
- [[file:example-nameless-on.png]]\\
- instead of this
- [[file:example-nameless-off.png]]
+ Simply put, turn on this minor mode, and the namespace prefix of the
+ package you’re editing will be hidden by a ~:~. Here’s a comparison.
+ The image to the *left* is what you normally see. The image to
+ the *right* has ~nameless-mode~ turned on.\\
+ [[file:example-nameless.png]]
** Usage
;; Author: Artur Malabarba <emacs@endlessparentheses.com>
;; Keywords: convenience, lisp
- ;; Version: 0.3
+ ;; Version: 0.3.1
;; Package-Requires: ((emacs "24.4"))
;; This program is free software; you can redistribute it and/or modify
:type '(alist string string))
(defvar nameless-aliases nil
- "Alist from namespaces to aliases.
- Samse syntax as `nameless-global-aliases', but designed to be
- used as a file-local variable.")
+ "Alist from aliases to namespaces.
+ This variable takes the same syntax and has the same effect as
+ `nameless-global-aliases'. Aliases set here take priority over
+ those in `nameless-global-aliases'.
+ This variable is designed to be used as a file-local or dir-local
+ variable.")
(defface nameless-face
'((t :inherit font-lock-type-face))