unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to load code conditional on uid
@ 2011-11-11 13:33 Harry Putnam
  2011-11-11 14:44 ` Drew Adams
  0 siblings, 1 reply; 9+ messages in thread
From: Harry Putnam @ 2011-11-11 13:33 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.258.1321018489.798.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2011-11-13 23:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11 13:33 how to load code conditional on uid Harry Putnam
2011-11-11 14:44 ` Drew Adams
2011-11-11 15:26   ` Harry Putnam
2011-11-11 15:45     ` Drew Adams
2011-11-11 22:46       ` Harry Putnam
2011-11-12 11:19       ` Harry Putnam
2011-11-12 14:36         ` Drew Adams
2011-11-13 23:14           ` Harry Putnam
     [not found] <mailman.258.1321018489.798.help-gnu-emacs@gnu.org>
2011-11-12  2:40 ` Jason Rumney

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).