瀏覽代碼

Add configs

master
10sr 6 年之前
父節點
當前提交
0b5828d3d0
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 10 行新增1 行删除
  1. +10
    -1
      emacs.el

+ 10
- 1
emacs.el 查看文件

@@ -742,6 +742,12 @@ found, otherwise returns nil."
;; Include some extra modes
(require 'generic-x)

(when (autoload-eval-lazily 'ggtags)
(add-hook 'c-mode-common-hook
(lambda ()
(when (derived-mode-p 'c-mode 'c++-mode 'java-mode)
(ggtags-mode 1)))))

(when (autoload-eval-lazily 'imenu-list)
(set-variable 'imenu-list-auto-resize t)
(set-variable 'imenu-list-focus-after-activation t)
@@ -1453,7 +1459,10 @@ Commands are searched from ALIST."
nil)))
(if cmd
(list (read-shell-command "grep command: "
cmd
(concat cmd
"\""
(thing-at-point 'symbol t)
"\"")
'grep-find-history))
(error "My-Rgrep: Command for rgrep not found")
)))


Loading…
取消
儲存