Simplify `smex-major-mode-commands' use of `mapcar'
Simply passing a symbol to `mapcar' makes it call that symbol for each element in the list.
|@@ -118,7 +118,7 @@ Set this to nil to disable fuzzy matching."|
|(let ((commands (delete-dups (append (extract-commands-from-keymap (current-local-map))|
|(setq commands (smex-sort-according-to-cache commands))|
|- (setq commands (mapcar (lambda (command) (symbol-name command)) commands))|
|+ (setq commands (mapcar #'symbol-name commands))|
|(defun smex-completing-read (choices initial-input)|