How do I get jde-import-organize to NOT put blank lines between import
groups?  I like the organizing into groups (putting java.* stuff first), but
I'd like to get rid of the blank line.  I used to use the elisp code below
to do this (something I got from the JDE mailing list), but it doesn't seem
to work anymore in the current release:

; Customize jde-import-organize to not put spaces between import groups
(defcustom jde-import-organize-skip-line-count 1
 "*The amount of newlines that will be inserted between each group by
jde-import-organize."
 :group 'jde-project
 :type 'number
)

(defun jde-import-insert-group (group &optional skip-line)
  "Insert a GROUP of import texts in the current buffer.
If optional SKIP-LINE is non-nil skip a line before the group.
This is a customized version of this function, used with
jde-import-organize-skip-line-count, above."
  (when group
    (if skip-line
        (newline jde-import-organize-skip-line-count))
    (insert (car group))
    (setq group (cdr group))
    (while group
      (newline)
      (insert (car group))
      (setq group (cdr group)))))


Thanks!

Steve Molitor
[EMAIL PROTECTED]

Reply via email to