From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: emacs lisp confusion using append
Date: 05 Jun 2003 10:20:24 -0400 [thread overview]
Message-ID: <5l3ciohahj.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: 8a8yshqmcf.fsf@sm.intel.com
> (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
prev parent reply other threads:[~2003-06-05 14:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-05 2:39 emacs lisp confusion using append Balaji Venkataraman
2003-06-05 6:53 ` David Kastrup
2003-06-05 14:20 ` Stefan Monnier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5l3ciohahj.fsf@rum.cs.yale.edu \
--to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).