[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/idlwave 8b462f73d9 256/360: Let arrows work correctly i
From: |
ELPA Syncer |
Subject: |
[elpa] externals/idlwave 8b462f73d9 256/360: Let arrows work correctly if no process in *idl* |
Date: |
Sun, 28 Apr 2024 00:59:30 -0400 (EDT) |
branch: externals/idlwave
commit 8b462f73d9ed45dd3427e863d485a86f668fc9cc
Author: JD Smith <jdtsmith@gmail.com>
Commit: JD Smith <jdtsmith@gmail.com>
Let arrows work correctly if no process in *idl*
---
idlw-shell.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/idlw-shell.el b/idlw-shell.el
index 332616fc98..7ee3f3b74c 100644
--- a/idlw-shell.el
+++ b/idlw-shell.el
@@ -1472,12 +1472,14 @@ when the IDL prompt gets displayed again after the
current IDL command."
"When in last line of process buffer, do `comint-previous-input'.
Otherwise just move the line. Move down unless UP is non-nil.
Move normally inside of blocks, unless NOBLOCK-MOVE is non-nil."
- (let* ((proc-pos (marker-position
- (process-mark (get-buffer-process (current-buffer)))))
+ (let* ((proc (get-buffer-process (current-buffer)))
+ (proc-pos (if proc (marker-position (process-mark proc))))
(arg (or arg 1))
(arg (if up arg (- arg))))
+
(if (eq t idlwave-shell-arrows-do-history) (goto-char proc-pos))
- (if (and idlwave-shell-arrows-do-history
+ (if (and proc
+ idlwave-shell-arrows-do-history
(or noblock-move
(if up
(= (line-number-at-pos) (line-number-at-pos proc-pos))
- [elpa] externals/idlwave 6adfc1a3a1 299/360: Clean comments and definitions, (continued)
- [elpa] externals/idlwave 6adfc1a3a1 299/360: Clean comments and definitions, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 164b56ace2 284/360: Add link path information., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave a6a54081e6 265/360: Handle pesky random C-M's by removing., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave d0e0533459 271/360: Fix filename completion for exec commands, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave ed971097c2 286/360: Handle missing "type" elements in the XML catalog, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 76d58ec21a 300/360: Ensure a link file is set before normalizing, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 687c9f07d8 312/360: Correct help-with-topic topics, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 0451b524ff 306/360: Comments, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 41145897f6 115/360: *** empty log message ***, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 5fddc5cd81 181/360: Leave paragraphs start/sep as default, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 8b462f73d9 256/360: Let arrows work correctly if no process in *idl*,
ELPA Syncer <=
- [elpa] externals/idlwave aa0d37c454 244/360: Don't require unnecessary things., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 8b64b87b55 254/360: retall can now escape $MAIN$ routines, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave ee5bebc815 205/360: Handle skipping multiple commands on a line., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 04f6047757 202/360: No final prompt pattern required in parsing object class., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave d7832545cb 204/360: Setup help locations earlier., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave d840d907ce 234/360: Use no-properties for buffer-substring, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 160fd6f2a6 239/360: Declare functions to prevent compiler warnings, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 09ff64cb25 206/360: Correct topic help call., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 1452794e1d 238/360: Copyright/email fixes., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave c832c9bead 223/360: Take care for skipping substatements at end of buffer., ELPA Syncer, 2024/04/28