Browse Source

Move point back to top of the file when editing contact

tags/v0.2.0
Damien Cassou 1 year ago
parent
commit
e7284f9981
Signed by: Damien Cassou <damien@cassou.me> GPG Key ID: B68746238E59B548
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      khardel.el

+ 1
- 0
khardel.el View File

@@ -95,6 +95,7 @@ If nil, the buffer represents a new contact.")
(let ((buffer (generate-new-buffer (format "*khardel<%s>*" (cdr contact)))))
(with-current-buffer buffer
(call-process "khard" nil t nil "export" "--uid" (car contact))
(goto-char (point-min))
(khardel-edit-mode)
(setq-local khardel-edit-contact contact))
(switch-to-buffer buffer)

Loading…
Cancel
Save