[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bongo-patches] Fix bugs in `bongo-line-field-value' and `bongo-line-fie
From: |
Daniel Brockman |
Subject: |
[bongo-patches] Fix bugs in `bongo-line-field-value' and `bongo-line-field-values' |
Date: |
Sat, 03 Feb 2007 19:48:49 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) |
Sat Feb 3 18:44:08 CET 2007 Daniel Brockman <address@hidden>
* Fix bugs in `bongo-line-field-value' and
`bongo-line-field-values'.
diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el 2007-02-03 19:37:34.000000000 +0100
+++ new-bongo/bongo.el 2007-02-03 19:37:34.000000000 +0100
@@ -2413,11 +2413,11 @@
(defun bongo-line-field-value (field &optional point)
"Return the value of FIELD for the line at POINT."
- (assoc field (bongo-line-infoset point)))
+ (cdr (assoc field (bongo-line-infoset point))))
(defun bongo-line-field-values (fields &optional point)
"Return the values of FIELDS for the line at POINT."
- (bongo-filter-alist fields (bongo-line-infoset point)))
+ (mapcar 'cdr (bongo-filter-alist fields (bongo-line-infoset point))))
(defun bongo-line-fields (&optional point)
"Return the names of the fields defined for the line at POINT."
--
Daniel Brockman <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bongo-patches] Fix bugs in `bongo-line-field-value' and `bongo-line-field-values',
Daniel Brockman <=