X-Git-Url: http://cgit.sxemacs.org/?p=riece;a=blobdiff_plain;f=lisp%2Friece-kakasi.el;h=f51eb591ae602bf76669182a0a59b28e448eb94a;hp=fd018c7e47983fe1fabedc09d18a5717713d81fe;hb=5a45c8b53ddb25f03bdab9f3491a92c064c47c7a;hpb=b605439dca072da7b8935080e766f06f886921bb diff --git a/lisp/riece-kakasi.el b/lisp/riece-kakasi.el index fd018c7..f51eb59 100644 --- a/lisp/riece-kakasi.el +++ b/lisp/riece-kakasi.el @@ -19,8 +19,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Commentary: @@ -37,8 +37,7 @@ (defun riece-kakasi-convert-string (string) (process-send-string riece-kakasi-process (concat string "\n")) - (save-excursion - (set-buffer (process-buffer riece-kakasi-process)) + (with-current-buffer (process-buffer riece-kakasi-process) (while (progn (goto-char (point-min)) (not (search-forward "\n" nil t)))