]> git.eshelyaron.com Git - emacs.git/commit
Fix ibuffer-mark-by-file-name-regexp abbreviations
authorBasil L. Contovounesios <contovob@tcd.ie>
Sun, 17 Jan 2021 15:53:53 +0000 (15:53 +0000)
committerBasil L. Contovounesios <contovob@tcd.ie>
Mon, 18 Jan 2021 17:58:42 +0000 (17:58 +0000)
commit8f4b3b812aab62a5a205bc2f8690c3b4c460ba09
tree7ac73d2a4aa5718a11541551d3bde1e9ba89c6e3
parentbdb9889f784dc6113a74c259a53cf0623e49ab2d
Fix ibuffer-mark-by-file-name-regexp abbreviations

* lisp/ibuffer.el (ibuffer--abbreviate-file-name): New function.
(filename): Use it.
* lisp/ibuf-ext.el (ibuffer-mark-by-file-name-regexp): Prefer
read-regexp over read-string for reading regexps.  Determine file
name using ibuffer-buffer-file-name for consistency.  Abbreviate
file name using ibuffer-directory-abbrev-alist (bug#18859).
lisp/ibuf-ext.el
lisp/ibuffer.el