From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: org-store-link without having to press Enter? Date: Tue, 14 Jan 2014 22:05:36 +0100 Message-ID: <86k3e2clzz.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, I'd like to use org-store-link in a piece of code. However, it currently requires the user to select some link from a list of store links. If I always want to select the last one -- that is, the default option --, how can I bypass the required RET? I can do this: (execute-kbd-macro "\C-c\C-l\C-m") But I find it fragile because it relies on key bindings which could change in time. How could I do otherwise? Best regards, Seb -- Sebastien Vauban