summaryrefslogtreecommitdiff
path: root/helm-buffers.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-11-18 06:43:44 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-11-18 06:43:44 +0100
commit851d7174c7389f4d5f14c47d014a6bb5a670eff1 (patch)
treeba77f84b8339ef2e5bac7dae0d075879968a7105 /helm-buffers.el
parent78ac22ea20d12b9cfe29edffe4ba65d0cbac2349 (diff)
Revert previous PR for now
`buffer-modified-p` returns always true on non-file buffers as soon they are modified once, it is normaly used to see if buffer have changed since its file was last read or saved. As a result we have some buffers (e.g. *messages*) marked as modified even if they have not changed since last read.
Diffstat (limited to 'helm-buffers.el')
-rw-r--r--helm-buffers.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/helm-buffers.el b/helm-buffers.el
index b2feb0da..180194ff 100644
--- a/helm-buffers.el
+++ b/helm-buffers.el
@@ -375,11 +375,6 @@ See `ido-make-buffer-list' for more infos."
(helm-buffer--show-details
name name-prefix file-name size mode dir
'helm-buffer-file 'helm-buffer-process nil details 'filebuf))
- ;; A non-file, modified buffer
- ((buffer-modified-p buf)
- (helm-buffer--show-details
- name (and proc name-prefix) dir size mode dir
- 'helm-buffer-modified 'helm-buffer-process proc details 'nofile-mod))
;; Any non--file buffer.=>italic
(t
(helm-buffer--show-details