aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLennart Borgman2021-07-17 16:53:36 +0200
committerLars Ingebrigtsen2021-07-17 16:53:36 +0200
commit9ee418b7b95e20fa4d8ae585f33e9b5d9316bc99 (patch)
tree377c54249da1239046e30c02fdc9da9efd272a2f /etc
parentb4b0c219a15f31aecd43f81c9e87cdf4dca57e37 (diff)
downloademacs-9ee418b7b95e20fa4d8ae585f33e9b5d9316bc99.tar.gz
emacs-9ee418b7b95e20fa4d8ae585f33e9b5d9316bc99.zip
Add new function 'grep-file-at-point'
* lisp/progmodes/grep.el (grep-file-at-point): New function to return the file name at point (bug#8252).
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4bfb5b4d165..88d8fbe4b89 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1153,6 +1153,11 @@ any directory names on the 'find' command lines end in a slash.
1153This change is for better compatibility with old versions of non-GNU 1153This change is for better compatibility with old versions of non-GNU
1154'find', such as the one used on macOS. 1154'find', such as the one used on macOS.
1155 1155
1156---
1157*** New utility function 'grep-file-at-point'.
1158This returns the name of the file at point (if any) in 'grep-mode'
1159buffers.
1160
1156** Help 1161** Help
1157 1162
1158+++ 1163+++