Hi,

I was trying to use the function proced-filter and pass a filter-list to it and I noticed that there is a bug in the function.

According to the documentation the filter-list can be a list of cons in the format (function . FUN) and in this case FUN should be applied to the attribute list of each process. However, if you look at the lines 1185-1188 in ./lisp/proced.el, instaed of applying the (cdr filter), (car filter) is passed to funcall which creates an error.

The (if (funcall (car filter) (cdr process)) on line 1187 should be (if (funcall (cdr filter) (cdr process)).


Best Regards,


Armin Darvish


www.armindarvish.com