[Top][All Lists]

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

Re: Cycle Org Shift Select

From: Noam Postavsky
Subject: Re: Cycle Org Shift Select
Date: Mon, 9 Nov 2020 15:37:02 -0500

On Mon, 9 Nov 2020 at 15:31, Michael Heerdegen <> wrote:

> But isn't meant to be used in the code?

It's meant like this:

    (defun Org-Shftsel-Cycle ()
      ;; Switches between options to org-support-shift-select
      (setq org-support-shift-select
            (cadr (memq org-support-shift-select '#1=(nil t always . #1#)))))

If you are uncomfortable with the circular syntax, then using '(nil t
always nil) instead, as in my first post, is effectively the same
(i.e., you don't really need a circular list here anyway). I don't
understand your comments about local variables or closures though.

reply via email to

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