Matthieu Moy <[email protected]> writes:

> Shane Corgatelli <[email protected]> writes:
>
>> When DVC is enabled I get the following error when I try to open a file:
>>
>> 'eval-buffer: Symbol's function definition is void: 
>> define-obsolete-face-alias'
>
> That's weird:
>
> dvc/moy$ grep -irn obsolete **/*.el
> lisp/tla.el:2517:  (dvc-trace "OBSOLETE")
> lisp/tla.el:2543:  (dvc-trace "OBSOLETE")
> lisp/tla.el:3582:(defun tla-bookmarks-load-from-file-OBSOLETE (&optional 
> force)
> lisp/tla.el:3609:             (tla-bookmarks-load-from-file-OBSOLETE 
> force)))))
>
> On my Emacs 21.3.5, I have
>
> ,----[ C-h f define-obsolete-face-alias RET ]
> | define-obsolete-face-alias is defidefine-obsolete-face-alias is a Lisp 
> macro in `byte-run.el'.
> | 
> | (define-obsolete-face-alias obsolete-face current-face &optional when)
> | 
> | Make obsolete-face a face alias for current-face and mark it obsolete.
> | The optional string when gives the Emacs version where obsolete-face
> | became obsolete.
> | 
> | [back]
> `----
>
> It seems the function is used by the byte-compiler. It's likely that
> there's a problem either with your version of Emacs (you should
> upgrade anyway), or with the way you compiled DVC.

The OP is using Emacs 23.0.60.1. They could upgrade to 23.1, but
that won't solve the problem; define-obsolete-face-alias is no longer
defined. Given its name, that makes sense.

Perhaps the OP needs to do a 'make clean' in the dvc build directory,
then rebuild.

-- 
-- Stephe

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to