[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: Replacing IDs with images
From: |
Michael Olson |
Subject: |
[emacs-wiki-discuss] Re: Replacing IDs with images |
Date: |
Thu, 17 Feb 2005 12:41:23 -0500 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
Sacha Chua <address@hidden> writes:
> ----------------------------------------------------------------
> You'll also want to apply this patch to emacs-wiki to center small
> images nicely.
> ----------------------------------------------------------------
>
> --- orig/emacs-wiki-colors.el
> +++ mod/emacs-wiki-colors.el
> @@ -858,7 +858,7 @@
> (if (fboundp 'create-image)
> ;; Use the much nicer `create-image'
> (add-text-properties
> - beg end (list 'display (create-image filename)
> + beg end (list 'display (create-image filename nil nil :ascent
> 'center)
> 'keymap emacs-wiki-local-map
> 'help-echo (or desc url)))
> ;; If we get a valid glyph, use it
Applied as patch-43.
--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Jabber: mwolson_at_hcoop.net -- IRC: mwolson on freenode.net: #muse, #pulug
/~ |\ | | | Interests: anime, Debian GNU/Linux, XHTML, wiki, Lisp
|_] | \| |_| Fun quotes: http://www.mwolson.org/plans/QuoteList.html
pgpB6zFbeCXal.pgp
Description: PGP signature