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

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

[elpa] externals/hyperbole 7c827c6: Inline hproperty:but - only used in


From: ELPA Syncer
Subject: [elpa] externals/hyperbole 7c827c6: Inline hproperty:but - only used in one place (#84)
Date: Sat, 15 May 2021 02:57:08 -0400 (EDT)

branch: externals/hyperbole
commit 7c827c6d59b312ea4c74eb0262c8e3aa85cf765e
Author: Mats Lidell <mats.lidell@lidells.se>
Commit: GitHub <noreply@github.com>

    Inline hproperty:but - only used in one place (#84)
---
 ChangeLog     | 6 ++++++
 hbut.el       | 2 +-
 hui-em-but.el | 2 --
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dc0d67e..82ebb43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-05-14  Mats Lidell  <matsl@gnu.org>
+
+* hbut.el (ebut:delimit): Use hproperty:but-face.
+
+* hui-em-but.el (hproperty:but): Remove variable only used in one place.
+
 2021-05-13  Bob Weiner  <rsw@gnu.org>
 
 * hyperbole.el (hyperb:generate-autoloads): Fix improper default-directory
diff --git a/hbut.el b/hbut.el
index fa88322..6a45796 100644
--- a/hbut.el
+++ b/hbut.el
@@ -564,7 +564,7 @@ Insert INSTANCE-FLAG after END, before ending delimiter."
     (set-marker-insertion-type start t)
     (hbut:comment start end)
     (when (fboundp 'hproperty:but-add)
-      (hproperty:but-add start end hproperty:but))
+      (hproperty:but-add start end hproperty:but-face))
     (goto-char end)
     (move-marker start nil)
     (move-marker end nil)
diff --git a/hui-em-but.el b/hui-em-but.el
index fe526e5..83f9f79 100644
--- a/hui-em-but.el
+++ b/hui-em-but.el
@@ -290,8 +290,6 @@ highlighted."
 ;;; Private variables
 ;;; ************************************************************************
 
-(setq hproperty:but hproperty:but-face)
-
 (defvar hproperty:item-button nil
   "Button used to highlight an item in a listing buffer.")
 (make-variable-buffer-local 'hproperty:item-button)



reply via email to

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