Skip to content

Commit

Permalink
Replace dash.el with seq.el
Browse files Browse the repository at this point in the history
Emacs 25 ships with a sequence library named seq.el. This renders
dash.el completely obsolete.
  • Loading branch information
juergenhoetzel committed Jan 6, 2021
1 parent c53b529 commit 93b3e00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions fsharp-mode-font.el
Expand Up @@ -28,9 +28,6 @@

;;; Code:

;; (require 'fsharp-mode)
;; (require 'dash)

(defgroup fsharp-ui nil
"F# UI group for the defcustom interface."
:prefix "fsharp-ui-"
Expand Down
1 change: 0 additions & 1 deletion fsharp-mode-util.el
Expand Up @@ -24,7 +24,6 @@
;; Boston, MA 02110-1301, USA.

(with-no-warnings (require 'cl))
(require 'dash)

(defvar fsharp-ac-using-mono
(case system-type
Expand Down
7 changes: 3 additions & 4 deletions fsharp-mode.el
Expand Up @@ -7,7 +7,7 @@
;; 2012-2014 Robin Neatherway <robin.neatherway@gmail.com>
;; 2017-2019 Jürgen Hötzel
;; Maintainer: Jürgen Hötzel
;; Package-Requires: ((emacs "25") (s "1.3.1") (dash "1.1.0") (eglot))
;; Package-Requires: ((emacs "25") (s "1.3.1") (eglot))
;; Keywords: languages
;; Version: 1.9.15

Expand Down Expand Up @@ -35,7 +35,6 @@
(require 'fsharp-mode-util)
(require 'compile)
(require 'project)
(require 'dash)

(defgroup fsharp nil
"Support for the Fsharp programming language, <http://www.fsharp.net/>"
Expand All @@ -45,11 +44,11 @@
;;; Compilation

(defvar fsharp-compile-command
(-any #'fsharp-mode--executable-find '("fsharpc" "fsc"))
(seq-some #'fsharp-mode--executable-find '("fsharpc" "fsc"))
"The program used to compile F# source files.")

(defvar fsharp-build-command
(-any #'fsharp-mode--msbuild-find '("msbuild" "xbuild"))
(seq-some #'fsharp-mode--msbuild-find '("msbuild" "xbuild"))
"The command used to build F# projects and solutions.")

;;; ----------------------------------------------------------------------------
Expand Down

0 comments on commit 93b3e00

Please sign in to comment.