branch: elpa/adoc-mode
commit 66b9adc97d8702de47140092cbae3a2f5563a297
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Release adoc-mode 0.7
---
CHANGELOG.md | 2 ++
adoc-mode.el | 12 +++++-------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0339b8f863..cc84e6e0a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
## master (unreleased)
+## 0.7.0 (2023-03-09)
+
### New features
- Added `imenu` support.
diff --git a/adoc-mode.el b/adoc-mode.el
index 4381323168..df2c9d66d5 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -7,7 +7,7 @@
;; URL: https://github.com/bbatsov/adoc-mode
;; Maintainer: Bozhidar Batsov <[email protected]>
;; Created: 2009
-;; Version: 0.7.0-snapshot
+;; Version: 0.7.0
;; Package-Requires: ((emacs "26"))
;; Keywords: docs, wp
;;
@@ -42,15 +42,11 @@
;;; Code:
-
-;;; Variables:
-
(require 'cl-lib)
(require 'tempo)
-
-(defconst adoc-mode-version "0.7.0-snapshot"
- "adoc mode version number.
+(defconst adoc-mode-version "0.7.0"
+ "Adoc-mode version number.
Based upon AsciiDoc version 8.5.2. I.e. regexeps and rules are
taken from that version's asciidoc.conf / manual.")
@@ -2359,6 +2355,8 @@ meta characters."
(interactive)
(message "adoc-mode, version %s" adoc-mode-version))
+(defalias 'adoc-mode-version #'adoc-show-version)
+
(defun adoc-goto-ref-label (id)
"Goto the anchor defining the id ID."
;; KLUDGE: Getting the default, i.e. trying to parse the xref 'at' point, is