Skip to content

Remove unused global variables #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions purescript-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@
(defconst purescript-git-version "@GIT_VERSION@"
"The Git version of `purescript-mode'.")

(defvar purescript-mode-pkg-base-dir (file-name-directory load-file-name)
"Package base directory of installed `purescript-mode'.
Used for locating additional package data files.")

;;;###autoload
(defun purescript-version (&optional here)
"Show the `purescript-mode` version in the echo area.
Expand Down Expand Up @@ -402,15 +398,6 @@ is asked to show extra info for the items matching QUERY.."
current-prefix-arg)))
(browse-url (format "https://pursuit.purescript.org/search?q=%s" query)))

(defcustom purescript-completing-read-function 'completing-read
"Default function to use for completion."
:group 'purescript
:type '(choice
(function-item :tag "completing-read" :value completing-read)
(function-item :tag "ido" :value ido-completing-read)
(function-item :tag "helm" :value helm--completing-read-default)
(function :tag "Custom function")))

(defcustom purescript-indent-spaces 2
"Number of spaces to indent inwards."
:type 'integer
Expand Down