       ;; opening PDFs.
       (add-to-list 'TeX-view-program-list
                    '("TeXShop" "/usr/bin/open -a TeXShop.app %s.pdf"))
-      (map-put TeX-view-program-selection 'output-pdf '("TeXShop"))))
+      (setf (map-elt TeX-view-program-selection 'output-pdf) '("TeXShop"))))
 
   (radian-defadvice radian--advice-inhibit-tex-style-loading-message
       (TeX-load-style-file file)

  ;; so it may be controversial upstream. We only enable the
  ;; keybinding in windowed mode.
  (when (display-graphic-p)
    (map-put sp-paredit-bindings "M-[" #'sp-wrap-square))

  ;; Set up keybindings for s-expression navigation and manipulation
  ;; in the style of Paredit.

  (c-add-style "radian-bsd"
               '("bsd"
                 (c-basic-offset . 2)))
  (setf (map-elt c-default-style 'other) "radian-bsd")

  (put 'c-default-style 'safe-local-variable #'stringp)

