)
(defgroup delphi nil
- "Major mode for editing Delphi source in Emacs"
+ "Major mode for editing Delphi source in Emacs."
:version "21.1"
:group 'languages)
(set-marker-insertion-type marked-point t)
(when (/= old-indent new-indent)
(delete-region line-start (point))
- (insert (make-string new-indent ?\ )))
+ (insert (make-string new-indent ?\s)))
(goto-char marked-point)
(set-marker marked-point nil))))
(comment-end (delphi-token-end end-comment))
(content-start (delphi-comment-content-start start-comment))
(content-indent (delphi-column-of content-start))
- (content-prefix (make-string content-indent ?\ ))
+ (content-prefix (make-string content-indent ?\s))
(content-prefix-re delphi-leading-spaces-re)
(p nil)
(marked-point (point-marker))) ; Maintain our position reliably.
;; // style comments need more work.
(setq content-prefix
(let ((comment-indent (delphi-column-of comment-start)))
- (concat (make-string comment-indent ?\ ) "//"
+ (concat (make-string comment-indent ?\s) "//"
(make-string (- content-indent comment-indent 2)
- ?\ )))
+ ?\s)))
content-prefix-re (concat delphi-leading-spaces-re
"//"
delphi-spaces-re)
(comment-start (delphi-token-start start-comment))
(content-start (delphi-comment-content-start start-comment))
(prefix
- (concat (make-string (delphi-column-of comment-start) ?\ ) "//"
- (make-string (- content-start comment-start 2) ?\ ))))
+ (concat (make-string (delphi-column-of comment-start) ?\s) "//"
+ (make-string (- content-start comment-start 2) ?\s))))
(delete-horizontal-space)
(newline)
(insert prefix)))))