(epa--key-widget-action): Save the selected window to

make `widget-button-click-moves-point' work.  (Bug#733).
This commit is contained in:
Daiki Ueno 2008-08-26 03:11:45 +00:00
parent 69a8e9bb8a
commit a648af17d1
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-08-26 Daiki Ueno <ueno@unixuser.org>
* epa.el (epa--key-widget-action): Save the selected window to
make `widget-button-click-moves-point' work. (Bug#733).
2008-08-26 Glenn Morris <rgm@gnu.org>
* progmodes/gud.el (tramp-file-name-localname)

View file

@ -269,7 +269,8 @@ You should bind this variable with `let', but do not set it globally.")
:help-echo 'epa--key-widget-help-echo)
(defun epa--key-widget-action (widget &optional event)
(epa--show-key (widget-get widget :value)))
(save-selected-window
(epa--show-key (widget-get widget :value))))
(defun epa--key-widget-value-create (widget)
(let* ((key (widget-get widget :value))