summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-08-04 10:35:53 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-08-04 10:35:53 +0200
commitb8c43b594e4e8bf27b1b1c1693d48f07799a1aaf (patch)
tree9ed7d710332bcc8642a762efb08876a88817b321 /etc
parentb41f31d2b60269bd0e7addd1081f3738f91e76bc (diff)
downloademacs-b8c43b594e4e8bf27b1b1c1693d48f07799a1aaf.tar.gz
Add a new thing-at-point type: existing-filename
* doc/lispref/text.texi (Buffer Contents): Mention it. * lisp/thingatpt.el (thing-at-point-file-at-point): New function. (existing-filename): Register it.
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 18cca8b4ab3..f0fa686bc9c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2639,6 +2639,11 @@ The semantics are as with 'walk-windows'.
If non-nil, 'find-file-at-point' and friends will try to guess more
expansively to identify a file name with spaces.
++++
+*** New 'thing-at-point' target: 'existing-filename'.
+This is like 'filename', but is a full path, and is nil if the file
+doesn't exist.
+
---
*** Two new commands for centering in 'doc-view-mode'.
The new commands 'doc-view-center-page-horizontally' (bound to 'c h')