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


Message #14 received at 18786 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Boyan Penkov <boyan.penkov <at> gmail.com>
Cc: 18786 <at> debbugs.gnu.org
Subject: Re: bug#18786: (error "Attempt to modify read-only object"
 (("\\.txz\\'" . tar-mode))) on adding mode
Date: Tue, 21 Oct 2014 12:39:40 -0400
>     (nconc auto-mode-alist '(("\\.ctl" . scheme-mode))))

Try
  (add-to-list 'auto-mode-alist '("\\.ctl\\'" . scheme-mode))


-- Stefan




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

Previous Next


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