GNU bug report logs - #19008
25.0.50; (wrong-type-argument stringp (require . fit-frame))

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 10 Nov 2014 02:52:02 UTC

Severity: normal

Tags: moreinfo

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 19008 <at> debbugs.gnu.org
Subject: bug#19008: 25.0.50; (wrong-type-argument stringp (require . fit-frame))
Date: Sat, 26 Dec 2015 17:26:46 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> For some reason, `load-history-filename-element' was passed a cons cell
> instead of a string.  That cons cell was apparently returned by
> (load-history-regexp "cl-indent"), but I don't understand how that was
> possible.
>
> The relevant part of `lisp-indentation-hack', which is on
> `emacs-lisp-mode-hook', is this:
>
> (unless (if (fboundp 'load-history-regexp) ; Emacs 22+
>             (load-history-filename-element (load-history-regexp "cl-indent"))
>           (assoc "cl-indent" load-history))
>     (load "cl-indent" nil t))
>
> I don't understand why this happened, but here is a backtrace:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp (require . fit-frame))
>   string-match("\\(\\`\\|/\\)cl-indent\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
>                (require . fit-frame))
>   load-history-filename-element("\\(\\`\\|/\\)cl-indent\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'")
>   lisp-indentation-hack()
>   run-hooks(change-major-mode-after-body-hook prog-mode-hook emacs-lisp-mode-hook)
>   ...

Do you have a recipe starting from emacs -Q?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 9 years and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.