Skip to content

Commit

Permalink
bindings for grep-a-lot are not working on carbon emacs
Browse files Browse the repository at this point in the history
  • Loading branch information
adolfosousa committed Feb 17, 2010
1 parent 665499f commit fb063a0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions grep-a-lot.el
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
;; (grep-a-lot-advise igrep)
;;
;; Currently, there are no customization options.
;;
;;
;; Default Key Bindings:
;;
;; Ring navigation:
Expand Down Expand Up @@ -191,7 +191,7 @@ Return -1 if NAME is does not match `grep-a-lot-buffer-name-regexp'."
"Select previous buffer as current, in case current buffer is being killed."
(if (and (grep-a-lot-buffer-p) grep-a-lot-is-current-buffer)
(grep-a-lot-set-current-buffer (grep-a-lot-prev-buffer))))

(defun grep-a-lot-grep-setup-hook ()
"Setup buffer local storage of original buffer context."
;; grep-a-lot-context-initial is supposed to be set already by advised grep functions
Expand Down Expand Up @@ -286,11 +286,12 @@ so as to enable multiple search results buffers."

(defun grep-a-lot-setup-keys()
"Define some key bindings for navigating multiple
grep search results buffers."
(define-key esc-map "g]" 'grep-a-lot-goto-next)
(define-key esc-map "g[" 'grep-a-lot-goto-prev)
(define-key esc-map "g-" 'grep-a-lot-pop-stack)
(define-key esc-map "g_" 'grep-a-lot-clear-stack)
(define-key esc-map "g=" 'grep-a-lot-restart-context))
grep search results buffers."
; (define-key esc-map "g]" 'grep-a-lot-goto-next)
; (define-key esc-map "g[" 'grep-a-lot-goto-prev)
; (define-key esc-map "g-" 'grep-a-lot-pop-stack)
; (define-key esc-map "g_" 'grep-a-lot-clear-stack)
; (define-key esc-map "g=" 'grep-a-lot-restart-context)
)

(provide 'grep-a-lot)

0 comments on commit fb063a0

Please sign in to comment.