Fuco1/smartparens — pull request #127 by bbatsov (2013-06-30 09:50:45+00:00)
Title: Replace deprecated toggle-read-only with read-only-mode

`toggle-read-only` is deprecated in Emacs 24.3 in favour of `read-only-mode`.

Not sure what your support policy for older Emacsen is and when exactly `read-only-mode` was introduced.