name of the current mode?

Subject: name of the current mode?
From: Stefan Mintert <mintert@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Nov 1998 20:41:41 +0100

Hi

How can I query the name of the current mode? 

Example:
I enter a mode with
	(with-mode some-mode
		...
	)

Now I want to test the mode in the following way:

	(if (string=? (current-mode-name) "some-mode")
	    ...
	    ...)


Is this possible? How?



Thanks in advance!


Bye,

  Stefan.

+-----------------------------------------------------------+
  Stefan Mintert        
       UniDo:    mintert@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
       private:  stefan@xxxxxxxxxxx
       WWW:      http://www.informatik.uni-dortmund.de/~sm/
+-----------------------------------------------------------+


        "let the music keep our spirits high..."

                                (Jackson Browne)


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread