[Top][All Lists]

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

About the `:variable' keyword in `define-minor-mode'

From: Xue Fuqiao
Subject: About the `:variable' keyword in `define-minor-mode'
Date: Thu, 14 Feb 2013 22:37:35 +0800

In the docstring of `define-minor-mode':

  :variable PLACE [...]
                PLACE can also be of the form (GET . SET), where GET is
                an expression that returns the current state, and SET
                is a function that takes one argument, the new state,
                and sets it.

I don't understand the meaning of GET.  The docstring says it returns
the current state, but where will it return?

Best regards, Xue Fuqiao.

reply via email to

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