diff options
| author | John Paul Wallington | 2008-04-30 23:55:05 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2008-04-30 23:55:05 +0000 |
| commit | b4c5fc9ff1df6799c2b69a3e56de85bfb701e9d2 (patch) | |
| tree | 59b66bf433fcd843a20f1f96fc7c30f4a9702249 | |
| parent | 97e089f64dd3d339c926bcd8dbe79ecfaf26f350 (diff) | |
| download | emacs-b4c5fc9ff1df6799c2b69a3e56de85bfb701e9d2.tar.gz emacs-b4c5fc9ff1df6799c2b69a3e56de85bfb701e9d2.zip | |
(define-ibuffer-column filename): When the major mode is `vc-dir-mode'
show the buffer's default directory.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e22f4cb2ba7..a4db6dcb6a0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-04-30 John Paul Wallington <jpw@pobox.com> | ||
| 2 | |||
| 3 | * ibuffer.el (define-ibuffer-column filename): When the major mode | ||
| 4 | is `vc-dir-mode' show the buffer's default directory. | ||
| 5 | |||
| 1 | 2008-04-30 Sam Steingold <sds@gnu.org> | 6 | 2008-04-30 Sam Steingold <sds@gnu.org> |
| 2 | 7 | ||
| 3 | * vc.el (vc-dir-delete-file): Add. | 8 | * vc.el (vc-dir-delete-file): Add. |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 4aafea04855..fbd3769edd7 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -1759,6 +1759,8 @@ If point is on a group name, this function operates on that group." | |||
| 1759 | (if (stringp dired-directory) | 1759 | (if (stringp dired-directory) |
| 1760 | dired-directory | 1760 | dired-directory |
| 1761 | (car dired-directory))) | 1761 | (car dired-directory))) |
| 1762 | (and (eq major-mode 'vc-dir-mode) | ||
| 1763 | (bound-and-true-p default-directory)) | ||
| 1762 | "")))) | 1764 | "")))) |
| 1763 | 1765 | ||
| 1764 | (define-ibuffer-column filename-and-process | 1766 | (define-ibuffer-column filename-and-process |