Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!brunix!doorknob!jak From: jak@cs.brown.edu (Jak Kirman) Newsgroups: comp.emacs Subject: Complex documentation strings Message-ID: Date: 28 Dec 90 21:45:13 GMT Sender: news@brunix.UUCP Reply-To: jak@cs.brown.edu Organization: Department of Computer Science, Brown University Lines: 25 Distribution: [Apologies to local users for the repost; gnus uses local as the default distribution. Sigh] Using gnuemacs 18.55, I often want to do the following sort of thing: (defun foo-plus () (concat (documentation 'foo) " added some functionality") ;... ) However, it seems that unless the documentation string is a literal, emacs does not take it as the documentation. It is fairly easy to imagine wanting documentation strings depending on some run-time variable such as the machine or window-system type, in which case hardwiring the string would not be appropriate at all. Does anyone know of any way around this problem? Jak jak@cs.brown.edu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If addiction is judged by how long a dumb animal will sit pressing a lever to get a "fix" of something, to its own detriment, then I would conclude that netnews is far more addictive than cocaine. -- Rob Stampfli