Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to devel-emacs grimoire by Ismael Luceno (1f96ac979fe669662500f77d6f7a6c42227d6ae0)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to devel-emacs grimoire by Ismael Luceno (1f96ac979fe669662500f77d6f7a6c42227d6ae0)
  • Date: Tue, 7 Dec 2010 10:15:40 -0600

GIT changes to devel-emacs grimoire by Ismael Luceno <ismael AT sourcemage.org>:

emacs-lisp/FUNCTIONS | 8 ++++++++
emacs-lisp/yasnippet/INSTALL | 3 +--
2 files changed, 9 insertions(+), 2 deletions(-)

New commits:
commit 1f96ac979fe669662500f77d6f7a6c42227d6ae0
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

emacs-lisp: move generic functionality from yasnippet to FUNCTIONS

diff --git a/emacs-lisp/FUNCTIONS b/emacs-lisp/FUNCTIONS
index fbc8fec..48ea608 100755
--- a/emacs-lisp/FUNCTIONS
+++ b/emacs-lisp/FUNCTIONS
@@ -1,4 +1,12 @@
#-------------------------------------------------------------------------
+## Helper to install extra directories and files.
+#-------------------------------------------------------------------------
+function emacs_lisp_install() {
+ cp -vr "${@/#/$SOURCE_DIRECTORY/}" \
+ "$INSTALL_ROOT/usr/share/emacs/site-lisp/$SPELL/"
+}
+
+#-------------------------------------------------------------------------
## Section-default build script.
#-------------------------------------------------------------------------
function default_build_emacs_lisp() {
diff --git a/emacs-lisp/yasnippet/INSTALL b/emacs-lisp/yasnippet/INSTALL
index 81561ed..396c009 100755
--- a/emacs-lisp/yasnippet/INSTALL
+++ b/emacs-lisp/yasnippet/INSTALL
@@ -1,3 +1,2 @@
default_install &&
-cp -vr "$SOURCE_DIRECTORY/snippets" \
- "$INSTALL_ROOT/usr/share/emacs/site-lisp/$SPELL"
+emacs_lisp_install snippets



  • [SM-Commit] GIT changes to devel-emacs grimoire by Ismael Luceno (1f96ac979fe669662500f77d6f7a6c42227d6ae0), Ismael Luceno, 12/07/2010

Archive powered by MHonArc 2.6.24.

Top of Page