emacs-devel
[Top][All Lists]
Advanced

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

Strange keymapp behavior: What am I missing?


From: T.V Raman
Subject: Strange keymapp behavior: What am I missing?
Date: Mon, 25 Jul 2022 16:47:52 -0700

(keymapp outline-mode-prefix-map) evals to T
however, evaluating the following forms --- mapcar and cl-loop 
both show (keymapp map) where map is the loop variable returns nil!
 
(cl-loop
 for map in '(outline-navigation-repeat-map outline-mode-prefix-map)
 collect
 (format "%s: %s" map (keymapp map)))
returns: ("outline-navigation-repeat-map: nil" "outline-mode-prefix-map: nil")


(keymapp outline-mode-prefix-map) T

(mapcar
 #'(lambda (map)
     (message "%s: %s" map (keymapp map)))
 '(outline-navigation-repeat-map outline-mode-prefix-map))
Returns 
("outline-navigation-repeat-map: nil" "outline-mode-prefix-map: nil")
("outline-navigation-repeat-map: nil" "outline-mode-prefix-map: nil")


-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮



reply via email to

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