Package: cxref-emacs
Version: 1.6c-1
Severity: grave
Tags: patch

When opening a C file from Emacs 23, I get the following error message:

    File mode specification error: (error "Autoloading failed to define
    function cxref-c-mode-common-hook")

The following two lines in /etc/emacs/site-start.d/50cxref-emacs.d cause
this behavior:

    (autoload 'cxref-c-mode-common-hook "cflow" "" t)
    (add-hook 'c-mode-common-hook 'cxref-c-mode-common-hook)       

I don't know where cxref-c-mode-common-hook may have been defined in
previous versions, but currently it is defined in cxref.el. I tried
pointing the autoload in the site-start file to "cxref" instead --
problem solved.

Cheers,
-Hilko

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cxref-emacs depends on:
ii  emacs23 [emacsen]             23.2+1-2   The GNU Emacs editor (with GTK+ us
ii  emacsen-common                1.4.19     Common facilities for all emacsen

cxref-emacs recommends no packages.

cxref-emacs suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to