Rudolf Adamkovič <salu...@me.com> writes: > From 7bc8e913af0972f0d6119e45d4ecaf80835f2277 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= <salu...@me.com> > Date: Sun, 10 Dec 2023 00:51:31 +0100 > Subject: [PATCH] org-link: Prettify 'org-insert-link' > > * lisp/ol.el (org-insert-link): Update the UI with text that is (1) > shorter, to avoid line breaks, (2) more standard, to match other Emacs > commands, and (3) more readable, with propertized key bindings. Also, > show the default link in the minibuffer, as seen elsewhere in Emacs.
Thanks for the update! > + (concat "Insert link" > + (if-let ((default (caar org-stored-links))) > + (format " [default %s]" default) > + "") > + ": ") You can just use `org-format-prompt'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>