diff options
author | Glenn Morris <[email protected]> | 2009-09-01 16:17:53 +0000 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2009-09-01 16:17:53 +0000 |
commit | 2fb1ec93cedbc35037476cd01b197dd4d2e53434 (patch) | |
tree | 4585ba4e30b50765a2215bd4068b3a03b9a8cd81 /lisp/eshell/em-ls.el | |
parent | df78c9e35717f800240861fa9221d0bad6e24c45 (diff) |
Mark face aliases with "-face" suffix as obsolete.
Diffstat (limited to 'lisp/eshell/em-ls.el')
-rw-r--r-- | lisp/eshell/em-ls.el | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el index e346806679..3bf0bbdc61 100644 --- a/lisp/eshell/em-ls.el +++ b/lisp/eshell/em-ls.el @@ -113,56 +113,52 @@ faster and conserves more memory." (t (:weight bold))) "*The face used for highlight directories." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-directory-face 'face-alias 'eshell-ls-directory) +(define-obsolete-face-alias 'eshell-ls-directory-face + 'eshell-ls-directory "22.1") (defface eshell-ls-symlink '((((class color) (background light)) (:foreground "Dark Cyan" :weight bold)) (((class color) (background dark)) (:foreground "Cyan" :weight bold))) "*The face used for highlight symbolic links." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-symlink-face 'face-alias 'eshell-ls-symlink) +(define-obsolete-face-alias 'eshell-ls-symlink-face 'eshell-ls-symlink "22.1") (defface eshell-ls-executable '((((class color) (background light)) (:foreground "ForestGreen" :weight bold)) (((class color) (background dark)) (:foreground "Green" :weight bold))) "*The face used for highlighting executables (not directories, though)." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-executable-face 'face-alias 'eshell-ls-executable) +(define-obsolete-face-alias 'eshell-ls-executable-face + 'eshell-ls-executable "22.1") (defface eshell-ls-readonly '((((class color) (background light)) (:foreground "Brown")) (((class color) (background dark)) (:foreground "Pink"))) "*The face used for highlighting read-only files." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-readonly-face 'face-alias 'eshell-ls-readonly) +(define-obsolete-face-alias 'eshell-ls-readonly-face 'eshell-ls-readonly "22.1") (defface eshell-ls-unreadable '((((class color) (background light)) (:foreground "Grey30")) (((class color) (background dark)) (:foreground "DarkGrey"))) "*The face used for highlighting unreadable files." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-unreadable-face 'face-alias 'eshell-ls-unreadable) +(define-obsolete-face-alias 'eshell-ls-unreadable-face + 'eshell-ls-unreadable "22.1") (defface eshell-ls-special '((((class color) (background light)) (:foreground "Magenta" :weight bold)) (((class color) (background dark)) (:foreground "Magenta" :weight bold))) "*The face used for highlighting non-regular files." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-special-face 'face-alias 'eshell-ls-special) +(define-obsolete-face-alias 'eshell-ls-special-face 'eshell-ls-special "22.1") (defface eshell-ls-missing '((((class color) (background light)) (:foreground "Red" :weight bold)) (((class color) (background dark)) (:foreground "Red" :weight bold))) "*The face used for highlighting non-existent file names." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-missing-face 'face-alias 'eshell-ls-missing) +(define-obsolete-face-alias 'eshell-ls-missing-face 'eshell-ls-missing "22.1") (defcustom eshell-ls-archive-regexp (concat "\\.\\(t\\(a[rz]\\|gz\\)\\|arj\\|lzh\\|" @@ -178,8 +174,7 @@ files." (((class color) (background dark)) (:foreground "Orchid" :weight bold))) "*The face used for highlighting archived and compressed file names." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-archive-face 'face-alias 'eshell-ls-archive) +(define-obsolete-face-alias 'eshell-ls-archive-face 'eshell-ls-archive "22.1") (defcustom eshell-ls-backup-regexp "\\(\\`\\.?#\\|\\(\\.bak\\|~\\)\\'\\)" @@ -192,8 +187,7 @@ files." (((class color) (background dark)) (:foreground "LightSalmon"))) "*The face used for highlighting backup file names." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-backup-face 'face-alias 'eshell-ls-backup) +(define-obsolete-face-alias 'eshell-ls-backup-face 'eshell-ls-backup "22.1") (defcustom eshell-ls-product-regexp "\\.\\(elc\\|o\\(bj\\)?\\|a\\|lib\\|res\\)\\'" @@ -208,8 +202,7 @@ ought to be recreatable if they are deleted." (((class color) (background dark)) (:foreground "LightSalmon"))) "*The face used for highlighting files that are build products." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-product-face 'face-alias 'eshell-ls-product) +(define-obsolete-face-alias 'eshell-ls-product-face 'eshell-ls-product "22.1") (defcustom eshell-ls-clutter-regexp "\\(^texput\\.log\\|^core\\)\\'" @@ -224,8 +217,7 @@ really need to stick around for very long." (((class color) (background dark)) (:foreground "OrangeRed" :weight bold))) "*The face used for highlighting junk file names." :group 'eshell-ls) -;; backward-compatibility alias -(put 'eshell-ls-clutter-face 'face-alias 'eshell-ls-clutter) +(define-obsolete-face-alias 'eshell-ls-clutter-face 'eshell-ls-clutter "22.1") (defsubst eshell-ls-filetype-p (attrs type) "Test whether ATTRS specifies a directory." |