diff options
| author | Daiki Ueno <ueno@unixuser.org> | 2008-08-26 03:11:45 +0000 |
|---|---|---|
| committer | Daiki Ueno <ueno@unixuser.org> | 2008-08-26 03:11:45 +0000 |
| commit | a648af17d137f2cfff66c93d15d8747380e2d984 (patch) | |
| tree | c098769578ea4077bdfbb6e4e95fc249b5b47f56 /lisp | |
| parent | 69a8e9bb8ad7b59a5fcfcea2b34d4850c9b91eef (diff) | |
| download | emacs-a648af17d137f2cfff66c93d15d8747380e2d984.tar.gz | |
(epa--key-widget-action): Save the selected window to
make `widget-button-click-moves-point' work. (Bug#733).
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/epa.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b7de6ea0393..832871f7d1d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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) diff --git a/lisp/epa.el b/lisp/epa.el index 2c86c5fdd4c..0f8f25206da 100644 --- a/lisp/epa.el +++ b/lisp/epa.el @@ -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)) |
