[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 6a0acfc 10/17: Add "make compile" and "make run"
From: |
Oleh Krehel |
Subject: |
[elpa] master 6a0acfc 10/17: Add "make compile" and "make run" |
Date: |
Fri, 08 May 2015 13:43:42 +0000 |
branch: master
commit 6a0acfc14f4dfdb6f45293ba149dd9796d0a49bd
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
Add "make compile" and "make run"
Re #37
---
Makefile | 8 +++++++-
avy-init.el | 27 +++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 4f0a640..69da587 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-EMACS = emacs
+emacs ?= emacs
# EMACS = emacs-24.3
LOAD = -l avy.el -l avy-test.el
@@ -10,5 +10,11 @@ all: test
test:
$(EMACS) -batch $(LOAD) -f ert-run-tests-batch-and-exit
+compile:
+ $(emacs) -batch -l avy-init.el
+
+run:
+ $(emacs) -Q -l avy-init.el
+
clean:
rm -f *.elc
diff --git a/avy-init.el b/avy-init.el
new file mode 100644
index 0000000..929a2c6
--- /dev/null
+++ b/avy-init.el
@@ -0,0 +1,27 @@
+;;; avy-init.el --- bare avy init
+
+;; Copyright (C) 2015 Free Software Foundation, Inc.
+
+;; Author: Oleh Krehel
+
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs 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.
+
+;; GNU Emacs 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 GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
+(add-to-list 'load-path default-directory)
+(require 'ace-window)
+(require 'avy-jump)
+(mapc #'byte-compile-file '("avy.el" "avy-jump.el" "ace-window.el"))
+(global-set-key (kbd "C-c j") 'avi-goto-char)
+(global-set-key (kbd "C-'") 'avi-goto-char-2)
- [elpa] master updated (876d210 -> 269e61a), Oleh Krehel, 2015/05/08
- [elpa] master 7b44c1f 01/17: avy-jump.el (avi-goto-subword-0): New command, Oleh Krehel, 2015/05/08
- [elpa] master b61131c 03/17: avy-jump.el (avi--overlay-pre): Handle plain numbers, Oleh Krehel, 2015/05/08
- [elpa] master ff4ce51 02/17: Don't collect candidates hidden by outlines, Oleh Krehel, 2015/05/08
- [elpa] master cd6583b 04/17: avy-jump.el (avi-all-windows): New defcustom, Oleh Krehel, 2015/05/08
- [elpa] master f92689a 06/17: avy-jump.el (avi--line): Fixup the issue with org outlines, Oleh Krehel, 2015/05/08
- [elpa] master 17b44a8 05/17: Update a few commands to jump in one or more windows, Oleh Krehel, 2015/05/08
- [elpa] master 3bbd404 08/17: Make sure avi-move-line and avi-copy-line behave consistently., Oleh Krehel, 2015/05/08
- [elpa] master ca92a08 09/17: avy-jump.el (avi-goto-word-1): Count some syms as words, Oleh Krehel, 2015/05/08
- [elpa] master dfe24f3 11/17: Add `avi-word-punc-regexp` defcustom, Oleh Krehel, 2015/05/08
- [elpa] master 6a0acfc 10/17: Add "make compile" and "make run",
Oleh Krehel <=
- [elpa] master ee76efd 12/17: Fix rounding error, Oleh Krehel, 2015/05/08
- [elpa] master d1780dd 07/17: avy-jump.el (avi-goto-line): Work with one or more windows, Oleh Krehel, 2015/05/08
- [elpa] master 1e94459 13/17: avy-jump.el (avi--goto): Push mark before moving, Oleh Krehel, 2015/05/08
- [elpa] master c53b0d2 14/17: Start the decoupling of ace-window and avy-jump, Oleh Krehel, 2015/05/08
- [elpa] master cc38c04 16/17: Bump version, Oleh Krehel, 2015/05/08
- [elpa] master 269e61a 17/17: Merge commit 'cc38c044a13e6df822431d6c706cf4b9255900bd' from ace-window, Oleh Krehel, 2015/05/08
- [elpa] master 05e7016 15/17: Ace Window now depends on Avy, Oleh Krehel, 2015/05/08