[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Did you already study the handle-shift-selection function?
From: |
ndame |
Subject: |
Did you already study the handle-shift-selection function? |
Date: |
Sun, 4 Aug 2019 21:53:08 +0200 (CEST) |
> Did you already study the handle-shift-selection function?
Thanks, I've taken a look and this seems to solve the issue:
(let ((this-command-keys-shift-translated t))
(call-interactively 'next-line)))))
though I'm wondering why simply adding the caret to the interactive spec
doesn't fix the issue:
(local-set-key (kbd "S-<down>") (lambda ()
(interactive "^")
(if (my-context)
(do 'something 'else)
;; call S-down as usual
(call-interactively 'next-line))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Did you already study the handle-shift-selection function?,
ndame <=