[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

New advice for forward-button



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think I got this right, and did enough error checking. backward-button calls forward-button,
so that is taken care of as well. I'm not sure which file to put it
in to create a patch, but here it is:

(defadvice forward-button (after emacspeak pre act comp)
  "Speak the button."
  (when (interactive-p)
    (condition-case nil
	(let* ((button (button-at (point)))
	       (start (button-start button))
	       (end (button-end button)))
	  (dtk-speak (buffer-substring start end)))
      (error nil))))
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkjVYkkACgkQTsjaYASMWKQHzACePzesFF/z+CkC0+ML8oG9l0g/
LbkAn3IiPVgkTQollQ0lC9p8TM/tvL8J
=yoDj
-----END PGP SIGNATURE-----

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog