Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Delete trailing whitespace #15

Closed
wants to merge 1 commit into from

2 participants

mofaph nonsequitur
mofaph

No description provided.

nonsequitur
Owner

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 authored
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
View
@@ -18,9 +18,9 @@ commands. And to all the other commands, too.
(require 'smex)
(smex-initialize)
-
+
* 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
View
@@ -436,13 +436,13 @@ Returns nil when reaching the end of the list."
(let ((library-path (symbol-file mode))
(mode-name (symbol-name mode))
commands)
-
+
(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.