diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6703d907753..f36ffa80ef3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2009-12-03 Roland Winkler + + * proced.el (proced-filter-alist): Use regexp-quote. + 2009-12-03 Michael Albinus Cleanup. diff --git a/lisp/proced.el b/lisp/proced.el index fd3e4ab706e..00c55bd254a 100644 --- a/lisp/proced.el +++ b/lisp/proced.el @@ -265,8 +265,8 @@ It can also be a list of keys appearing in `proced-grammar-alist'." ;; FIXME: is there a better name for filter `user' that does not coincide ;; with an attribute key? (defcustom proced-filter-alist - `((user (user . ,(concat "\\`" (user-real-login-name) "\\'"))) - (user-running (user . ,(concat "\\`" (user-real-login-name) "\\'")) + `((user (user . ,(concat "\\`" (regexp-quote (user-real-login-name)) "\\'"))) + (user-running (user . ,(concat "\\`" (regexp-quote (user-real-login-name)) "\\'")) (state . "\\`[Rr]\\'")) (all) (all-running (state . "\\`[Rr]\\'"))