GNU bug report logs - #18786
(error "Attempt to modify read-only object" (("\\.txz\\'" . tar-mode))) on adding mode

Previous Next

Package: emacs;

Reported by: Boyan Penkov <boyan.penkov <at> gmail.com>

Date: Tue, 21 Oct 2014 13:42:02 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> suse.de>
To: Boyan Penkov <boyan.penkov <at> gmail.com>
Cc: 18786 <at> debbugs.gnu.org
Subject: bug#18786: (error "Attempt to modify read-only object" (("\\.txz\\'" . tar-mode))) on adding mode
Date: Tue, 21 Oct 2014 17:20:03 +0200
Boyan Penkov <boyan.penkov <at> gmail.com> writes:

> I have a bunch of stuff like: 
>
>     (nconc auto-mode-alist '(("\\.ctl" . scheme-mode))))
>
> in my .emacs.  

Don't use destructive functions unless you know what you are doing.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




This bug report was last modified 10 years and 269 days ago.

Previous Next


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