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

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

Re: mode-specific paragraph-start


From: Peter Dyballa
Subject: Re: mode-specific paragraph-start
Date: Tue, 11 Dec 2007 22:01:56 +0100


Am 12.12.2007 um 01:24 schrieb tyler:

That didn't quite work, as exists is not a recognized function

Of course! For me it was obvious that I only wrote pseudo code. Sorry, that I did not express this more clearly. Instead of exists: (fboundp SYMBOL) ? (symbol-value SYMBOL) throws an error if not existing ...

The idea is to create a semaphore that shows that you've already done this initialisation, that doing it again can be prevented when the semaphore is queried – common to a few programming languages. I am no Lisp programmer, so I cannot tell what the right approach is. Could be it's best to just check whether the variable already contains (matches) your addition?

--
Greetings

  Pete

A child of five could understand this!  Fetch me a child of five.






reply via email to

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