• NicolasPetton's avatar
    Define `map-elt' as a generalized variable · 8b6d82d3
    NicolasPetton authored
    * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
    
    * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
    
    * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
    `setf' with `map-elt'.
    
    * test/automated/map-tests.el: Comment out `test-map-put-literal'.
    8b6d82d3
map-tests.el 10.6 KB