(compress-cited-prefix): Use `if' instead of `when'.
authormorioka <morioka>
Tue, 20 Jul 1999 04:57:06 +0000 (04:57 +0000)
committermorioka <morioka>
Tue, 20 Jul 1999 04:57:06 +0000 (04:57 +0000)
mu-cite.el

index 87ec6ed..ce7d9fa 100644 (file)
@@ -454,8 +454,9 @@ TABLE defaults to the current buffer's category table."
             (prefix (buffer-substring b e))
             ps pe (s 0)
             (nest (let ((i 0))
-                    (when (string-match "<[^<>]+>" prefix)
-                      (setq prefix (substring prefix 0 (match-beginning 0))))
+                    (if (string-match "<[^<>]+>" prefix)
+                        (setq prefix
+                              (substring prefix 0 (match-beginning 0))))
                     (while (string-match
                             (concat "\\([" citation-mark-chars "]+\\)[ \t]*")
                             prefix s)