Skip to content

Commit

Permalink
Reverts back to required usage
Browse files Browse the repository at this point in the history
  • Loading branch information
VernonGrant committed Jun 26, 2022
1 parent 9d37fe6 commit ad0d2a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
11 changes: 0 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [released]

### [1.0.2] - 2022-06-26

#### Added
- Autoloading comments for testing.

### [1.0.1] - 2022-06-25

#### Changed
- Package description.
- Accessibility of `sidekick--match-setup-buffer`.

### [1.0.0] - 2022-06-25

#### Added
Expand Down
13 changes: 2 additions & 11 deletions sidekick.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; Copyright (C) 2022 by Vernon Grant.

;; Author: Vernon Grant <[email protected]>
;; Version: 1.0.2
;; Version: 1.0.0
;; Package-Requires: ((emacs "26.1"))
;; Keywords: extensions, lisp
;; Homepage: https://github.com/VernonGrant/sidekick.el
Expand Down Expand Up @@ -259,15 +259,13 @@ MATCH-LINE-NUM The match's line number."
(with-selected-window (get-buffer-window match-buffer)
(progn (goto-char (point-min))))))

;;;###autoload
(defun sidekick-quit()
"Closes the sidekick window and kill it's buffer."
(interactive)
;; NOTE: Might need to do some cleanup here.
(quit-window)
(kill-buffer sidekick--buffer-name))

;;;###autoload
(defun sidekick-open-previous-match()
"Displays the previous match, creating and opening it's buffer."
(interactive)
Expand All @@ -286,7 +284,6 @@ MATCH-LINE-NUM The match's line number."
match-buffer
match-line-num))))))

;;;###autoload
(defun sidekick-open-next-match()
"Displays the next match, creating and opening it's buffer."
(interactive)
Expand All @@ -305,7 +302,6 @@ MATCH-LINE-NUM The match's line number."
match-buffer
match-line-num))))))

;;;###autoload
(defun sidekick-refresh()
"Re-runs the previous operations, refreshing the results."
(interactive)
Expand All @@ -316,7 +312,6 @@ MATCH-LINE-NUM The match's line number."
sidekick--state-mode-str)
(message "Sidekick: refreshed!")))

;;;###autoload
(defun sidekick-open-match()
"Go's directly to the match's symbol, creating a buffer if needed."
(interactive)
Expand Down Expand Up @@ -513,7 +508,7 @@ TEXT The text to be centered."
"------------ ---- ----\n"
"************ **** ****\n"
"---- ---- ----\n"
"************ ********* Version: 1.0.2\n"
"************ ********* Version: 1.0.0\n"
"------------ --------- --------------\n"
" ***** **** ****\n"
"------------ ---- ----\n"
Expand Down Expand Up @@ -731,7 +726,6 @@ MODE-STR The mode name as a string."
project-dir
mode-str))))

;;;###autoload
(defun sidekick-focus()
"Will focus on the Sidekick window, if visible."
(interactive)
Expand All @@ -740,7 +734,6 @@ MODE-STR The mode name as a string."
(select-window sidekick-window)
(message "Sidekick: window not visible."))))

;;;###autoload
(defun sidekick-focus-toggle()
"Toggle between the sidekick window and previous buffer's window."
(interactive)
Expand All @@ -753,7 +746,6 @@ MODE-STR The mode name as a string."
(get-buffer-window (buffer-name)))
(sidekick-focus))))

;;;###autoload
(defun sidekick-at-point()
"Takes the symbol at point and triggers a Sidekick update."
(interactive)
Expand All @@ -762,7 +754,6 @@ MODE-STR The mode name as a string."
(buffer-file-name)
(symbol-name major-mode)))

;;;###autoload
(defun sidekick-search-for-literal()
"Input a literal string and triggers a Sidekick update."
(interactive)
Expand Down

0 comments on commit ad0d2a0

Please sign in to comment.