Browse files

Fix up broken upstream patch to get-help-buffer

(if x nil a b) was turned into (if (not x) a b)
instead of (when (not x) a b).  Resulted in local
variables being cleared in help buffer, breaking
line visitation.
  • Loading branch information...
1 parent 21b7b3b commit b15ff557defae806219f987eb6aa7a7c58aa7201 @jdtsmith committed Jun 16, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 idlw-help.el
3 idlw-help.el
@@ -327,7 +327,6 @@ Here are all keybindings.
(set (make-local-variable 'idlwave-help-in-header) nil)
(run-hooks 'idlwave-help-mode-hook))
(defvar idlwave-current-obj_new-class)
(defvar idlwave-help-diagnostics)
(defvar idlwave-experimental)
@@ -1196,7 +1195,7 @@ Useful when source code is displayed as help. See the option
(defun idlwave-help-get-help-buffer ()
"Return the IDLWAVE Help buffer. Make it first if necessary."
(let ((buf (get-buffer "*IDLWAVE Help*")))
- (if (not buf)
+ (when (not buf)
(setq buf (get-buffer-create "*IDLWAVE Help*"))
(with-current-buffer buf

0 comments on commit b15ff55

Please sign in to comment.