evil/incf/add-to-list

Maciej Katafiasz mathrick at gmail.com
Thu Dec 19 12:41:30 CET 2013


>> (add-to-list 'load-path "/usr/local/share/emacs/24.3/lisp/emacs-lisp")
>> (require 'cl)
>
> You shouldn't need these lines. (require 'cl-lib) and use cl-incf.

Keep in mind that cl-lib is only available in 24.3 and later, and you
need to get it via GNU ELPA repo for 24.1 and 24.2. That's not that
bad if you only use the code in your .emacs on a single version, but
it can easily trip you over whenever you share code or use slightly
older distros (like ubuntu 13.04).

Cheers,
Maciej



More information about the implementations-list mailing list