[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to load code conditional on uid
From: |
Harry Putnam |
Subject: |
how to load code conditional on uid |
Date: |
Fri, 11 Nov 2011 07:33:58 -0600 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Can anyone shoe an example making the loading of specific code,
conditional on the users ID?
For an example, maybe something like a list of load path additions,
perhaps the equivalent of what you would do with shell type coding,
only in elisp:
if you are specific uid; then ## load theses paths
(add-to-list 'load-path "/usr/local/src/vcs/cvs/bbdb")
(add-to-list 'load-path "/usr/local/src/vcs/cvs/bbdb/lisp")
fi
- how to load code conditional on uid,
Harry Putnam <=
- RE: how to load code conditional on uid, Drew Adams, 2011/11/11
- Re: how to load code conditional on uid, Harry Putnam, 2011/11/11
- RE: how to load code conditional on uid, Drew Adams, 2011/11/11
- Re: how to load code conditional on uid, Harry Putnam, 2011/11/11
- Re: how to load code conditional on uid, Harry Putnam, 2011/11/12
- RE: how to load code conditional on uid, Drew Adams, 2011/11/12
- Re: how to load code conditional on uid, Harry Putnam, 2011/11/13