diff options
author | EuAndreh <eu@euandre.org> | 2019-05-20 21:41:16 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-05-20 21:41:16 -0300 |
commit | 4808b4f2c5c3077cbf23e0f4792c7afe08ce6e2d (patch) | |
tree | b24151605405550f7173b90f07c30de51684f4f7 | |
parent | Remove git/default.nix (diff) | |
download | dotfiles-4808b4f2c5c3077cbf23e0f4792c7afe08ce6e2d.tar.gz dotfiles-4808b4f2c5c3077cbf23e0f4792c7afe08ce6e2d.tar.xz |
Remove emacs/{gnus.el,re-jump.el,re-jump.elc}
-rw-r--r-- | emacs/gnus.el | bin | 6085 -> 0 bytes | |||
-rw-r--r-- | emacs/re-jump.el | 56 | ||||
-rw-r--r-- | emacs/re-jump.elc | bin | 1225 -> 0 bytes |
3 files changed, 0 insertions, 56 deletions
diff --git a/emacs/gnus.el b/emacs/gnus.el Binary files differdeleted file mode 100644 index 9a6efee..0000000 --- a/emacs/gnus.el +++ /dev/null diff --git a/emacs/re-jump.el b/emacs/re-jump.el deleted file mode 100644 index 86f0d00..0000000 --- a/emacs/re-jump.el +++ /dev/null @@ -1,56 +0,0 @@ -;; Taken from: -;; https://github.com/oliyh/re-jump.el - -;;; re-jump.el --- emacs navigation for re-frame projects - -;; Copyright © 2017 Oliver Hine -;; -;; Author: Oliver Hine - -;; This program is free software: you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation, either version 3 of the License, or -;; (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see <http://www.gnu.org/licenses/>. - -;; This file is not part of GNU Emacs. - -;;; Commentary: - -;; Jump to registrations of re-frame subscriptions, event handlers and fx - -;;; Code: -(require 'cider-util) -(require 'cider-resolve) -(require 'cider-client) -(require 'cider-common) -(require 'clojure-mode) - -(defun re-frame-jump-to-reg () - (interactive) - (let* ((kw (cider-symbol-at-point 'look-back)) - (ns-qualifier (and - (string-match "^:+\\(.+\\)/.+$" kw) - (match-string 1 kw))) - (kw-ns (if ns-qualifier - (cider-resolve-alias (cider-current-ns) ns-qualifier) - (cider-current-ns))) - (kw-to-find (concat "::" (replace-regexp-in-string "^:+\\(.+/\\)?" "" kw)))) - - (when (and ns-qualifier (string= kw-ns (cider-current-ns))) - (error "Could not resolve alias \"%s\" in %s" ns-qualifier (cider-current-ns))) - - (progn (cider-find-ns "-" kw-ns) - (search-forward-regexp (concat "reg-[a-zA-Z-]*[ \\\n]+" kw-to-find) nil 'noerror)))) - -(global-set-key (kbd "M->") 're-frame-jump-to-reg) - -(provide 're-jump) -;;; re-jump.el ends here diff --git a/emacs/re-jump.elc b/emacs/re-jump.elc Binary files differdeleted file mode 100644 index 6b3d49f..0000000 --- a/emacs/re-jump.elc +++ /dev/null |