emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/idlwave b15ff557de 268/360: Fix up broken upstream patc


From: ELPA Syncer
Subject: [elpa] externals/idlwave b15ff557de 268/360: Fix up broken upstream patch to get-help-buffer
Date: Sun, 28 Apr 2024 00:59:32 -0400 (EDT)

branch: externals/idlwave
commit b15ff557defae806219f987eb6aa7a7c58aa7201
Author: JD Smith <jdtsmith@gmail.com>
Commit: JD Smith <jdtsmith@gmail.com>

    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.
---
 idlw-help.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/idlw-help.el b/idlw-help.el
index 0311a2345e..3f3f03e87d 100644
--- a/idlw-help.el
+++ b/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
        (idlwave-help-mode)))



reply via email to

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