2008-02-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
+ * wl-fldmgr.el (wl-fldmgr-get-entity-id): New backquote style.
+ (wl-fldmgr-assign-id): Ditto.
+ (wl-fldmgr-delete-line): Use quote instead of backquote.
+ (wl-fldmgr-make-indent): Use `string-to-char' instead of `? '.
+
* wl-draft.el (wl-smtp-extension-bind, wl-draft-sent-message-p)
(wl-draft-set-sent-message): New backquote style.
(wl-draft-body-goto-top, wl-draft-body-goto-bottom)
;;
(defmacro wl-fldmgr-delete-line ()
- (` (delete-region (save-excursion (beginning-of-line)
- (point))
- (save-excursion (end-of-line)
- (+ 1 (point))))))
+ '(delete-region (save-excursion (beginning-of-line)
+ (point))
+ (save-excursion (end-of-line)
+ (+ 1 (point)))))
(defmacro wl-fldmgr-make-indent (level)
- (` (concat " " (make-string (* 2 (, level)) ? ))))
+ `(concat " " (make-string (* 2 ,level) ,(string-to-char " "))))
(defmacro wl-fldmgr-get-entity-id (&optional entity)
- (` (get-text-property (if (, entity)
- 0
- (point))
- 'wl-folder-entity-id
- (, entity))))
+ `(get-text-property (if ,entity
+ 0
+ (point))
+ 'wl-folder-entity-id
+ ,entity))
(defmacro wl-fldmgr-assign-id (entity &optional id)
- (` (let ((entity-id (or (, id) wl-folder-entity-id)))
- (put-text-property 0 (length (, entity))
- 'wl-folder-entity-id
- entity-id
- (, entity)))))
+ `(let ((entity-id (or ,id wl-folder-entity-id)))
+ (put-text-property 0 (length ,entity)
+ 'wl-folder-entity-id
+ entity-id
+ ,entity)))
(defsubst wl-fldmgr-read-string (str)
(if (string-match "\n" str)