From f8711999600476afc8dd47813295f77b409dc595 Mon Sep 17 00:00:00 2001 From: Luca Favatella Date: Sun, 5 Jun 2016 17:09:35 +0100 Subject: [PATCH 1/2] Refresh version number --- puml-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/puml-mode.el b/puml-mode.el index 1aa2341..2d5f31d 100644 --- a/puml-mode.el +++ b/puml-mode.el @@ -6,7 +6,7 @@ ;; Author: Zhang Weize (zwz) ;; Maintainer: Carlo Sciolla (skuro) ;; Keywords: uml plantuml ascii -;; Version: 0.6.2 +;; Version: 0.6.5 ;; You can redistribute this program and/or modify it under the terms ;; of the GNU General Public License as published by the Free Software @@ -52,7 +52,7 @@ (defvar puml-mode-hook nil "Standard hook for puml-mode.") -(defvar puml-mode-version "0.6.1" "The puml-mode version string.") +(defvar puml-mode-version "0.6.5" "The puml-mode version string.") (defvar puml-mode-debug-enabled nil) From 2b9a998e55210b6d12bfe0378ded64312c0b00ee Mon Sep 17 00:00:00 2001 From: Luca Favatella Date: Sun, 5 Jun 2016 17:35:25 +0100 Subject: [PATCH 2/2] Review version definition Prefer `defconst` as it is more robust for constants. Refs: * https://www.gnu.org/software/emacs/manual/html_mono/elisp.html#index-defconst * http://endlessparentheses.com/what-s-a-defconst-and-why-you-should-use-it.html --- puml-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puml-mode.el b/puml-mode.el index 2d5f31d..06b74d2 100644 --- a/puml-mode.el +++ b/puml-mode.el @@ -52,7 +52,7 @@ (defvar puml-mode-hook nil "Standard hook for puml-mode.") -(defvar puml-mode-version "0.6.5" "The puml-mode version string.") +(defconst puml-mode-version "0.6.5" "The puml-mode version string.") (defvar puml-mode-debug-enabled nil)