bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1104: pasting a password


From: Andreas Schwab
Subject: bug#1104: 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 <cyd@stupidchicken.com> 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, schwab@suse.de
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."






reply via email to

[Prev in Thread] Current Thread [Next in Thread]