mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
Merge pull request from skangas/ci
GitHub-reference: https://github.com/jwiegley/use-package/issues/1013
This commit is contained in:
commit
5dad5ff0fe
2 changed files with 18 additions and 11 deletions
|
|
@ -223,7 +223,7 @@ See `bind-key' for more details."
|
|||
In contrast to `define-key', this function removes the binding from the keymap."
|
||||
(define-key keymap key nil)
|
||||
;; Split M-key in ESC key
|
||||
(setq key (mapcan (lambda (k)
|
||||
(setq key (cl-mapcan (lambda (k)
|
||||
(if (and (integerp k) (/= (logand k ?\M-\0) 0))
|
||||
(list ?\e (logxor k ?\M-\0))
|
||||
(list k)))
|
||||
|
|
|
|||
|
|
@ -53,11 +53,18 @@
|
|||
;; iterating over them to "disable all themes" won't disable it.
|
||||
(setq custom-enabled-themes (remq 'use-package custom-enabled-themes))
|
||||
|
||||
(if (and (eq emacs-major-version 24) (eq emacs-minor-version 3))
|
||||
(eval-when-compile
|
||||
(if (and (eq emacs-major-version 24) (eq emacs-minor-version 3))
|
||||
(progn
|
||||
(defsubst hash-table-keys (hash-table)
|
||||
"Return a list of keys in HASH-TABLE."
|
||||
(cl-loop for k being the hash-keys of hash-table collect k))
|
||||
(eval-when-compile (require 'subr-x)))
|
||||
(defsubst string-suffix-p (suffix string &optional ignore-case)
|
||||
(let ((start-pos (- (length string) (length suffix))))
|
||||
(and (>= start-pos 0)
|
||||
(eq t (compare-strings suffix nil nil
|
||||
string start-pos nil ignore-case))))))
|
||||
(require 'subr-x)))
|
||||
|
||||
(eval-when-compile
|
||||
(require 'regexp-opt))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue