Mercurial > emacs
diff lisp/ediff-init.el @ 81334:c5bcf5ad255f
2007-06-12 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-ptch.el (ediff-context-diff-label-regexp): spurious
parenthesis.
* ediff-init.el: doc strings.
author | Michael Kifer <kifer@cs.stonybrook.edu> |
---|---|
date | Tue, 12 Jun 2007 21:18:46 +0000 |
parents | c2b0d8bb6ca7 |
children | b98604865ea0 3619e7770f2e |
line wrap: on
line diff
--- a/lisp/ediff-init.el Tue Jun 12 21:03:32 2007 +0000 +++ b/lisp/ediff-init.el Tue Jun 12 21:18:46 2007 +0000 @@ -102,7 +102,7 @@ (boundp 'ediff-use-toolbar-p) ediff-use-toolbar-p)) ;Does the user want it ? -;; Defines SYMBOL as an advertised local variable. +;; Defines VAR as an advertised local variable. ;; Performs a defvar, then executes `make-variable-buffer-local' on ;; the variable. Also sets the `permanent-local' property, ;; so that `kill-all-local-variables' (called by major-mode setting @@ -110,6 +110,7 @@ ;; ;; Plagiarised from `emerge-defvar-local' for XEmacs. (defmacro ediff-defvar-local (var value doc) + "Defines VAR as a local variable." (declare (indent defun)) `(progn (defvar ,var ,value ,doc) @@ -259,6 +260,7 @@ ;; Doesn't save the point and mark. ;; This is `with-current-buffer' with the added test for live buffers." (defmacro ediff-with-current-buffer (buffer &rest body) + "Evaluates BODY in BUFFER." (declare (indent 1) (debug (form body))) `(if (ediff-buffer-live-p ,buffer) (save-current-buffer