diff options
| author | Dave Love | 1999-04-12 08:46:09 +0000 |
|---|---|---|
| committer | Dave Love | 1999-04-12 08:46:09 +0000 |
| commit | 98237e7c449ae3d0b016d0e788cf28ed72bd4d2c (patch) | |
| tree | cbff81743229a7680cb6021ec488a477ce80bc36 | |
| parent | 6923dac346d2b73e2f5458ebbf311046fe3fafe9 (diff) | |
| download | emacs-98237e7c449ae3d0b016d0e788cf28ed72bd4d2c.tar.gz emacs-98237e7c449ae3d0b016d0e788cf28ed72bd4d2c.zip | |
(sc-scan-info-alist): Revert last change.
(sc-attrib-selection-list): Fix :type here instead.
| -rw-r--r-- | lisp/mail/supercite.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el index 1f23a50f5b7..ca6f0a81b36 100644 --- a/lisp/mail/supercite.el +++ b/lisp/mail/supercite.el | |||
| @@ -419,9 +419,10 @@ and the return value must be a string, which is used as the selected | |||
| 419 | attribution. Note that the variable `sc-preferred-attribution-list' | 419 | attribution. Note that the variable `sc-preferred-attribution-list' |
| 420 | must contain an element of the string \"sc-consult\" for this variable | 420 | must contain an element of the string \"sc-consult\" for this variable |
| 421 | to be consulted during attribution selection." | 421 | to be consulted during attribution selection." |
| 422 | :type '(repeat (list string (repeat (cons regexp | 422 | :type '(repeat (list string |
| 423 | (choice (repeat (repeat sexp)) | 423 | (repeat (cons regexp |
| 424 | string))))) | 424 | (choice (sexp :tag "List to eval") |
| 425 | string))))) | ||
| 425 | :group 'supercite-attr) | 426 | :group 'supercite-attr) |
| 426 | 427 | ||
| 427 | (defcustom sc-attribs-preselect-hook nil | 428 | (defcustom sc-attribs-preselect-hook nil |
| @@ -766,9 +767,7 @@ the list should be unique." | |||
| 766 | (thing (cdr ml-elem))) | 767 | (thing (cdr ml-elem))) |
| 767 | (if (string-match regexp infoval) | 768 | (if (string-match regexp infoval) |
| 768 | ;; we found a match, time to return | 769 | ;; we found a match, time to return |
| 769 | (setq rtnvalue (if (consp thing) | 770 | (setq rtnvalue thing |
| 770 | (car thing) | ||
| 771 | thing) | ||
| 772 | mlist nil | 771 | mlist nil |
| 773 | alist nil) | 772 | alist nil) |
| 774 | ;; else we didn't find a match | 773 | ;; else we didn't find a match |