From baed0db3b11578be2f220dcfac4bd40676eab054 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 18 Dec 2022 13:40:05 +0200 Subject: [PATCH] * (sweeprolog-menu): add entry for sweeprolog-infer-indent-style --- sweeprolog.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sweeprolog.el b/sweeprolog.el index f806209..e444867 100644 --- a/sweeprolog.el +++ b/sweeprolog.el @@ -461,7 +461,10 @@ non-terminals)." sweeprolog-document-predicate-at-point (and (eq major-mode 'sweeprolog-mode) (sweeprolog-definition-at-point)) ] - [ "Update autoload directives" sweeprolog-update-dependencies t ] + [ "Update Autoload Directives" sweeprolog-update-dependencies + (eq major-mode 'sweeprolog-mode) ] + [ "Infer Indentation Style" sweeprolog-infer-indent-style + (eq major-mode 'sweeprolog-mode) ] "--" [ "Open top-level" sweeprolog-top-level t ] [ "Signal top-level" -- 2.39.2