From c32fc49d3d52069cc857bf53d0bc4a49dbf26066 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 24 Aug 2022 18:17:16 +0200 Subject: [PATCH] Make org-unique-id-maybe interactive --- org-unique-id.el | 1 + 1 file changed, 1 insertion(+) diff --git a/org-unique-id.el b/org-unique-id.el index 4f47b98..9a93835 100644 --- a/org-unique-id.el +++ b/org-unique-id.el @@ -127,6 +127,7 @@ somewhere, i.e. #+OPTIONS: auto-id:t" This function executes `org-unique-id' when the buffer’s major mode is `org-mode', when the buffer is not read-only, and if \\='auto-id:t\\' is found in an #+OPTIONS line." + (interactive) (let ((case-fold-search t)) (when (and (eq major-mode 'org-mode) (eq buffer-read-only nil)