On Wed, 27 Jul 2005, Paul Smith wrote:

> On 7/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Anyway, if you re-start emacs, you should know be able to do
> > 
> >         M-x lyx-open
> > 
> > and then give e.g. 'Main.WikiSandbox' as an argument, in order to open tha
> > page. Let me know if you have any problems.
> 
> I get the following error:
> 
> replace-regexp-in-string: Symbol's function definition is void: caddr

Ah.. that problem keeps popping up. The good news is that you're nearly 
there. The bad news is that you probably have an old version of emacs.

What does 'M-x emacs-version' say? 

If you don't feel like updating emacs, you can add this to your .emacs

(defun caddr (X) 
  "Define caddr"
  (car (cdr (cdr X))))

You might also need cadr

(defun cadr (X) 
  "Define caddr"
  (car (cdr X)))

Since this problem occurs so often, I guess I should add something that 
defines caddr if it's not already defined... 

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


Reply via email to