(add-to-list 'auto-mode-alist '("\.S" . asm-mode))

;; Forcibly prepend the following auto-mode-alist.
(seq-doseq (mode '(("\\.[sS]\\'" . asm-mode)))
  (add-to-list 'auto-mode-alist mode
               nil (lambda (a b) nil)))

Fix auto-mode-alist regex patter for asm-mode.
Fix auto-mode-alist regex patter for asm-mode.

pw4ever/dotemacs,pw4ever/dotemacs,pw4ever/dotemacs,pw4ever/dotemacs,pw4ever/dotemacs