Re: jde + hippie

Jason Rumney <[email protected]> Fri, 22 Sep 2006 16:51:20 +0100
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
James Ahlborn wrote:
>                    (setq hippie-expand-try-functions-list
>                          (append '(jdeh-try-expand-partially-fast
>                                    jdeh-try-expand-fast)
>                                  hippie-expand-try-functions-list
>                                  '(jdeh-try-expand)))
>                          )
You may want to look at add-to-list. The syntax comes out much more 
readable than using append for this type of operation, also it avoids 
adding duplicates:

(add-to-list 'hippie-expand-try-functions-list jdeh-try-expand-fast)
(add-to-list 'hippie-expand-try-functions-list 
jdeh-try-expand-partially-fast)
(add-to-list 'hippie-expand-try-functions-list jdeh-try-expand t)