summaryrefslogtreecommitdiff
path: root/lisp/ediff-mult.el
diff options
context:
space:
mode:
authorMichael Kifer <kifer@cs.stonybrook.edu>2008-04-04 07:51:27 +0000
committerMichael Kifer <kifer@cs.stonybrook.edu>2008-04-04 07:51:27 +0000
commit2d84cc270a12a939502497ad4d56371e9562a98d (patch)
tree2553dc74513fea235847a7b9cfed0ca90d30880b /lisp/ediff-mult.el
parentd80c2c18c1fe064185ffbab1d0fc3ad4fd7f89c5 (diff)
downloademacs-2d84cc270a12a939502497ad4d56371e9562a98d.tar.gz
emacs-2d84cc270a12a939502497ad4d56371e9562a98d.tar.bz2
emacs-2d84cc270a12a939502497ad4d56371e9562a98d.zip
2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff*el: replaced load with require in eval-when-compile. * ediff-hook: deleted all invocations of (autoload ...). * ediff-util.el (ediff-setup): make window-min-height a local variable in ediff control window, and set its min height to 2. (ediff-setup-control-buffer): dedicate the control window. (ediff-toggle-multiframe): undedicate control window. Work directly with ediff-setup-windows-multiframe and ediff-setup-windows-plain. * ediff-wind (ediff-choose-window-setup-function-automatically): new function. (ediff-window-setup-function): change initialization. (ediff-setup-windows-automatic): deleted. (ediff-setup-windows-plain-merge): make control window dedicated. (ediff-destroy-control-frame): do not skip frames if working in a single frame. * emulation/viper-ex.el: move provide's forward, prevent ecursion in eval-when-compile. * emulation/viper-util.el: move provide's forward, prevent ecursion in eval-when-compile.
Diffstat (limited to 'lisp/ediff-mult.el')
-rw-r--r--lisp/ediff-mult.el19
1 files changed, 10 insertions, 9 deletions
diff --git a/lisp/ediff-mult.el b/lisp/ediff-mult.el
index 79e4e438a84..ce42743a8d5 100644
--- a/lisp/ediff-mult.el
+++ b/lisp/ediff-mult.el
@@ -105,6 +105,8 @@
;;; Code:
+(provide 'ediff-mult)
+
(defgroup ediff-mult nil
"Multi-file and multi-buffer processing in Ediff."
:prefix "ediff-"
@@ -113,12 +115,13 @@
;; compiler pacifier
(eval-when-compile
- (let ((load-path (cons (expand-file-name ".") load-path)))
- (or (featurep 'ediff-init)
- (load "ediff-init.el" nil t 'nosuffix))
- (or (featurep 'ediff-util)
- (load "ediff-util.el" nil t 'nosuffix))
- ))
+ (require 'ediff-init)
+ (if (not (featurep 'ediff-util))
+ (require 'ediff-util))
+ (if (not (featurep 'ediff-ptch))
+ (require 'ediff-ptch))
+ (require 'ediff)
+ )
;; end pacifier
(require 'ediff-init)
@@ -2237,7 +2240,7 @@ If this is a session registry buffer then just bury it."
overl (car overl-list)))
overl)))
-(defsubst ediff-get-session-number-at-pos (point &optional meta-buffer)
+(defun ediff-get-session-number-at-pos (point &optional meta-buffer)
(setq meta-buffer (if (ediff-buffer-live-p meta-buffer)
meta-buffer
(current-buffer)))
@@ -2399,8 +2402,6 @@ for operation, or simply indicate which are equal files. If it is nil, then
))
-(provide 'ediff-mult)
-
;;; Local Variables:
;;; eval: (put 'ediff-defvar-local 'lisp-indent-hook 'defun)