GNU bug report logs - #27371
26.0.50; Unexpected element (define-type . tramp-file-name) in load-history

Previous Next

Package: emacs;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Thu, 15 Jun 2017 08:06:02 UTC

Severity: minor

Found in version 26.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 27371 <at> debbugs.gnu.org
Subject: bug#27371: 26.0.50; Unexpected element (define-type . tramp-file-name) in load-history
Date: Mon, 24 Jul 2017 18:13:21 +0200
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

>> +    ;; Remove internal functions.
>> +    (dolist (fun
>> +	     (append
>> +	      ;; constructor, copier, predicate, tag-symbol.
>> +	      `(,(format "make-%s" name)
>> +	        ,(format "copy-%s" name)
>> +	        ,(format "%s-p" name)
>> +	        ,(format "cl-struct-%s-tags" name))
>> +	      ;; accessors.
>> +	      (mapcar #'(lambda (y) (format "%s-%s" name y)) slots)))
>
> AFAIK all these functions are defined with `defalias', so they should
> already be handled by their own entry in load-history.

You're right. So what's left to do is

    (setf (cl--find-class name) nil)))

If you don't object I would commit the patch then ('tho it's rather your patch).

>         Stefan

Best regards, Michael.




This bug report was last modified 8 years and 17 days ago.

Previous Next


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