diff options
| author | Leo Liu | 2013-12-17 23:15:00 +0800 |
|---|---|---|
| committer | Leo Liu | 2013-12-17 23:15:00 +0800 |
| commit | 2b84d7639569b9476aa32c8301cb25dd58792e0f (patch) | |
| tree | a35ee52f7561aaf9faf255217c8c862f285fda92 | |
| parent | e2f6a0bc3478ee7a0fcfc31e77316aa2e054a162 (diff) | |
| download | emacs-2b84d7639569b9476aa32c8301cb25dd58792e0f.tar.gz emacs-2b84d7639569b9476aa32c8301cb25dd58792e0f.zip | |
* net/rcirc.el (rcirc-add-face):
* eshell/em-prompt.el (eshell-emit-prompt):
* eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
Fixes: debbugs:16167
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/eshell/em-ls.el | 2 | ||||
| -rw-r--r-- | lisp/eshell/em-prompt.el | 2 | ||||
| -rw-r--r-- | lisp/net/rcirc.el | 9 |
4 files changed, 14 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 728405eeb2e..23c146fb128 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-12-17 Leo Liu <sdl.web@gmail.com> | ||
| 2 | |||
| 3 | * net/rcirc.el (rcirc-add-face): | ||
| 4 | * eshell/em-prompt.el (eshell-emit-prompt): | ||
| 5 | * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face. | ||
| 6 | (Bug#16167) | ||
| 7 | |||
| 1 | 2013-12-17 Chong Yidong <cyd@gnu.org> | 8 | 2013-12-17 Chong Yidong <cyd@gnu.org> |
| 2 | 9 | ||
| 3 | * files.el (break-hardlink-on-save): Doc fix (Bug#13801). | 10 | * files.el (break-hardlink-on-save): Doc fix (Bug#13801). |
diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el index 06c519c104b..34ca3b39eb2 100644 --- a/lisp/eshell/em-ls.el +++ b/lisp/eshell/em-ls.el | |||
| @@ -919,7 +919,7 @@ to use, and each member of which is the width of that column | |||
| 919 | value))))) | 919 | value))))) |
| 920 | (if face | 920 | (if face |
| 921 | (add-text-properties 0 (length (car file)) | 921 | (add-text-properties 0 (length (car file)) |
| 922 | (list 'face face) | 922 | (list 'font-lock-face face) |
| 923 | (car file))))) | 923 | (car file))))) |
| 924 | (car file)) | 924 | (car file)) |
| 925 | 925 | ||
diff --git a/lisp/eshell/em-prompt.el b/lisp/eshell/em-prompt.el index e79c7d7ba63..1092eb5b4de 100644 --- a/lisp/eshell/em-prompt.el +++ b/lisp/eshell/em-prompt.el | |||
| @@ -124,7 +124,7 @@ arriving, or after." | |||
| 124 | (and eshell-highlight-prompt | 124 | (and eshell-highlight-prompt |
| 125 | (add-text-properties 0 (length prompt) | 125 | (add-text-properties 0 (length prompt) |
| 126 | '(read-only t | 126 | '(read-only t |
| 127 | face eshell-prompt | 127 | font-lock-face eshell-prompt |
| 128 | front-sticky (face read-only) | 128 | front-sticky (face read-only) |
| 129 | rear-nonsticky (face read-only)) | 129 | rear-nonsticky (face read-only)) |
| 130 | prompt)) | 130 | prompt)) |
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index f7d43989868..fa15e68baa8 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -2361,10 +2361,11 @@ keywords when no KEYWORD is given." | |||
| 2361 | (let ((pos start) | 2361 | (let ((pos start) |
| 2362 | next prop) | 2362 | next prop) |
| 2363 | (while (< pos end) | 2363 | (while (< pos end) |
| 2364 | (setq prop (get-text-property pos 'face object) | 2364 | (setq prop (get-text-property pos 'font-lock-face object) |
| 2365 | next (next-single-property-change pos 'face object end)) | 2365 | next (next-single-property-change pos 'font-lock-face object end)) |
| 2366 | (unless (member name (get-text-property pos 'face object)) | 2366 | (unless (member name (get-text-property pos 'font-lock-face object)) |
| 2367 | (add-text-properties pos next (list 'face (cons name prop)) object)) | 2367 | (add-text-properties pos next |
| 2368 | (list 'font-lock-face (cons name prop)) object)) | ||
| 2368 | (setq pos next))))) | 2369 | (setq pos next))))) |
| 2369 | 2370 | ||
| 2370 | (defun rcirc-facify (string face) | 2371 | (defun rcirc-facify (string face) |