Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
morioka
committed
Mar 9, 1998
1 parent
7ac0a2f
commit ed40b70
Showing
3 changed files
with
51 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
;;; | ||
;;; emu-xemacs: Emacs 19 emulation module for XEmacs | ||
;;; | ||
;;; $Id$ | ||
;;; | ||
|
||
(or (fboundp 'face-list) | ||
(defalias 'face-list 'list-faces) | ||
) | ||
|
||
(or (memq 'underline (face-list)) | ||
(and (fboundp 'make-face) | ||
(make-face 'underline) | ||
)) | ||
|
||
(or (face-differs-from-default-p 'underline) | ||
(set-face-underline-p 'underline t)) | ||
|
||
(or (fboundp 'set-text-properties) | ||
(defun set-text-properties (start end props &optional buffer) | ||
(if (or (null buffer) (bufferp buffer)) | ||
(if props | ||
(while props | ||
(put-text-property | ||
start end (car props) (nth 1 props) buffer) | ||
(setq props (nthcdr 2 props))) | ||
(remove-text-properties start end ()) | ||
))) | ||
) | ||
|
||
(defalias 'make-overlay 'make-extent) | ||
(defalias 'overlay-put 'set-extent-property) | ||
|
||
(defun move-overlay (extent start end &optional buffer) | ||
(set-extent-endpoints extent start end) | ||
) | ||
|
||
(provide 'emu-xemacs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters