diff options
| author | Taylor R Campbell <campbell@mumble.net> | 2011-03-20 17:33:28 +0000 | 
|---|---|---|
| committer | Taylor R Campbell <campbell@mumble.net> | 2011-03-20 17:33:28 +0000 | 
| commit | e06ab4081ce4029d7bcd7e1906c50ba6d75664f1 (patch) | |
| tree | 5e77c5b3d0384a0daece46bdbdd68fb314664b58 | |
| parent | 3f6b2946e4f963c596c8e088764cbd8d80bbf661 (diff) | |
Spell `paredit-recenter-on-sexp' to match convention in Emacs.
Ignore-this: d3bd6a4462a90bf7182e089a0f54bfb9
Omit comment above.  I rewrote this function since the suggestion,
Marco suggested a lot more than just that, and credits are moving to
a separate file.
darcs-hash:20110320173328-00fcc-dab332a1d49f961105b3477e669cd45af6791627
| -rw-r--r-- | paredit.el | 8 | 
1 files changed, 4 insertions, 4 deletions
| @@ -453,7 +453,7 @@ Paredit behaves badly if parentheses are imbalanced, so exercise                   "\"Hello, |world!\"")                  ("hello-\n|  world"                   "hello-|world")) -   ("C-c C-M-l" paredit-recentre-on-sexp) +   ("C-c C-M-l" paredit-recenter-on-sexp)     ("M-q"       paredit-reindent-defun)     ))         nil)                             ; end of PROGN @@ -1703,10 +1703,10 @@ A negative argument means move forward but still descend a level."    (interactive "p")    (down-list (- (or arg 1)))) -;;; Thanks to Marco Baringer for suggesting & writing this function. +(defalias 'paredit-recentre-on-sexp 'paredit-recenter-on-sexp) -(defun paredit-recentre-on-sexp (&optional n) -  "Recentre the screen on the S-expression following the point. +(defun paredit-recenter-on-sexp (&optional n) +  "Recenter the screen on the S-expression following the point.  With a prefix argument N, encompass all N S-expressions forward."    (interactive "P")    (save-excursion | 
