all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* help with function
@ 2007-11-09 21:05 someusernamehere
  2007-11-09 23:51 ` weber
  0 siblings, 1 reply; 3+ messages in thread
From: someusernamehere @ 2007-11-09 21:05 UTC (permalink / raw)
  To: help-gnu-emacs

Hey, I need some help, how I can write a simple lisp code which ask
for a value, after store in a variable, indeed I want to the value is
concatenate to an url, I have the following:

which found on google:

(defun search-word ()
 (interactive)
 (browse-url
  (concat "http://foo.bar.foobar/index.php?search="
          (thing-at-point 'word))))

but this is only with the word at point, I want ask a word, any help?

thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-10  0:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09 21:05 help with function someusernamehere
2007-11-09 23:51 ` weber
2007-11-10  0:12   ` Joost Kremers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.