emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105292: (proced-update): Revert yest


From: Lars Magne Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105292: (proced-update): Revert yesterday's bug#1779 patch, which apparently didn't work.
Date: Wed, 20 Jul 2011 11:53:51 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105292
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Wed 2011-07-20 11:53:51 +0200
message:
  (proced-update): Revert yesterday's bug#1779 patch, which apparently didn't 
work.
modified:
  lisp/ChangeLog
  lisp/proced.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-07-20 09:10:10 +0000
+++ b/lisp/ChangeLog    2011-07-20 09:53:51 +0000
@@ -1,3 +1,8 @@
+2011-07-20  Lars Magne Ingebrigtsen  <address@hidden>
+
+       * proced.el (proced-update): Revert yesterday's bug#1779 patch,
+       which apparently didn't work.
+
 2011-07-19  Roland Winkler  <address@hidden>
 
        * proced.el (proced-send-signal): For *Marked Processes* buffer

=== modified file 'lisp/proced.el'
--- a/lisp/proced.el    2011-07-20 01:09:31 +0000
+++ b/lisp/proced.el    2011-07-20 09:53:51 +0000
@@ -1509,16 +1509,6 @@
     (if (string-match "[ \t]+$" proced-header-line)
         (setq proced-header-line (substring proced-header-line 0
                                             (match-beginning 0))))
-     (setq proced-header-line (concat "  " proced-header-line))
-     ;; From buff-menu.el: Turn whitespace chars in the header into
-     ;; stretch specs so they work regardless of the header-line face.
-     (let ((pos 0)
-         (header proced-header-line))
-       (while (string-match "[ \t\n]+" header pos)
-         (setq pos (match-end 0))
-         (put-text-property (match-beginning 0) pos 'display
-                            (list 'space :align-to pos)
-                            header)))
     ;; (delete-trailing-whitespace)
     (goto-char (point-min))
     (while (re-search-forward "[ \t\r]+$" nil t)
@@ -1612,6 +1602,7 @@
     (while (not (eobp))
       (insert "  ")
       (forward-line))
+    (setq proced-header-line (concat "  " proced-header-line))
     (if revert (set-buffer-modified-p nil))
 
     ;; set `goal-column'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]