[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
clear minibuffer text wehn open a file
From: |
tomer |
Subject: |
clear minibuffer text wehn open a file |
Date: |
Mon, 7 Apr 2014 23:52:37 -0700 (PDT) |
User-agent: |
G2/1.0 |
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
- clear minibuffer text wehn open a file,
tomer <=