all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* clear minibuffer text wehn open a file
@ 2014-04-08  6:52 tomer
  2014-04-08 15:50 ` Drew Adams
  0 siblings, 1 reply; 2+ messages in thread
From: tomer @ 2014-04-08  6:52 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-08 15:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08  6:52 clear minibuffer text wehn open a file tomer
2014-04-08 15:50 ` Drew Adams

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.