* progmodes/subword.el (subword-mode-map): Fix subword-mode-map
generation from word-movement command names.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
|
||||
|
||||
* progmodes/subword.el (subword-mode-map): Fix subword-mode-map
|
||||
generation from word-movement command names.
|
||||
|
||||
2009-11-21 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* cedet/semantic/complete.el (semantic-complete-read-tag-engine)
|
||||
|
||||
@@ -86,10 +86,8 @@
|
||||
backward-kill-word transpose-words
|
||||
capitalize-word upcase-word downcase-word))
|
||||
(let ((othercmd (let ((name (symbol-name cmd)))
|
||||
(string-match "\\(.*-\\)\\(word.*\\)" name)
|
||||
(intern (concat (match-string 1 name)
|
||||
"sub"
|
||||
(match-string 2 name))))))
|
||||
(string-match "\\([[:alpha:]-]+\\)-word[s]?" name)
|
||||
(intern (concat "subword-" (match-string 1 name))))))
|
||||
(define-key map (vector 'remap cmd) othercmd)))
|
||||
map)
|
||||
"Keymap used in `subword-mode' minor mode.")
|
||||
|
||||
Reference in New Issue
Block a user