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

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

Re: Setting keybinding for org-support-shift-select t


From: Christopher Dimech
Subject: Re: Setting keybinding for org-support-shift-select t
Date: Sun, 4 Oct 2020 14:14:11 +0200

Very neat. I like it.

Regards
C*


> Sent: Sunday, October 04, 2020 at 12:34 PM
> From: "Emanuel Berg via Users list for the GNU Emacs text editor" 
> <help-gnu-emacs@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Setting keybinding for org-support-shift-select t
>
> Christopher Dimech wrote:
>
> > How can I construct a keybinding to set
> >
> > org-support-shift-select t
>
> Well, here's a "straight"forward way do it:
>
> (require 'org)
> (define-key org-mode-map "\M-]"
>   (lambda ()
>     (interactive)
>     (let ((vals (list nil t 'always)))
>       (nconc vals vals)
>       (setq org-support-shift-select
>             (cadr (member org-support-shift-select vals)) ))))
>
> :)
>
> --
> underground experts united
> http://user.it.uu.se/~embe8573
> https://dataswamp.org/~incal
>
>
>



reply via email to

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