[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70525: [PATCH] Make auto-reveal customizations easier to extend
From: |
Paul Nelson |
Subject: |
bug#70525: [PATCH] Make auto-reveal customizations easier to extend |
Date: |
Tue, 23 Apr 2024 05:54:51 +0200 |
External packages (e.g., a couple that I've written) may wish to
provide navigation commands that automatically reveal previews and
folds, but auto-reveal behavior is currently controlled by defcustoms,
such as preview-auto-reveal, that are not easily extended:
(defcustom preview-auto-reveal
'(eval (preview-arrived-via (key-binding [left]) (key-binding [right])
#'backward-char #'forward-char))
"...")
I attach a patch that addresses this, without affecting default
behavior, by changing the default value of preview-auto-reveal so that
it refers to a list, (defcustom preview-auto-reveal-commands).
Similarly for TeX-fold-auto-reveal.
Thanks, best,
Paul
0001-Make-auto-reveal-customizations-easier-to-extend.patch
Description: Source code patch
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend,
Paul Nelson <=
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend, Arash Esbati, 2024/04/29
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend, Paul Nelson, 2024/04/29
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend, Arash Esbati, 2024/04/30
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend, Paul Nelson, 2024/04/30
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend, Arash Esbati, 2024/04/30
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend, Paul Nelson, 2024/04/30
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend, Arash Esbati, 2024/04/30
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend, Paul Nelson, 2024/04/30
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend, Arash Esbati, 2024/04/30
- bug#70525: [PATCH] Make auto-reveal customizations easier to extend, Paul Nelson, 2024/04/30