bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18786: (error "Attempt to modify read-only object" (("\\.txz\\'" . t


From: Boyan Penkov
Subject: bug#18786: (error "Attempt to modify read-only object" (("\\.txz\\'" . tar-mode))) on adding mode
Date: Tue, 21 Oct 2014 11:46:34 -0400


--
Boyan Penkov
www.boyanpenkov.com

On Oct 21, 2014, at 11:20 AM, Andreas Schwab <schwab@suse.de> wrote:

Boyan Penkov <boyan.penkov@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.

Yeah, predictably, emacs is fine and I’m the idiot: nconc’s have been replaced with add-to-list, documentation read and lesson learned.

Thanks for the pointer!


Andreas.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]