help-gnu-emacs
[Top][All Lists]
Advanced

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

help with function


From: someusernamehere
Subject: help with function
Date: Fri, 09 Nov 2007 13:05:48 -0800
User-agent: G2/1.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]