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: Emanuel Berg
Subject: Re: Setting keybinding for org-support-shift-select t
Date: Sun, 04 Oct 2020 13:34:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

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]