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

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

Re: [External] : Re: Appending lists


From: Emanuel Berg
Subject: Re: [External] : Re: Appending lists
Date: Mon, 21 Jun 2021 01:10:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> Here's another way you could write the code:
>>
>>     (setq auto-mode-alist 
>>           `(("\\.bal\\'"     . balance-mode)
>>             ("\\.grm\\'"     . sml-mode)
>>             ("\\.lu\\'"      . lua-mode)
>>             ("\\.nqp\\'"     . perl-mode)
>>             ("\\.php\\'"     . html-mode)
>>             ("\\.pic\\'"     . nroff-mode)
>>             ("\\.pl\\'"      . prolog-mode)
>>             ("\\.sed\\'"     . conf-mode)
>>             ("\\.service\\'" . conf-mode)
>>             ("\\.tex\\'"     . latex-mode)
>>             ("\\.xr\\'"      . conf-xdefaults-mode)
>>             ("*"             . text-mode)
>>             ,@auto-mode-alist))
>
> Hm, isn't that the coolest one by far?

(setq completion-ignored-extensions
      `(".bcf" ".run.xml" ,@completion-ignored-extensions) )

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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