In one of my setup files I have this: > (eval-after-load 'ruby-mode > '(add-hook 'ruby-mode-hook (function > (lambda () > (ruby-electric-mode t))))) Other places, I just do the add-hook. The reason I'm asking is because I need to do: > (eval-after-load 'grep > '(add-to-list 'grep-files-aliases (cons "rails" "*.rb *.erb *.js *.css *.scss"))) because if I don't, I get an error that says grep-files-aliases is not defined. It appears as if add-hook has smarts that add-to-list does not have but I wanted to be sure which method was preferred. Thank you, Perry