branch: externals/ebdb
commit e49e9da2d85bd2d27e0c8ab93b4014d7e84d8fc3
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Using wrong var name in ebdb-edit-field
* ebdb-com.el (ebdb-edit-field): No wonder none of this seems to work.
---
ebdb-com.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 9c882ce..3891bfb 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1620,9 +1620,9 @@ the record, change the name of the record."
(let ((header-p (get-text-property (point) 'ebdb-record)))
(ebdb-with-record-edits (r (list record))
(if header-p
- (ebdb-record-change-name record)
+ (ebdb-record-change-name r)
(if (eieio-object-p field)
- (ebdb-record-change-field record field)
+ (ebdb-record-change-field r field)
(message "Point not in field"))))))
;;;###autoload