(autoload 'epg-encrypt-string "epg")
(autoload 'epg-passphrase-callback-function "epg")
(autoload 'epg-context-set-passphrase-callback "epg")
+(autoload 'epg-cancel "epg")
(eval-when-compile
(autoload 'riece-command-send-message "riece-commands"))
(riece-display-message
(riece-make-message (riece-current-nickname) riece-current-channel
(concat "[encrypted:" string "]") nil t))
- (let ((next-line-add-newlines t))
- (next-line 1))))
+ (if (> (forward-line) 0)
+ (insert "\n"))))
(defun riece-command-set-passphrase (identity passphrase)
"Set PASSPHRASE associated with IDENTITY."