>>>> "Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
In pkg vc-1.41
vc-hooks had a function called
(defun vc-status (file)
Which I used in the following trivial function
(defun my-vc-status-insert ()
(interactive)
(insert "Version")
(insert (vc-status buffer-file-name))) ;Version:1.18
Now vc-status is gone (but nothing is said in the ChangeLog)
A similar function can be found
(defun vc-state (file)
"Return the version con
However
(defun my-vc-status-insert-2 ()
(interactive)
(insert "Version")
(insert (vc-state buffer-file-name)))
Does not work but gives me the following error:
--8<------------------------schnipp------------------------->8---
Debugger entered--Lisp error: (wrong-type-argument char-or-string-p edited)
insert(edited)
(lambda nil (interactive) (insert "Version") (insert (vc-state
buffer-file-name)))()
call-interactively(my-vc-status-insert-2)
command-execute(my-vc-status-insert-2 t)
execute-extended-command(nil)
call-interactively(execute-extended-command)
--8<------------------------schnapp------------------------->8---
Any idea?
Uwe
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta