diff options
| author | J.D. Smith | 2007-02-01 01:04:59 +0000 |
|---|---|---|
| committer | J.D. Smith | 2007-02-01 01:04:59 +0000 |
| commit | a86bd65016a92e8c65c73cdfc7790d3917e427d3 (patch) | |
| tree | e2b0a15a8259ac06314262710ee193134889f6c4 /lisp | |
| parent | 39a897a583050f5d994e00c829513c647b356cdb (diff) | |
| download | emacs-a86bd65016a92e8c65c73cdfc7790d3917e427d3.tar.gz emacs-a86bd65016a92e8c65c73cdfc7790d3917e427d3.zip | |
(idlwave-xml-create-sysvar-alist): Trim leading whitespace in sysvar
names.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/idlwave.el | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3c3e6f4dc01..56bfe69acd7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-02-01 J.D. Smith <jdsmith@as.arizona.edu> | ||
| 2 | |||
| 3 | * progmodes/idlwave.el (idlwave-xml-create-sysvar-alist): Trim | ||
| 4 | leading whitespace in sysvar names. | ||
| 5 | |||
| 1 | 2007-02-01 Juanma Barranquero <lekktu@gmail.com> | 6 | 2007-02-01 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * faces.el (internal-find-face, internal-get-face): Doc fixes. | 8 | * faces.el (internal-find-face, internal-get-face): Doc fixes. |
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index b5b1e055465..c4349e9c092 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -3497,8 +3497,7 @@ if `idlwave-auto-fill-split-string' is non-nil." | |||
| 3497 | (save-excursion | 3497 | (save-excursion |
| 3498 | (end-of-line 0) | 3498 | (end-of-line 0) |
| 3499 | ;; Indent the split line | 3499 | ;; Indent the split line |
| 3500 | (idlwave-indent-line) | 3500 | (idlwave-indent-line)) |
| 3501 | ) | ||
| 3502 | (if (save-excursion | 3501 | (if (save-excursion |
| 3503 | (beginning-of-line) | 3502 | (beginning-of-line) |
| 3504 | (looking-at idlwave-comment-line-start-skip)) | 3503 | (looking-at idlwave-comment-line-start-skip)) |
| @@ -4843,7 +4842,9 @@ Gets set in cached XML rinfo, or `idlw-rinfo.el'.") | |||
| 4843 | (defun idlwave-xml-create-sysvar-alist (xml-entry) | 4842 | (defun idlwave-xml-create-sysvar-alist (xml-entry) |
| 4844 | ;; Create a sysvar list entry from the xml parsed list. | 4843 | ;; Create a sysvar list entry from the xml parsed list. |
| 4845 | (let* ((nameblock (nth 1 xml-entry)) | 4844 | (let* ((nameblock (nth 1 xml-entry)) |
| 4846 | (sysvar (substring (cdr (assq 'name nameblock)) 1)) | 4845 | (name (cdr (assq 'name nameblock))) |
| 4846 | (sysvar (substring name (progn (string-match "^ *!" name) | ||
| 4847 | (match-end 0)))) | ||
| 4847 | (link (cdr (assq 'link nameblock))) | 4848 | (link (cdr (assq 'link nameblock))) |
| 4848 | (params (cddr xml-entry)) | 4849 | (params (cddr xml-entry)) |
| 4849 | (case-fold-search t) | 4850 | (case-fold-search t) |