(idlwave-xml-create-sysvar-alist): Trim leading whitespace in sysvar
names.
This commit is contained in:
parent
39a897a583
commit
a86bd65016
2 changed files with 9 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-02-01 J.D. Smith <jdsmith@as.arizona.edu>
|
||||
|
||||
* progmodes/idlwave.el (idlwave-xml-create-sysvar-alist): Trim
|
||||
leading whitespace in sysvar names.
|
||||
|
||||
2007-02-01 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* faces.el (internal-find-face, internal-get-face): Doc fixes.
|
||||
|
|
|
|||
|
|
@ -3497,8 +3497,7 @@ if `idlwave-auto-fill-split-string' is non-nil."
|
|||
(save-excursion
|
||||
(end-of-line 0)
|
||||
;; Indent the split line
|
||||
(idlwave-indent-line)
|
||||
)
|
||||
(idlwave-indent-line))
|
||||
(if (save-excursion
|
||||
(beginning-of-line)
|
||||
(looking-at idlwave-comment-line-start-skip))
|
||||
|
|
@ -4843,7 +4842,9 @@ Gets set in cached XML rinfo, or `idlw-rinfo.el'.")
|
|||
(defun idlwave-xml-create-sysvar-alist (xml-entry)
|
||||
;; Create a sysvar list entry from the xml parsed list.
|
||||
(let* ((nameblock (nth 1 xml-entry))
|
||||
(sysvar (substring (cdr (assq 'name nameblock)) 1))
|
||||
(name (cdr (assq 'name nameblock)))
|
||||
(sysvar (substring name (progn (string-match "^ *!" name)
|
||||
(match-end 0))))
|
||||
(link (cdr (assq 'link nameblock)))
|
||||
(params (cddr xml-entry))
|
||||
(case-fold-search t)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue