Mercurial > hg > xemacs-beta
comparison lisp/obsolete.el @ 5328:dae3d95cf319
Merge.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 02 Jan 2011 02:32:59 +0000 |
parents | d1b17a33450b |
children | ed74d2ca7082 89331fa1c819 |
comparison
equal
deleted
inserted
replaced
5326:60ba780f9078 | 5328:dae3d95cf319 |
---|---|
241 (make-obsolete | 241 (make-obsolete |
242 'obsolete-throw | 242 'obsolete-throw |
243 "it says `obsolete' in the name, you know you shouldn't be using this.") | 243 "it says `obsolete' in the name, you know you shouldn't be using this.") |
244 | 244 |
245 (define-compatible-function-alias 'cl-mapc 'mapc) | 245 (define-compatible-function-alias 'cl-mapc 'mapc) |
246 | |
247 ;; XEmacs; old compiler macros meant that this was called directly | |
248 ;; from compiled code, and we need to provide a version of it for a | |
249 ;; couple of years at least because of that. Aidan Kehoe, Mon Oct 4 | |
250 ;; 12:06:41 IST 2010 | |
251 (defun cl-delete-duplicates (cl-seq cl-keys cl-copy) | |
252 (apply (if cl-copy #'remove-duplicates #'delete-duplicates) cl-seq cl-keys)) | |
253 | |
254 (make-obsolete 'cl-delete-duplicates 'delete-duplicates) | |
246 | 255 |
247 ; old names | 256 ; old names |
248 (define-compatible-function-alias 'byte-code-function-p | 257 (define-compatible-function-alias 'byte-code-function-p |
249 'compiled-function-p) ;FSFmacs | 258 'compiled-function-p) ;FSFmacs |
250 | 259 |
431 (define-compatible-function-alias 'process-get 'get) | 440 (define-compatible-function-alias 'process-get 'get) |
432 (define-compatible-function-alias 'process-put 'put) | 441 (define-compatible-function-alias 'process-put 'put) |
433 (define-compatible-function-alias 'process-plist 'object-plist) | 442 (define-compatible-function-alias 'process-plist 'object-plist) |
434 (define-compatible-function-alias 'set-process-plist 'object-setplist) | 443 (define-compatible-function-alias 'set-process-plist 'object-setplist) |
435 | 444 |
445 (define-function 'memql 'member*) | |
446 (make-compatible 'memql "use the more full-featured `member*' instead.") | |
447 | |
436 (provide 'obsolete) | 448 (provide 'obsolete) |
437 ;;; obsolete.el ends here | 449 ;;; obsolete.el ends here |