Package manager for emacs 24 and a shortcut for query-replace-regexp
This commit is contained in:
parent
b8b2a56878
commit
2b14a525c4
11
emacs
11
emacs
|
@ -236,3 +236,14 @@
|
|||
(let ((matching-text (blink-matching-open)))
|
||||
(when matching-text
|
||||
(message matching-text)))))
|
||||
|
||||
;; As C-M-% is almost impossible to type in a terminal emulator:
|
||||
(global-set-key "\C-x\M-%" 'query-replace-regexp)
|
||||
|
||||
(when (>= emacs-major-version 24)
|
||||
(require 'package)
|
||||
(package-initialize)
|
||||
(add-to-list 'package-archives
|
||||
'("melpa-stable" . "http://melpa-stable.milkbox.net/packages/") t)
|
||||
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue