【咨询】在 Emacs 中查找代码片段

/usr/bin/ld: /tmp/ccn4tEjb.o:(.bss+0x0): multiple definition of `website_settings'; /tmp/ccEuvwak.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [makefile:9: install] Error 1

在使用 C语言开发的时候遇到了标识符重定义问题,现在我希望能够把代码里面全部的 website_settings 找出来,有什么好办法吗?

color-rg.el ?

2 个赞

我能用 grep -r ‘xxx’ . 解决 就是图个省事的方法(哈哈哈)

偶尔手搓代码还可以,天天手搓那不得疯啊 :laughing:

color-rg 已经很省事了,你用了吗?

1 个赞

会去试一试,现在正在集中精力解决BUG