Pārlūkot izejas kodu

fix search f

pull/1/head
10sr pirms 11 gadiem
vecāks
revīzija
2a4201e74a
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      emacs.el

+ 2
- 2
emacs.el Parādīt failu

@@ -902,14 +902,14 @@ If called intearctively, find word at point."
(if (and (require 'gtags nil t)
(gtags-get-rootpath))
(gtags-goto-tag word "s")
(require 'grep)
(if (eq 0
(shell-command "git rev-parse --git-dir"))
(compilation-start (format "git --no-pager grep -nH -e '%s'"
word)
'grep-mode)
;; TODO: handle ack
(grep (format "%s '%s' -r ."
grep-command
(grep (format "grep -nH -e '%s' -r ."
word))))
(message "No word at point.")
nil))


Notiek ielāde…
Atcelt
Saglabāt