     [remap previous-line] 'dired-previous-line
     ;; hiding
     "$" 'dired-hide-subdir
-    "\M-$" 'dired-hide-all
+    (kbd "M-$") 'dired-hide-all
     "(" 'dired-hide-details-mode
     ;; isearch
     (kbd "M-s a C-s")   'dired-do-isearch

    "m" 'dired-mark
    "n" 'dired-next-line
    "o" 'dired-find-file-other-window
    "\C-o" 'dired-display-file
    "p" 'dired-previous-line
    "s" 'dired-sort-toggle-or-edit
    "t" 'dired-toggle-marks
    "u" 'dired-unmark
    "v" 'dired-view-file
    "w" 'dired-copy-filename-as-kill
    "W" 'browse-url-of-dired-file
    "x" 'dired-do-flagged-delete
    "y" 'dired-show-file-type
    "+" 'dired-create-directory
    ;; moving
    "<" 'dired-prev-dirline
    ">" 'dired-next-dirline

    ;; Comparison commands
    "=" 'dired-diff
    ;; Tree Dired commands
    (kbd "M-C-?") 'dired-unmark-all-files
    (kbd "M-C-d") 'dired-tree-down
    (kbd "M-C-u") 'dired-tree-up
    (kbd "M-C-n") 'dired-next-subdir
    (kbd "M-C-p") 'dired-prev-subdir
    ;; move to marked files
    (kbd "M-{") 'dired-prev-marked-file
    (kbd "M-}") 'dired-next-marked-file
    ;; Make all regexp commands share a `%' prefix:
    ;; We used to get to the submap via a symbol dired-regexp-prefix,
    ;; but that seems to serve little purpose, and copy-keymap
