Skip to content


Delete trailing whitespace #15

wants to merge 1 commit into from

2 participants


No description provided.


Thanks. But not too relevant right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 31, 2012
  1. @mofaph

    Delete trailing whitespace

    mofaph committed
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.markdown
  2. +2 −2 smex.el
4 README.markdown
@@ -18,9 +18,9 @@ commands. And to all the other commands, too.
(require 'smex)
* Bind some keys:
(global-set-key (kbd "M-x") 'smex)
(global-set-key (kbd "M-X") 'smex-major-mode-commands)
;; This is your old M-x.
4 smex.el
@@ -436,13 +436,13 @@ Returns nil when reaching the end of the list."
(let ((library-path (symbol-file mode))
(mode-name (symbol-name mode))
(string-match "\\(.+?\\)\\(-mode\\)?$" mode-name)
;; 'lisp-mode' -> 'lisp'
(setq mode-name (match-string 1 mode-name))
(if (string= mode-name "c") (setq mode-name "cc"))
(setq mode-name (regexp-quote mode-name))
(dolist (feature load-history)
(let ((feature-path (car feature)))
(when (and feature-path (or (equal feature-path library-path)
Something went wrong with that request. Please try again.