[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Remove redundant "Select link" prompt in C-c C-o
From: |
Bastien |
Subject: |
[Orgmode] Remove redundant "Select link" prompt in C-c C-o |
Date: |
Tue, 08 Sep 2009 07:35:43 +0800 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Since the minibuffer already prompts the user to select a link
when C-c C-o triggers a choice, no need to prompt this again in
the temporary window.
Objections?
diff --git a/lisp/org.el b/lisp/org.el
index b58cacc..39ef466 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8094,7 +8094,6 @@ there is one, offer it as link number zero."
(save-window-excursion
(delete-other-windows)
(with-output-to-temp-buffer "*Select Link*"
- (princ "Select link\n\n")
(mapc (lambda (l)
(if (not (string-match org-bracket-link-regexp l))
(princ (format "[%c] %s\n" (incf cnt)
--
Bastien
- [Orgmode] Remove redundant "Select link" prompt in C-c C-o,
Bastien <=