Skip to content

Commit c55809f

Browse files
authored
Merge pull request #17574 from apple/swift-project-settings
2 parents 1f91a29 + 1561ded commit c55809f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/swift-project-settings.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
;; project settings yet. For example, Swift files may come up in
115115
;; Fundamental mode, and C++ files won't use the swift style, unless
116116
;; we do something. This hack causes the file to be re-mode-ed.
117-
(set-auto-mode)
117+
(ignore-errors (set-auto-mode))
118118

119119
(defun swift-project-comment-end ()
120120
"If comment-end is non-empty returns it, stripped of leading whitespace. Returns nil otherwise"

0 commit comments

Comments
 (0)