From fda8b8f38dd311cbf361256f973adc39b355a4a6 Mon Sep 17 00:00:00 2001 From: Vladimir Sedach Date: Sat, 12 Dec 2009 21:05:34 -0500 Subject: [PATCH] Improved doc for js-expander.el, added more recent dates to COPYING copyright notice. --- COPYING | 10 ++++++---- extras/js-expander.el | 15 ++++++++------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/COPYING b/COPYING index 1458d2c..c509ffb 100644 --- a/COPYING +++ b/COPYING @@ -1,5 +1,7 @@ Copyright (c) 2005, Manuel Odendahl Copyright (c) 2005, Edward Marco Baringer +Copyright (c) 2007-2010, Vladimir Sedach +Copyright (c) 2008-2009, Travis Cross All rights reserved. @@ -14,10 +16,10 @@ notice, this list of conditions and the following disclaimer. notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -- Neither the names of Manuel Odendahl, Edward Marco Baringer, nor -BESE, nor the names of its contributors may be used to endorse or -promote products derived from this software without specific prior -written permission. +- Neither the names of Manuel Odendahl, Edward Marco Baringer, +Vladimir Sedach, nor BESE, nor the names of its contributors may be +used to endorse or promote products derived from this software without +specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT diff --git a/extras/js-expander.el b/extras/js-expander.el index 1c9fd2e..7c5d50f 100644 --- a/extras/js-expander.el +++ b/extras/js-expander.el @@ -1,13 +1,14 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;;;; What this code does: put your cursor at a ParenScript expression -;;;; in a ParenScript file and type 'C-c j' to bring up a buffer with -;;;; the resulting Javascript code. This feature depends on Slime (and -;;;; your ParenScript buffer being in slime-mode; it doesn't work in -;;;; slime-repl-mode, which is intentional). It is inspired (and works -;;;; like) the Slime 'C-c M-m' macroexpansion feature. +;;;; This is an extension to SLIME that is inspired by (and works +;;;; like) the SLIME 'C-c M-m' macroexpansion feature. + +;;;; After loading, 'C-c j' (PS) or 'C-c d' (PS-DOC) at a ParenScript +;;;; expression in a slime-mode buffer will bring up a buffer with the +;;;; resulting Javascript code. Note that the extension does not work +;;;; in slime-repl-mode, which is intentional. ;;;; Copyright 2007, Vladimir Sedach. See the COPYING file in the -;;;; above directory for licensing information. +;;;; Parenscript distribution for licensing information. ;;; The code below is a generic facility for adding "macroexpand-like" buffer expansion to Slime (defun slime-eval-custom-expand (expander exp-str package buffer-name buffer-mode printer) -- 2.11.4.GIT