2006-04-26 Daiki Ueno <ueno@unixuser.org>
+ * riece-commands.el (riece-command-save-variables): New command.
+
* riece-epg.el
(riece-epg-passphrase-callback-function-for-decrypt): New
function.
:type '(repeat (list string))
:group 'riece-addon-list)
+(eval-when-compile
+ (autoload 'riece-command-save-variables "riece-commands"))
+
(defvar riece-addon-list-mode-map
(let ((keymap (make-sparse-keymap)))
(define-key keymap "+" 'riece-command-enable-addon)
(define-key keymap " " 'scroll-up)
(define-key keymap [delete] 'scroll-down)
(define-key keymap "q" 'bury-buffer)
+ (define-key keymap "s" 'riece-command-save-variables)
keymap))
(defun riece-load-and-build-addon-dependencies (addons)
(message "")
(call-interactively command)))
+(eval-when-compile
+ (autoload 'riece-save-variables-files "riece"))
+(defun riece-command-save-variables ()
+ "Save `riece-variables-file'."
+ (interactive)
+ (if (or riece-save-variables-are-dirty
+ (y-or-n-p "No changes made. Save anyway? "))
+ (riece-save-variables-files)))
+
(provide 'riece-commands)
;;; riece-commands.el ends here
"p" riece-command-enter-message-to-user
"q" riece-command-quit
"r" riece-command-configure-windows
+ "s" riece-command-save-variables
"x" riece-command-copy-region
"t" riece-command-topic
"w" riece-command-who