leoliu pushed a commit to branch master in repository elpa. commit b001d701c02e0502f06524056db7661f4e643e32 Author: Leo Liu <sdl....@gmail.com> Date: Sat Jun 14 15:36:42 2014 +0800
Fix #64: Bind M-s s to ggtags-navigation-isearch-forward Thanks to tuhdo for suggesting. --- ggtags.el | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ggtags.el b/ggtags.el index 18f47e3..3a0a0b6 100644 --- a/ggtags.el +++ b/ggtags.el @@ -1554,9 +1554,12 @@ commands `next-error' and `previous-error'. (define-key map "\M-{" 'ggtags-navigation-previous-file) (define-key map "\M->" 'ggtags-navigation-last-error) (define-key map "\M-<" 'first-error) - ;; Note: shadows `isearch-forward-regexp' but it can be invoked - ;; with C-u C-s instead. + ;; Note: shadows `isearch-forward-regexp' but it can still be + ;; invoked with `C-u C-s'. (define-key map "\C-\M-s" 'ggtags-navigation-isearch-forward) + ;; Add an alternative binding because C-M-s is reported not + ;; working on some systems. + (define-key map "\M-ss" 'ggtags-navigation-isearch-forward) (define-key map "\C-c\C-k" (lambda () (interactive) (ggtags-ensure-global-buffer (kill-compilation))))