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

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

[nongnu] elpa/hl-block-mode 760e02b5fd 1/2: Rename global-hl-block-mode


From: ELPA Syncer
Subject: [nongnu] elpa/hl-block-mode 760e02b5fd 1/2: Rename global-hl-block-mode to hl-block-global-mode
Date: Mon, 9 Jan 2023 23:59:33 -0500 (EST)

branch: elpa/hl-block-mode
commit 760e02b5fd66812e701c12292a1f00bde3c1c46c
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Rename global-hl-block-mode to hl-block-global-mode
---
 hl-block-mode.el | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/hl-block-mode.el b/hl-block-mode.el
index 313e709a2e..a9dc9a46af 100644
--- a/hl-block-mode.el
+++ b/hl-block-mode.el
@@ -6,7 +6,7 @@
 ;; Author: Campbell Barton <ideasman42@gmail.com>
 
 ;; URL: https://codeberg.org/ideasman42/emacs-hl-block-mode
-;; Version: 0.1
+;; Version: 0.2
 ;; Package-Requires: ((emacs "26.1"))
 
 ;;; Commentary:
@@ -15,8 +15,8 @@
 
 ;;; Usage
 
-;; (hl-block-mode)        ; activate in the current buffer.
-;; (global-hl-block-mode) ; activate globally for all buffers.
+;; (hl-block-mode)        ; Activate in the current buffer.
+;; (hl-block-global-mode) ; Activate globally for all buffers.
 
 ;;; Code:
 
@@ -419,10 +419,12 @@ Argument BLOCK-LIST represents start-end ranges of 
braces."
     (hl-block--mode-disable))))
 
 ;;;###autoload
-(define-globalized-minor-mode global-hl-block-mode
+(define-globalized-minor-mode hl-block-global-mode
   hl-block-mode
   hl-block--mode-turn-on)
 
+(define-obsolete-function-alias 'global-hl-block-mode #'hl-block-global-mode 
"0.2")
+
 (provide 'hl-block-mode)
 ;; Local Variables:
 ;; fill-column: 99



reply via email to

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