Changeset 20874
- Timestamp:
- 10/07/08 07:41:02 (2 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/gauche/oldtype/trunk/Kahua/oldtype/oldtype/oldtype-mode.el
r20398 r20874 29 29 ;; 30 30 ;; ChangeLog: 31 ;; [0.0.8] 32 ;; 1. Fixed bug: illegal ASINCODE of amazon and VIDEOCODE of youtube use for image file creation. 33 ;; 31 34 ;; [0.0.7] 32 35 ;; 1. Fixed bug: Added The '-' character to ASINCODE of amazon and VIDEOCODE of youtube. … … 54 57 ;; 55 58 ;; 56 (defconst oldtype-version "0.0. 7")59 (defconst oldtype-version "0.0.8") 57 60 58 61 (defconst oldtype-wikiname-face 'oldtype-wikiname-face) … … 358 361 ;; 359 362 (defun amazon-asincode-to-url (asincode) 360 (format "http://images.amazon.com/images/P/%s.09.MZZZZZZZ_.jpg" asincode)) 363 (if (string-match "^[a-zA-Z0-9-]+$" asincode) 364 (format "http://images.amazon.com/images/P/%s.09.MZZZZZZZ_.jpg" asincode) 365 nil)) 361 366 362 367 (defun youtube-video-to-url (videocode) 363 (format "http://img.youtube.com/vi/%s/1.jpg" videocode)) 368 (if (string-match "^[a-zA-Z0-9-]+$" asincode) 369 (format "http://img.youtube.com/vi/%s/1.jpg" videocode) 370 nil)) 364 371 365 372 (defun code-linep (pos) … … 440 447 ((youtube-m amazon-m) 441 448 (int-to-string oldtype-image-height-m))))) 442 (oldtype-compose-region-with-image beg end oldtype-image-icon-string image-url nil height)) 449 (if image-url 450 (oldtype-compose-region-with-image beg end oldtype-image-icon-string image-url nil height))) 443 451 t) 444 452
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)