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

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

[elpa] externals/bnf-mode ac004f6 34/74: Removed the bnf-mode-version fu


From: Stefan Monnier
Subject: [elpa] externals/bnf-mode ac004f6 34/74: Removed the bnf-mode-version function
Date: Thu, 9 May 2019 08:27:48 -0400 (EDT)

branch: externals/bnf-mode
commit ac004f60012d648bf8c0e87d841935461279587a
Author: Serghei Iakovlev <address@hidden>
Commit: Serghei Iakovlev <address@hidden>

    Removed the bnf-mode-version function
    
    Refs:
    - https://github.com/melpa/melpa/pull/6074#issuecomment-475916422
---
 CHANGELOG.org |  7 +++++++
 bnf-mode.el   | 29 ++---------------------------
 2 files changed, 9 insertions(+), 27 deletions(-)

diff --git a/CHANGELOG.org b/CHANGELOG.org
index ee3a3a3..7cfa351 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -6,11 +6,18 @@ All notable changes to this project will be documented in 
this file.
 The format is based on [[http://keepachangelog.com][Keep a Changelog]] and 
this project adheres to [[http://semver.org][Semantic Versioning]].
 
 ** [[https://github.com/sergeyklay/bnf-mode/compare/0.3.1...HEAD][Unreleased]]
+*** Changed
+- Publish package on MELPA 
[[https://github.com/melpa/melpa/pull/6074][(melpa/melpa#6074)]]
+
 *** Fixed
 - In the BNF there are no strings thus treat ' and " as a regular symbols
 - Minor code cleanup: removed no longer needed ~comment-*~ variables
 - In the BNF there are no grouping brackets except angle ones. Fixed
 
+*** Removed
+- Removing the ~bnf-mode-version~ function. Users can easily call 
~describe-package~
+  or ~pkg-info-package-version~ interactively if they want to get this 
information [[https://github.com/sergeyklay/bnf-mode/issues/1][(#1)]]
+
 ** [[https://github.com/sergeyklay/bnf-mode/compare/0.3.0...0.3.1][0.3.1]] - 
2019-03-17
 *** Fixed
 - Fixed BNF rule name definition to follow 
[[https://www.masswerk.at/algol60/report.htm][ALGOL 60 report]]
diff --git a/bnf-mode.el b/bnf-mode.el
index 6260dd1..a2188fd 100644
--- a/bnf-mode.el
+++ b/bnf-mode.el
@@ -7,7 +7,7 @@
 ;; Version: 0.3.2
 ;; URL: https://github.com/sergeyklay/bnf-mode
 ;; Keywords: languages
-;; Package-Requires: ((cl-lib "0.5") (pkg-info "0.4") (emacs "24.3"))
+;; Package-Requires: ((cl-lib "0.5") (emacs "24.3"))
 
 ;; This file is not part of GNU Emacs.
 
@@ -40,7 +40,7 @@
 ;;   (see URL `https://www.ietf.org/rfc/rfc822.txt')
 ;; - RFC5234: Augmented BNF for Syntax Specifications: ABNF
 ;;   (see URL `https://www.ietf.org/rfc/rfc5234.txt')
-;; - FRC7405: Case-Sensitive String Support in ABNF [3]
+;; - FRC7405: Case-Sensitive String Support in ABNF
 ;;   (see URL `https://www.ietf.org/rfc/rfc7405.txt')
 ;; - Revised Report on the Algorithmic Language Algol 60
 ;;   (see URL `https://www.masswerk.at/algol60/report.htm')
@@ -61,14 +61,10 @@
 
 ;;; Requirements
 
-;; Tell the byte compiler about autoloaded functions from packages
-(declare-function pkg-info-version-info "pkg-info" (package))
-
 (eval-when-compile
   (require 'rx))    ; `rx'
 
 (require 'cl-lib)   ; `cl-defmacro'
-(require 'pkg-info) ; `pkg-info-version-info'
 
 
 ;;; Customization
@@ -89,27 +85,6 @@
   :group 'bnf)
 
 
-;;; Version information
-
-(defun bnf-mode-version (&optional show-version)
-  "Display string describing the version of BNF Mode.
-
-If called interactively or if SHOW-VERSION is non-nil, show the
-version in the echo area and the messages buffer.
-
-The returned string includes both, the version from package.el
-and the library version, if both a present and different.
-
-If the version number could not be determined, signal an error,
-if called interactively, or if SHOW-VERSION is non-nil, otherwise
-just return nil."
-  (interactive (list t))
-  (let ((version (pkg-info-version-info 'bnf-mode)))
-    (when show-version
-      (message "BNF Mode version: %s" version))
-    version))
-
-
 ;;; Specialized rx
 
 (eval-when-compile



reply via email to

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