+2006-11-25 Daiki Ueno <ueno@unixuser.org>
+
+ * epa.el (epa-keys-mode): Don't call widget-setup.
+ (epa-list-keys): Call widget-setup here.
+ (epa-select-keys): Ditto.
+
2006-11-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* epg.el (epg-delete-keys): Remove redundant argument for `error'
truncate-lines t
buffer-read-only t)
(use-local-map epa-keys-mode-map)
- (set-keymap-parent (current-local-map) widget-keymap)
(make-local-variable 'font-lock-defaults)
(setq font-lock-defaults '(epa-font-lock-keywords t))
;; In XEmacs, auto-initialization of font-lock is not effective
;; if buffer-file-name is not set.
(font-lock-set-defaults)
- (widget-setup)
(make-local-variable 'epa-exit-buffer-function)
(run-hooks 'epa-keys-mode-hook))
(point-max)))
(goto-char point))
(epa-insert-keys context name mode)
- (epa-keys-mode))
+ (epa-keys-mode)
+ (widget-setup)
+ (set-keymap-parent (current-local-map) widget-keymap))
(make-local-variable 'epa-list-keys-arguments)
(setq epa-list-keys-arguments (list name mode protocol))
(goto-char (point-min))
(epa-mark)))
(epa-insert-keys context nil nil)))
(epa-keys-mode)
+ (widget-setup)
+ (set-keymap-parent (current-local-map) widget-keymap)
(setq epa-exit-buffer-function #'abort-recursive-edit)
(goto-char (point-min))
(pop-to-buffer (current-buffer)))