emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/shen-mode 3ee8b84 08/15: * GNUmakefile: Rename from Mak


From: Stefan Monnier
Subject: [elpa] externals/shen-mode 3ee8b84 08/15: * GNUmakefile: Rename from Makefile. Add targets for in-place use.
Date: Sun, 29 Nov 2020 00:14:28 -0500 (EST)

branch: externals/shen-mode
commit 3ee8b84aecc02ba2a2bee16ef57abce180d0c4b7
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * GNUmakefile: Rename from Makefile.  Add targets for in-place use.
    (all, all-in-place): New targets.
    * admin/archive-contents.el (archive--simple-package-p): Ignore autosave 
files.
    (archive--refresh-pkg-file): New function.
    (archive--write-pkg-file): Print with ' and ` shorthands.
    * packages/company/company-pysmell.el: Don't require pysmell during compile.
    * packages/muse/htmlize-hack.el: Don't require htmlize during compile.
    * packages/shen-mode/shen-mode.el (shen-functions): Define during compile.
    * smart-operator/smart-operator.el (smart-operator-insert-1): Use pcase.
---
 shen-mode.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/shen-mode.el b/shen-mode.el
index 45d4262..747679c 100644
--- a/shen-mode.el
+++ b/shen-mode.el
@@ -1,6 +1,6 @@
 ;;; shen-mode.el --- A major mode for editing shen source code
 
-;; Copyright (C) 2011 Free Software Foundation, Inc.
+;; Copyright (C) 2011, 2013 Free Software Foundation, Inc.
 
 ;; Author: Eric Schulte <schulte.eric@gmail.com>
 ;; Version: 0.1
@@ -44,6 +44,7 @@
     map)
   "Currently just inherits from `lisp-mode-shared-map'.")
 
+(eval-and-compile
 (defconst shen-functions
   '((* "number --> number --> number" "Number multiplication.")
     (+ "number --> number --> number" "Number addition.")
@@ -220,7 +221,7 @@
     (warn "string --> string" "Prints the string as a warning and returns 
\"done\".  See strong-warning")
     (write-to-file "string --> A --> string" "Writes the second input into a 
file named in the first input. If the file does not exist, it is created, else 
it is overwritten. If the second input is a string then it is written to the 
file without the enclosing quotes.  The first input is returned.")
     (y-or-n\? "string --> boolean" "Prints the string as a question and 
returns true for y and false for n."))
-  "Shen functions taken largely from the Qi documentation by Dr. Mark Tarver.")
+  "Shen functions taken largely from the Qi documentation by Dr. Mark 
Tarver."))
 
 
 ;;; Fontification



reply via email to

[Prev in Thread] Current Thread [Next in Thread]