Skip to content

Commit

Permalink
Support `fill-region' and auto filling
Browse files Browse the repository at this point in the history
We fill only comments and strings.

Removes `swift-mode:comment-fill-column' in favor of `comment-fill-column'.
  • Loading branch information
taku0 committed Jun 13, 2022
1 parent 0d1ef0e commit 8f11068
Show file tree
Hide file tree
Showing 7 changed files with 1,271 additions and 351 deletions.
10 changes: 9 additions & 1 deletion src-autoloads.el
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
(custom-add-load 'languages 'swift-mode))

(defsubst swift-mode:add-supported-extension-for-speedbar nil "\
Register .swfit to speedbar." (if (fboundp (quote speedbar-add-supported-extension)) (speedbar-add-supported-extension ".swift") (add-hook (quote speedbar-load-hook) (lambda nil (speedbar-add-supported-extension ".swift")))))
Register .swift to speedbar." (if (fboundp (quote speedbar-add-supported-extension)) (speedbar-add-supported-extension ".swift") (add-hook (quote speedbar-load-hook) (lambda nil (speedbar-add-supported-extension ".swift")))))

(autoload 'swift-mode "swift-mode" "\
Major mode for editing Swift code.
Expand All @@ -36,6 +36,14 @@ Major mode for editing Swift code.

(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "swift-mode-beginning-of-defun" '("swift-mode:")))

;;;***

;;;### (autoloads nil "swift-mode-fill" "swift-mode-fill.el" (0 0
;;;;;; 0 0))
;;; Generated autoloads from swift-mode-fill.el

(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "swift-mode-fill" '("swift-mode:")))

;;;***

;;;### (autoloads nil "swift-mode-font-lock" "swift-mode-font-lock.el"
Expand Down
Loading

0 comments on commit 8f11068

Please sign in to comment.