2008-03-05 Juanma Barranquero <lekktu@gmail.com>
+ * epg.el (epg-context-include-certs): Reflow docstring.
+ (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
+ (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
+ (epg-context-set-signers, epg-context-set-sig-notations)
+ (epg-make-import-status, epg-make-import-result)
+ (epg-start-delete-keys): Fix typos in docstrings.
+ (epg-start-sign-keys, epg-sign-keys):
+ Fix typos in obsolescence declarations.
+
* iswitchb.el: Don't check for `cadr' and `last'.
(iswitchb-define-mode-map, iswitchb-default-keybindings):
Add obsolescence declaration and remove redundant info from docstring.
(aref (cdr context) 0))
(defun epg-context-armor (context)
- "Return t if the output shouled be ASCII armored in CONTEXT."
+ "Return t if the output should be ASCII armored in CONTEXT."
(unless (eq (car-safe context) 'epg-context)
(signal 'wrong-type-argument (list 'epg-context-p context)))
(aref (cdr context) 1))
(aref (cdr context) 2))
(defun epg-context-include-certs (context)
- "Return how many certificates should be included in an S/MIME signed
-message."
+ "Return how many certificates should be included in an S/MIME signed message."
(unless (eq (car-safe context) 'epg-context)
(signal 'wrong-type-argument (list 'epg-context-p context)))
(aref (cdr context) 3))
(aref (cdr context) 8))
(defun epg-context-signers (context)
- "Return the list of key-id for singning."
+ "Return the list of key-id for signing."
(unless (eq (car-safe context) 'epg-context)
(signal 'wrong-type-argument (list 'epg-context-p context)))
(aref (cdr context) 9))
(defun epg-context-sig-notations (context)
- "Return the list of notations for singning."
+ "Return the list of notations for signing."
(unless (eq (car-safe context) 'epg-context)
(signal 'wrong-type-argument (list 'epg-context-p context)))
(aref (cdr context) 10))
(aset (cdr context) 0 protocol))
(defun epg-context-set-armor (context armor)
- "Specify if the output shouled be ASCII armored in CONTEXT."
+ "Specify if the output should be ASCII armored in CONTEXT."
(unless (eq (car-safe context) 'epg-context)
(signal 'wrong-type-argument (list 'epg-context-p context)))
(aset (cdr context) 1 armor))
(aset (cdr context) 8 progress-callback))
(defun epg-context-set-signers (context signers)
- "Set the list of key-id for singning."
+ "Set the list of key-id for signing."
(unless (eq (car-safe context) 'epg-context)
(signal 'wrong-type-argument (list 'epg-context-p context)))
(aset (cdr context) 9 signers))
(defun epg-context-set-sig-notations (context notations)
- "Set the list of notations for singning."
+ "Set the list of notations for signing."
(unless (eq (car-safe context) 'epg-context)
(signal 'wrong-type-argument (list 'epg-context-p context)))
(aset (cdr context) 10 notations))
(defun epg-make-import-status (fingerprint &optional reason new user-id
signature sub-key secret)
- "Return a import status object."
+ "Return an import status object."
(cons 'epg-import-status (vector fingerprint reason new user-id signature
sub-key secret)))
secret-read secret-imported
secret-unchanged not-imported
imports)
- "Return a import result object."
+ "Return an import result object."
(cons 'epg-import-result (vector considered no-user-id imported imported-rsa
unchanged new-user-ids new-sub-keys
new-signatures new-revocations secret-read
;;;###autoload
(defun epg-start-delete-keys (context keys &optional allow-secret)
- "Initiate an delete keys operation.
+ "Initiate a delete keys operation.
If you use this function, you will need to wait for the completion of
`epg-gpg-program' by using `epg-wait-for-completion' and call
(epg-sub-key-id
(car (epg-key-sub-key-list key))))
keys))))
-(make-obsolete 'epg-start-sign-keys "Do not use.")
+(make-obsolete 'epg-start-sign-keys "do not use.")
;;;###autoload
(defun epg-sign-keys (context keys &optional local)
(error "Sign keys failed: %S"
(epg-context-result-for context 'error))))
(epg-reset context)))
-(make-obsolete 'epg-sign-keys "Do not use.")
+(make-obsolete 'epg-sign-keys "do not use.")
;;;###autoload
(defun epg-start-generate-key (context parameters)