[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/idlwave ded2f00ea7 175/360: Don't set mark when gatheri
From: |
ELPA Syncer |
Subject: |
[elpa] externals/idlwave ded2f00ea7 175/360: Don't set mark when gathering routine name |
Date: |
Sun, 28 Apr 2024 00:59:21 -0400 (EDT) |
branch: externals/idlwave
commit ded2f00ea70007acd379bcd09a84f00d9a7ea2cc
Author: JD Smith <jdtsmith@gmail.com>
Commit: JD Smith <jdtsmith@gmail.com>
Don't set mark when gathering routine name
---
idlwave.el | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/idlwave.el b/idlwave.el
index 0296cade9f..a7a295d23c 100644
--- a/idlwave.el
+++ b/idlwave.el
@@ -2408,16 +2408,18 @@ non-nil."
;; Reindent new line
(idlwave-indent-line)))
-(defun idlwave-beginning-of-subprogram ()
- "Moves point to the beginning of the current program unit."
+(defun idlwave-beginning-of-subprogram (&optional nomark)
+ "Moves point to the beginning of the current program unit.
+If NOMARK is non-nil, do not push mark."
(interactive)
- (idlwave-find-key idlwave-begin-unit-reg -1))
+ (idlwave-find-key idlwave-begin-unit-reg -1 nomark))
-(defun idlwave-end-of-subprogram ()
- "Moves point to the start of the next program unit."
+(defun idlwave-end-of-subprogram (&optional nomark)
+ "Moves point to the start of the next program unit.
+If NOMARK is non-nil, do not push mark."
(interactive)
(idlwave-end-of-statement)
- (idlwave-find-key idlwave-end-unit-reg 1))
+ (idlwave-find-key idlwave-end-unit-reg 1 nomark))
(defun idlwave-mark-statement ()
"Mark current IDL statement."
@@ -2529,7 +2531,7 @@ The marks are pushed."
"Return (NAME TYPE CLASS) of current routine."
(idlwave-routines)
(save-excursion
- (idlwave-beginning-of-subprogram)
+ (idlwave-beginning-of-subprogram 'nomark)
(if (looking-at "[
\t]*\\<\\(pro\\|function\\)\\>\\s-+\\(\\([a-zA-Z0-9$_]+\\)::\\)?\\([a-zA-Z0-9$_]+\\)")
(let* ((type (if (string= (downcase (match-string 1)) "pro")
'pro 'function))
- [elpa] externals/idlwave 3db3ab7046 066/360: Patches from Stefan Monnier:, (continued)
- [elpa] externals/idlwave 3db3ab7046 066/360: Patches from Stefan Monnier:, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave e4bd892bae 093/360: - Reverted last "fix". Don't trust XEmacs complaints about useless, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave fcc0d3c878 118/360: - Use idlwave-what-function instead of looking for parens: works in all, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 127405a5c7 217/360: Fontify source code by default., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 5a8c9cb8ec 213/360: find-structure-definition: Correctly indicate structure found., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave d62acf6aef 280/360: Complete struct-tags even if shell only loaded., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 74e4d168e9 326/360: Debug/comments., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 74dc6e40d5 290/360: Help location changes and HTML help inline., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave e3628c3710 143/360: - Use insert-file-contents, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 09992879c0 150/360: - Added customized idlwave-shell-max-print-length, to limit examine, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave ded2f00ea7 175/360: Don't set mark when gathering routine name,
ELPA Syncer <=
- [elpa] externals/idlwave 3a07aca242 162/360: - Use custom face for pending EDB mode lines, rather than, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 16b08e2132 167/360: - Added space to allowed filename characters., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 67eaaf945d 161/360: *** empty log message ***, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 385ec51232 171/360: Clean up doc strings., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 78c01f5303 336/360: Update HTML help file locations and graphics keywords for IDL8.6., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave b8a31a9f6b 269/360: Use 'run-mode-hooks', ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 21b7b3b8ff 267/360: Redisplay if requested, in with post-command hook, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 7834528bf1 318/360: Update README., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 3bfd198521 301/360: Remove the IDL Assistant which last worked in IDL 6.3, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 0ba5bd1c43 302/360: Don't color the fringe for electric debug., ELPA Syncer, 2024/04/28