[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pasting a password
From: |
Andreas Schwab |
Subject: |
Re: pasting a password |
Date: |
Sun, 16 Nov 2008 09:38:08 +0100 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> --- 1818,1845 ----
> (setq c (read-char-exclusive nil t))
> (and (/= c ?\r) (/= c ?\n) (/= c ?\e)))
> (clear-this-command-keys)
> ! (cond ((= c ?\C-u)
> ! (and (arrayp pass) (clear-string pass))
> ! (setq pass ""))
> ! ((memq (key-binding (vector c))
> ! '(yank yank-pop))
That does not work for yank-pop since the default binding is not a
single character one.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."