[devhelp] [emacs] Do not clobber the global w binding (GNOME bug 587984)



commit cd3739c8cb6813fb8e220a0949b3340803ae23c7
Author: Gustavo Noronha Silva <kov debian org>
Date:   Thu Aug 27 11:32:32 2009 +0200

    [emacs] Do not clobber the global w binding (GNOME bug 587984)

 misc/devhelp.el |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/misc/devhelp.el b/misc/devhelp.el
index 1a97da2..705f4c7 100644
--- a/misc/devhelp.el
+++ b/misc/devhelp.el
@@ -4,8 +4,7 @@
 (defun devhelp-word-at-point ()
   "Searches for the current word in Devhelp"
   (interactive)
-  (setq w (current-word))
-  (start-process-shell-command "devhelp" nil "devhelp" "-s" w)
+  (start-process-shell-command "devhelp" nil "devhelp" "-s" (current-word))
   (set-process-query-on-exit-flag (get-process "devhelp") nil)
   )
 (defun devhelp-assistant-word-at-point ()



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