[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs lisp confusion using append
From: |
Stefan Monnier |
Subject: |
Re: emacs lisp confusion using append |
Date: |
05 Jun 2003 10:20:24 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> (defun append-path (orig-path path)
> "Appends PATH to ORIG-PATH. PATH is a string and ORIG-PATH is a variable.
> If ORIG-PATH is not defined, returns nil."
> (if (boundp 'orig-path)
> (setq orig-path (append orig-path (list (expand-file-name path))))
> nil))
You're confusing variable names and variable values.
Stefan