branch: externals/ebdb
commit 4b8ce76bb969b4059024b210e6bef8baca5bdc12
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>

    Move point to next record when adding a mark
    
    * ebdb-com.el (ebdb-toggle-record-mark): Slightly more convenient, and
      in line with other Emacs marking behavior.
---
 ebdb-com.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ebdb-com.el b/ebdb-com.el
index 5549740..e2b861e 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1271,7 +1271,8 @@ With prefix N move backwards N (sub)fields."
    (list (ebdb-current-record t)
         'mark))
   (setf (nth 3 record) (if (nth 3 record) nil mark))
-  (ebdb-redisplay-record (car record)))
+  (ebdb-redisplay-record (car record))
+  (ebdb-next-record 1))
 
 (defun ebdb-toggle-all-record-marks ()
   "Reverse the marked status of all records."

Reply via email to