comparison lisp/descr-text.el @ 94147:587f5f26f25d

(describe-char-after): Use `define-obsolete-function-alias'.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 18 Apr 2008 09:30:36 +0000
parents 273ed23a0a68
children ee5932bf781d
comparison
equal deleted inserted replaced
94146:096ad76b9ccf 94147:587f5f26f25d
218 :group 'mule 218 :group 'mule
219 :version "22.1" 219 :version "22.1"
220 :type '(choice (const :tag "None" nil) 220 :type '(choice (const :tag "None" nil)
221 file)) 221 file))
222 222
223 ;; We could convert the unidata file into a Lispy form once-for-all
224 ;; and distribute it for loading on demand. It might be made more
225 ;; space-efficient by splitting strings word-wise and replacing them
226 ;; with lists of symbols interned in a private obarray, e.g.
227 ;; "LATIN SMALL LETTER A" => '(LATIN SMALL LETTER A).
228
229 ;; Fixme: Check whether this needs updating for Unicode 4.
230 (defun describe-char-unicode-data (char) 223 (defun describe-char-unicode-data (char)
231 "Return a list of Unicode data for unicode CHAR. 224 "Return a list of Unicode data for unicode CHAR.
232 Each element is a list of a property description and the property value. 225 Each element is a list of a property description and the property value.
233 The list is null if CHAR isn't found in `describe-char-unicodedata-file'. 226 The list is null if CHAR isn't found in `describe-char-unicodedata-file'.
234 This function is semi-obsolete. Use `get-char-code-property'." 227 This function is semi-obsolete. Use `get-char-code-property'."
651 644
652 (if text-props-desc (insert text-props-desc)) 645 (if text-props-desc (insert text-props-desc))
653 (setq help-xref-stack-item (list 'help-insert-string (buffer-string))) 646 (setq help-xref-stack-item (list 'help-insert-string (buffer-string)))
654 (toggle-read-only 1))))) 647 (toggle-read-only 1)))))
655 648
656 (defalias 'describe-char-after 'describe-char) 649 (define-obsolete-function-alias 'describe-char-after 'describe-char "22.1")
657 (make-obsolete 'describe-char-after 'describe-char "22.1")
658 650
659 (provide 'descr-text) 651 (provide 'descr-text)
660 652
661 ;; arch-tag: fc55a498-f3e9-4312-b5bd-98cc02480af1 653 ;; arch-tag: fc55a498-f3e9-4312-b5bd-98cc02480af1
662 ;;; descr-text.el ends here 654 ;;; descr-text.el ends here