summaryrefslogtreecommitdiff
path: root/paredit.el
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2009-07-03 19:52:21 +0000
committerTaylor R Campbell <campbell@mumble.net>2009-07-03 19:52:21 +0000
commit0d7a39d6bd8152589a22118e596bffd4c8ffc248 (patch)
tree19ca2ab6aafde6b8d7c3dbb8b96a4b8efbb24852 /paredit.el
parenta386bdf2b80aca53e648fcf2497353d6713a5c11 (diff)
Un-deprecate `enable-paredit-mode' and `disable-paredit-mode'.
darcs-hash:20090703195221-00fcc-733a86154d8ff7d50b99cb63a05b8520a26da265
Diffstat (limited to 'paredit.el')
-rw-r--r--paredit.el12
1 files changed, 3 insertions, 9 deletions
diff --git a/paredit.el b/paredit.el
index 4451aea..d027ebd 100644
--- a/paredit.el
+++ b/paredit.el
@@ -60,7 +60,7 @@
;;; Toggle Paredit Mode with `M-x paredit-mode RET', or enable it
;;; always in a major mode `M' (e.g., `lisp' or `scheme') with:
;;;
-;;; (add-hook M-mode-hook (lambda () (paredit-mode +1)))
+;;; (add-hook M-mode-hook 'enable-paredit-mode)
;;;
;;; Customize paredit using `eval-after-load':
;;;
@@ -262,19 +262,13 @@ Paredit behaves badly if parentheses are imbalanced, so exercise
(error (setq paredit-mode nil)
(signal (car condition) (cdr condition)))))))
-;;; Old functions from when there was a different mode for emacs -nw.
-
(defun enable-paredit-mode ()
- "Turn on pseudo-structural editing of Lisp code.
-
-Deprecated: use `paredit-mode' instead."
+ "Turn on pseudo-structural editing of Lisp code."
(interactive)
(paredit-mode +1))
(defun disable-paredit-mode ()
- "Turn off pseudo-structural editing of Lisp code.
-
-Deprecated: use `paredit-mode' instead."
+ "Turn off pseudo-structural editing of Lisp code."
(interactive)
(paredit-mode -1))