[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole cfc61a3 22/50: Eliminate a number of order-ba
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hyperbole cfc61a3 22/50: Eliminate a number of order-based byte-compilation warnings |
Date: |
Wed, 17 Mar 2021 18:44:17 -0400 (EDT) |
branch: externals/hyperbole
commit cfc61a3a5898202cc03592d478f8a6edcdec1886
Author: Bob Weiner <rsw@gnu.org>
Commit: Bob Weiner <rsw@gnu.org>
Eliminate a number of order-based byte-compilation warnings
---
hact.el | 24 ++++++++++++------------
hib-org.el | 2 ++
hsys-org.el | 1 +
hyrolo.el | 4 ++--
4 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/hact.el b/hact.el
index bc10596..85200be 100644
--- a/hact.el
+++ b/hact.el
@@ -38,6 +38,18 @@ e.g. to inhibit actions.")
(defvar symtable:category-plist nil
"Holds a property list of Hyperbole type category symbols ('actypes or
'ibtypes) and their associated symtables.")
+(defsubst symtable:hash-table (symtable)
+ "Return the hash-table containing symbol names and values from SYMTABLE."
+ (plist-get symtable 'hash-table))
+
+(defsubst symtable:name (symtable)
+ "Return the name of SYMTABLE as a string."
+ (plist-get symtable 'name))
+
+(defsubst symtable:select (type-category)
+ "Inline the return of the symtable for TYPE-CATEGORY, one of 'actypes or
'ibtypes."
+ (plist-get symtable:category-plist type-category))
+
(defun symtable:operate (operation symbol-or-name symtable)
"Call hash-table function OPERATION with Hyperbole SYMBOL-OR-NAME as key
upon SYMTABLE.
Trigger an error if SYMBOL-OR-NAME cannot be mapped to an existing Elisp
@@ -77,10 +89,6 @@ symbol or if SYMTABLE is invalid."
(gethash def-name hash-table))
(_ (error "(symtable:operate): Invalid operation request: %s"
operation)))))
-(defsubst symtable:select (type-category)
- "Inline the return of the symtable for TYPE-CATEGORY, one of 'actypes or
'ibtypes."
- (plist-get symtable:category-plist type-category))
-
(defun symtable:create (name size)
"Create and return a new Hyperbole type symbol table with NAME and SIZE.
Also add it under the symbol for its NAME in `symtable:category-plist'."
@@ -89,14 +97,6 @@ Also add it under the symbol for its NAME in
`symtable:category-plist'."
(setq symtable:category-plist (plist-put symtable:category-plist (intern
name) symtable))
symtable))
-(defsubst symtable:hash-table (symtable)
- "Return the hash-table containing symbol names and values from SYMTABLE."
- (plist-get symtable 'hash-table))
-
-(defsubst symtable:name (symtable)
- "Return the name of SYMTABLE as a string."
- (plist-get symtable 'name))
-
(defvar symtable:actypes (symtable:create "actypes" 97)
"Symbol table (hash table) of Hyperbole action type symbols.
For each actype, there are two entries whose keys are strings: one
diff --git a/hib-org.el b/hib-org.el
index b2bd79b..7823694 100644
--- a/hib-org.el
+++ b/hib-org.el
@@ -26,6 +26,8 @@
;;; Other required Elisp libraries
;;; ************************************************************************
+(eval-when-compile (require 'hmouse-drv))
+
(require 'hsys-org)
;;; ************************************************************************
diff --git a/hsys-org.el b/hsys-org.el
index 73ee9c0..5521e26 100644
--- a/hsys-org.el
+++ b/hsys-org.el
@@ -20,6 +20,7 @@
(require 'hbut)
(require 'org)
+(require 'org-element)
(defcustom inhibit-hsys-org nil
"*Non-nil means disable Action Key support in Org major and minor modes."
diff --git a/hyrolo.el b/hyrolo.el
index b765c75..1a48061 100644
--- a/hyrolo.el
+++ b/hyrolo.el
@@ -452,7 +452,7 @@ search for the current match regular expression rather than
string."
(hyrolo-isearch-regexp)
(hyrolo-verify)
(setq unread-command-events
- (append unread-command-events (map #'list #'identity (regexp-quote
hyrolo-match-regexp))))
+ (append unread-command-events (string-to-list (regexp-quote
hyrolo-match-regexp))))
(let ((case-fold-search t))
(isearch-forward))))
@@ -1237,7 +1237,7 @@ Then add characters to further narrow the search."
(hyrolo-verify)
(if (stringp regexp)
(setq unread-command-events
- (append unread-command-events (map #'list #'identity regexp))))
+ (append unread-command-events (string-to-list regexp))))
(let ((case-fold-search t))
(isearch-forward-regexp)))
- [elpa] externals/hyperbole 28a1e0c 18/50: Use xdg-open to dispatch to user preferences for display alist (#40), (continued)
- [elpa] externals/hyperbole 28a1e0c 18/50: Use xdg-open to dispatch to user preferences for display alist (#40), Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 7b92152 11/50: Merge pull request #39 from rswgnu/add-maintenance-makefile-with-web-site-support, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 7be77e0 12/50: Update git cache interactively, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole ad16470 13/50: Document Koutline Org table support; allow ibtype reprioritization, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 9f5a787 14/50: Add hypb-maintenance.el, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole e914edb 15/50: Add hypb-maintenance.el to MANIFEST, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole b4f7e49 16/50: Move HY-TALK.org button data to HY-TALK/.hypb, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 781bbb5 17/50: Merge pull request #41 from rswgnu/update-git-repo-cache-interactively, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 22439e6 20/50: Add klink ref cmds, ebut:program and defiblink for programmatic creation, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole e999fc7 21/50: Stop man-apropos from matching to log file entries, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole cfc61a3 22/50: Eliminate a number of order-based byte-compilation warnings,
Stefan Monnier <=
- [elpa] externals/hyperbole e3544c8 23/50: Revert improper application of "Use \\0 for matched Nth substitution", Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole f1b2cba 24/50: Add dependency on hvar to resolve use of var:remove-all (#43), Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 312c858 25/50: kexport.el - use lowercase HTML tags; mail-address ibtype allow trigger in any major mode, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole a3b9d6d 26/50: Merge branch 'master' of github.com:rswgnu/hyperbole, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 398f8e4 32/50: Add hypb:def-to-buffer to hypb.el for fast def copying, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole a831ef9 36/50: Fix bug #46606 by replacing hkey-define-key with hkey-global-set-key, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 8969fe9 43/50: Merge branch 'master' of hyperbole, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole c8947dd 47/50: Merge branch 'master' of hyperbole, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole db73cf7 19/50: Use \0 for matched Nth substitution (see also commit #c0e48fb3), Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 1826307 27/50: Resolve bug#43644 where final double quote was trimmed from strings., Stefan Monnier, 2021/03/17