diff options
| author | Gerd Moellmann | 2001-10-05 09:32:11 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-10-05 09:32:11 +0000 |
| commit | 0dd7b8f0e7346bb1899faa2e0c1bdf98794d17e6 (patch) | |
| tree | 9ad91776b651f7d9de2f37c2903a0640b64b5c0e | |
| parent | d7f519edc1129145799b42794a35df7c0460a043 (diff) | |
| download | emacs-0dd7b8f0e7346bb1899faa2e0c1bdf98794d17e6.tar.gz emacs-0dd7b8f0e7346bb1899faa2e0c1bdf98794d17e6.zip | |
Use facep iso find-face.
| -rw-r--r-- | lisp/emacs-lisp/lselect.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/lselect.el b/lisp/emacs-lisp/lselect.el index bb6f776a13b..693e6474f0a 100644 --- a/lisp/emacs-lisp/lselect.el +++ b/lisp/emacs-lisp/lselect.el | |||
| @@ -29,17 +29,17 @@ | |||
| 29 | 29 | ||
| 30 | ;;; Code: | 30 | ;;; Code: |
| 31 | 31 | ||
| 32 | ;;; The selection code requires us to use certain symbols whose names are | 32 | ;; The selection code requires us to use certain symbols whose names are |
| 33 | ;;; all upper-case; this may seem tasteless, but it makes there be a 1:1 | 33 | ;; all upper-case; this may seem tasteless, but it makes there be a 1:1 |
| 34 | ;;; correspondence between these symbols and X Atoms (which are upcased.) | 34 | ;; correspondence between these symbols and X Atoms (which are upcased.) |
| 35 | 35 | ||
| 36 | (defalias 'x-get-cutbuffer 'x-get-cut-buffer) | 36 | (defalias 'x-get-cutbuffer 'x-get-cut-buffer) |
| 37 | (defalias 'x-store-cutbuffer 'x-set-cut-buffer) | 37 | (defalias 'x-store-cutbuffer 'x-set-cut-buffer) |
| 38 | 38 | ||
| 39 | (or (find-face 'primary-selection) | 39 | (or (facep 'primary-selection) |
| 40 | (make-face 'primary-selection)) | 40 | (make-face 'primary-selection)) |
| 41 | 41 | ||
| 42 | (or (find-face 'secondary-selection) | 42 | (or (facep 'secondary-selection) |
| 43 | (make-face 'secondary-selection)) | 43 | (make-face 'secondary-selection)) |
| 44 | 44 | ||
| 45 | (defun x-get-secondary-selection () | 45 | (defun x-get-secondary-selection () |
| @@ -179,7 +179,7 @@ secondary selection instead of the primary selection." | |||
| 179 | ;(setq x-sent-selection-hooks 'x-notice-selection-failures) | 179 | ;(setq x-sent-selection-hooks 'x-notice-selection-failures) |
| 180 | 180 | ||
| 181 | 181 | ||
| 182 | ;;; Random utility functions | 182 | ;; Random utility functions |
| 183 | 183 | ||
| 184 | (defun x-kill-primary-selection () | 184 | (defun x-kill-primary-selection () |
| 185 | "If there is a selection, delete the text it covers, and copy it to | 185 | "If there is a selection, delete the text it covers, and copy it to |