Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use non-capturing group for auto-mode-alist entry
  • Loading branch information
hlissner committed May 13, 2018
1 parent 894a86d commit 8739fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pug-mode.el
Expand Up @@ -602,7 +602,7 @@ If the universal argument is supplied, render pretty HTML (non-compressed)."
(compile (format "pug%s %s" (if arg " -P" "") buffer-file-name)))

;;;###autoload
(add-to-list 'auto-mode-alist '("\\.\\(jade\\|pug\\)\\'" . pug-mode))
(add-to-list 'auto-mode-alist '("\\.\\(?:jade\\|pug\\)\\'" . pug-mode))

(provide 'pug-mode)
;;; pug-mode.el ends here

0 comments on commit 8739fe5

Please sign in to comment.