help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defvaralias


From: Charles philip Chan
Subject: Re: defvaralias
Date: Fri, 05 Aug 2005 19:21:21 -0400
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On  5 Aug 2005, address@hidden wrote:

> i did install emacwiki (i.e. untarred and gunzipped the package and
> then put in my .emacs where to find the package and require the
> package)...

What is the ouput of C-hv emacs-wiki-default-page? It should return
WelcomePage, if emacs-wiki is setup properly. Does your Wiki directory
exist? Have you customized it? You can use customize-group: the group
name is emacs-wiki.

> in fact in my first work around taken from someone's post i simply
> blanked out defvaralias but when it tried to save the default page it
> returned a wrong argument error.

The problem is somewhere else since there is no way your copy of emacs
doesn't have defvaralias because it is a built in function:

,----[ defvaralias ]
| defvaralias is a built-in function in `C source code'.
| (defvaralias NEW-ALIAS BASE-VARIABLE &optional DOCSTRING)
| 
| Make NEW-ALIAS a variable alias for symbol BASE-VARIABLE.  Setting the
| value of NEW-ALIAS will subsequently set the value of BASE-VARIABLE, and
| getting the value of NEW-ALIAS will return the value BASE-VARIABLE has.
| Third arg DOCSTRING, if non-nil, is documentation for NEW-ALIAS.  If it
| is omitted or nil, NEW-ALIAS gets the documentation string of
| BASE-VARIABLE, or of the variable at the end of the chain of aliases, if
| BASE-VARIABLE is itself an alias.  The return value is BASE-VARIABLE.
`----

Charles

-- 
"Oh, I've seen copies [of Linux Journal] around the terminal room at The
Labs."
(By Dennis Ritchie)

Attachment: pgpvZPTXshfZS.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]