fr07+@andrew.cmu.edu (Frank Ritter) (02/09/89)
I'm changing a local mode (soar-mode) by adding some new functions. I
would like to append some comments to the help for that mode without
redefining the mode, which I currently assume would work.
If emacslisp was common lisp, I would do the following:
(setf (documentation 'soar-mode 'function)
(concatenate (documentation 'soar-mode 'function) new-soar-mode-documentation-string))
The closest I can get is:
;; doesn't need 'function and uses concat[enation]
(set (documentation 'soar-mode)
(concat (documentation 'soar-mode) new-soar-mode-documentation-string))
This dies with set not taking references, and setf not existing.
Is there a way to do this, i.e. is there a way to set documentation strings?
On a higher level, the gnu-emacs manual has nowhere near this level of detail,
and I know it's not like common, should I be looking at a franz or maclisp as a guide?
Thanks,
Frank Ritter@psy.cmu.edu
post to me, or to the net