diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-04 10:35:53 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-04 10:35:53 +0200 |
commit | b8c43b594e4e8bf27b1b1c1693d48f07799a1aaf (patch) | |
tree | 9ed7d710332bcc8642a762efb08876a88817b321 /etc | |
parent | b41f31d2b60269bd0e7addd1081f3738f91e76bc (diff) | |
download | emacs-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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') |