From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Remove redundant "Select link" prompt in C-c C-o Date: Tue, 08 Sep 2009 07:35:43 +0800 Message-ID: <87hbve2ur4.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MktN3-0006zh-DY for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 01:36:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MktMx-0006xN-TU for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 01:36:00 -0400 Received: from [199.232.76.173] (port=38233 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MktMx-0006xH-Q5 for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 01:35:55 -0400 Received: from mail-bw0-f220.google.com ([209.85.218.220]:38175) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MktMx-0004dk-B1 for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 01:35:55 -0400 Received: by bwz20 with SMTP id 20so321541bwz.42 for ; Mon, 07 Sep 2009 22:35:54 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= 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? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=org.el.patch 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 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--