From 7880f616502f64c8b1b3b092ade8876a433aeb12 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Tue, 21 Feb 2023 16:26:11 +0800 Subject: tex: Derive labels and ask for confirmation. * tex-conf.el (reftex-insert-label-flags): Be smarter when inserting labels. --- tex-conf.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tex-conf.el') diff --git a/tex-conf.el b/tex-conf.el index 58940b2..0c90a48 100644 --- a/tex-conf.el +++ b/tex-conf.el @@ -69,6 +69,10 @@ (advice-add #'TeX-pdf-tools-sync-view :override #'durand-TeX-pdf-tools-sync-view-a) +;;; Derive labels and ask for confirmation + +(setq reftex-insert-label-flags (list t t)) + ;;; Correlate (load "/usr/local/share/emacs/site-lisp/auctex/tex.el" nil t) -- cgit v1.2.3-18-g5258