conao3 / leaf-keywords.el

Additional leaf.el keywords for external packages
GNU General Public License v3.0
31 stars 10 forks source link

:combo keyword ignore first combo setting #157

Closed yonta closed 1 month ago

yonta commented 1 month ago

The :combo keyword ignore first setting.

minimal leaf-expand example

(leaf key-combo
  :combo (("="   . (" = " " == " " === " ))
          ("=>"  . " => ")))

;; --------------------------------------------------------------------------------

(prog1 'key-combo
  (key-combo-define global-map "=>" " => "))

environment

conao3 commented 1 month ago

Confirmed; This behavior also described testcase. (I don't know why I have not catch) https://github.com/conao3/leaf-keywords.el/blob/febda9969046019aae3bf3b7d1f042e9dbef2af9/leaf-keywords-tests.el#L587-L607

conao3 commented 1 month ago

@yonta thanks reporting this! I have pushed patch, please try it

yonta commented 1 month ago

Thansk to fix!