codingteam / pacmacs.el

Pacman for Emacs
Other
91 stars 9 forks source link

Use push instead of add-to-list wherever it's possible #182

Closed rexim closed 8 years ago

rexim commented 8 years ago

Add ELEMENT to the value of LIST-VAR if IT ISN'T THERE YET. ... This is handy to add some elements to configuration variables, but please do not abuse it in Elisp code, where you are usually better off using push or cl-pushnew.