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

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

[nongnu] elpa/lua-mode e3a8282 099/468: Make URL/Version fields in lua-m


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode e3a8282 099/468: Make URL/Version fields in lua-mode.el prettier, update parse expression in Makefile
Date: Thu, 5 Aug 2021 04:58:15 -0400 (EDT)

branch: elpa/lua-mode
commit e3a828265df5585164bfe1396cd5ec8ddd0c0506
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>

    Make URL/Version fields in lua-mode.el prettier, update parse expression in 
Makefile
---
 Makefile    | 2 +-
 lua-mode.el | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index d5325cc..d84927e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # Makefile for lua-mode
 
-VERSION=$(shell grep "^;; Version:" lua-mode.el | cut -f 2)
+VERSION="$(shell sed -nre '/^;; Version:/ { s/^;; Version:[ \t]+//; p }' 
lua-mode.el)"
 DISTFILE = lua-mode-$(VERSION).zip
 
 default:
diff --git a/lua-mode.el b/lua-mode.el
index 371f2c6..91e8e5c 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -12,8 +12,9 @@
 ;;              with tons of assistance from
 ;;              Paul Du Bois <pld-lua@gelatinous.com> and
 ;;              Aaron Smith <aaron-lua@gelatinous.com>.
-;; URL:                http://lua-mode.luaforge.net/
-;; Version:    20110315
+;;
+;; URL:         http://lua-mode.luaforge.net/
+;; Version:     20110121
 ;; This file is NOT part of Emacs.
 ;;
 ;; This program is free software; you can redistribute it and/or



reply via email to

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