skk-dev / ddskk

Daredevil SKK (Simple Kana to Kanji conversion program)
GNU General Public License v3.0
197 stars 41 forks source link

fix closing parens position #163

Closed conao3 closed 4 years ago

conao3 commented 4 years ago

閉じかっこの場所を変更しました。 Package-lint は次のような警告を出しています。

Closing parens should not be wrapped onto new lines. (emacs-lisp-package)

以下のelispをdiredで実行しました。 (visual-regexp に依存しています).

(while (dired-get-filename nil 'no-error)
  (let ((file (dired-get-filename)))
    (with-temp-file file
      (insert-file-contents file)

      (while (not (= 0 (vr/replace "^(?!.*;)(.*)\\n[\\s\\t]*(\\)+)" "\\1\\2" (point-min) (point-max))))))
    (message file)
    (dired-next-line 1)))