all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tomer <tomer1levin@walla.co.il>
To: help-gnu-emacs@gnu.org
Subject: clear minibuffer text wehn open a file
Date: Mon, 7 Apr 2014 23:52:37 -0700 (PDT)	[thread overview]
Message-ID: <7be89e9a-097c-4f69-b412-d6999602ee08@googlegroups.com> (raw)

when load file I want to clear minibuffer text without killing to ring.

I use this code:
global-set-key [(control ?7)] 'tl-delete-line)
(defun tl-delete-line()
(interactive)
(beginning-of-line)
(kill-line)
(insert "/vobs/aaa/DV")
)


I use kill-line which add to the ring.I want to clear the line without saving to ring.
Is is possible ?

Thanks
Tomer


             reply	other threads:[~2014-04-08  6:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08  6:52 tomer [this message]
2014-04-08 15:50 ` clear minibuffer text wehn open a file Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7be89e9a-097c-4f69-b412-d6999602ee08@googlegroups.com \
    --to=tomer1levin@walla.co.il \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.