aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2007-05-25 04:55:49 +0000
committerMiles Bader2007-05-25 04:55:49 +0000
commitc1587aff5527edb84ff15694c318aaabe9cc6d8d (patch)
tree37d9855c4cd05736f03281f6c26c84152da12338
parent5dfdf72f7aee102988a98447de9d19523af50055 (diff)
parentfdabbcb537b1cb38e69fdf09908b725bae9aed02 (diff)
downloademacs-c1587aff5527edb84ff15694c318aaabe9cc6d8d.tar.gz
emacs-c1587aff5527edb84ff15694c318aaabe9cc6d8d.zip
Merge from emacs--rel--22
Patches applied: * emacs--rel--22 (patch 26-27) - Update from CVS - lisp/vc-hooks.el (vc-find-root): Fix file attribute test 2007-05-25 Miles Bader <miles@fencepost.gnu.org> * lisp/vc-hooks.el (vc-find-root): Fix file attribute test. 2007-05-24 Richard M. Stallman <rms@gnu.org> * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point): Don't let opoint be nil. (flyspell-emacs-popup): Explicit error if no dialogs. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-772
-rwxr-xr-xadmin/nt/dump.bat2
-rwxr-xr-xadmin/nt/makedist.bat17
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/textmodes/flyspell.el3
-rw-r--r--lisp/vc-hooks.el2
5 files changed, 25 insertions, 9 deletions
diff --git a/admin/nt/dump.bat b/admin/nt/dump.bat
index b332e7471f6..49d83e24651 100755
--- a/admin/nt/dump.bat
+++ b/admin/nt/dump.bat
@@ -10,8 +10,6 @@ ren emacs.exe emacs.exe.orig
10 10
11:dump 11:dump
12rem Overwrites emacs.exe if still present 12rem Overwrites emacs.exe if still present
13mkdir ..\lib-src
14copy fns* ..\lib-src
15mkdir obj 13mkdir obj
16mkdir obj\i386 14mkdir obj\i386
17mkdir obj\etc 15mkdir obj\etc
diff --git a/admin/nt/makedist.bat b/admin/nt/makedist.bat
index b160da93c4f..56fca7949fa 100755
--- a/admin/nt/makedist.bat
+++ b/admin/nt/makedist.bat
@@ -25,8 +25,6 @@ rem along with GNU Emacs; see the file COPYING. If not, write to the
25rem Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 25rem Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
26rem Boston, MA 02110-1301, USA. 26rem Boston, MA 02110-1301, USA.
27 27
28set ZIP=zip
29
30if (%3) == () goto usage 28if (%3) == () goto usage
31if not (%4) == () goto %4 29if not (%4) == () goto %4
32 30
@@ -34,18 +32,25 @@ if not (%4) == () goto %4
34 32
35echo Create full bin distribution 33echo Create full bin distribution
36copy %3\README.W32 emacs-%1\README.W32 34copy %3\README.W32 emacs-%1\README.W32
37 35rem Info-ZIP zip seems to be broken on Windows.
38%ZIP% -x emacs.mdp -x *.pdb -x *.opt -x *~ -x CVS -9 emacs-%1/BUGS emacs-%1/README emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp %2-bin-i386.zip 36rem It always writes to zip.zip and treats the zipfile argument as one
37rem of the files to go in it.
38rem zip -9 -r %2-bin-i386 emacs-%1/BUGS emacs-%1/README emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp emacs-%1/leim -x emacs.mdp *.pdb *.opt *~ CVS
397z a -tZIP -mx=9 -xr!emacs.mdp -xr!*.pdb -xr!*.opt -xr!*~ -xr!CVS -xr!.arch-inventory %2-bin-i386.zip emacs-%1/BUGS emacs-%1/README emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp emacs-%1/leim
39del emacs-%1\README.W32 40del emacs-%1\README.W32
40if not (%4) == () goto end 41if not (%4) == () goto end
41 42
42:barebin 43:barebin
43
44echo Create archive with just the basic binaries and generated files 44echo Create archive with just the basic binaries and generated files
45echo (the user needs to unpack the full source distribution for 45echo (the user needs to unpack the full source distribution for
46echo everything else) 46echo everything else)
47copy %3\README.W32 emacs-%1\README.W32 47copy %3\README.W32 emacs-%1\README.W32
48%ZIP% -9 emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC emacs-%1/etc/DOC-X %2-barebin-i386.zip 48copy %3\dump.bat emacs-%1\bin\dump.bat
49rem Info-ZIP zip seems to be broken on Windows.
50rem It always writes to zip.zip and treats the zipfile argument as one
51rem of the files to go in it.
52rem zip -9 -r %2-barebin-i386.zip emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC-X
537z a -tZIP -mx=9 %2-barebin-i386.zip emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC-X
49del emacs-%1\README.W32 54del emacs-%1\README.W32
50if not (%4) == () goto end 55if not (%4) == () goto end
51 56
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3ecb03ad1a4..be975f67e99 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
12007-05-25 Miles Bader <miles@fencepost.gnu.org>
2
3 * vc-hooks.el (vc-find-root): Fix file attribute test.
4
52007-05-24 Richard Stallman <rms@gnu.org>
6
7 * textmodes/flyspell.el (flyspell-correct-word-before-point):
8 Don't let opoint be nil.
9 (flyspell-emacs-popup): Explicit error if no dialogs.
10
12007-05-24 Chong Yidong <cyd@stupidchicken.com> 112007-05-24 Chong Yidong <cyd@stupidchicken.com>
2 12
3 * image-mode.el (image-forward-hscroll, image-backward-hscroll) 13 * image-mode.el (image-forward-hscroll, image-backward-hscroll)
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index a509fdf7f6c..e02fec1362f 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -2025,6 +2025,7 @@ If OPOINT is non-nil, restore point there after adjusting it for replacement."
2025 (error "Pop-up menus do not work on this terminal")) 2025 (error "Pop-up menus do not work on this terminal"))
2026 ;; use the correct dictionary 2026 ;; use the correct dictionary
2027 (flyspell-accept-buffer-local-defs) 2027 (flyspell-accept-buffer-local-defs)
2028 (or opoint (setq opoint (point-marker)))
2028 (let ((cursor-location (point)) 2029 (let ((cursor-location (point))
2029 (word (flyspell-get-word nil))) 2030 (word (flyspell-get-word nil)))
2030 (if (consp word) 2031 (if (consp word)
@@ -2133,6 +2134,8 @@ If OPOINT is non-nil, restore point there after adjusting it for replacement."
2133;;*---------------------------------------------------------------------*/ 2134;;*---------------------------------------------------------------------*/
2134(defun flyspell-emacs-popup (event poss word) 2135(defun flyspell-emacs-popup (event poss word)
2135 "The Emacs popup menu." 2136 "The Emacs popup menu."
2137 (unless window-system
2138 (error "This command requires pop-up dialogs"))
2136 (if (not event) 2139 (if (not event)
2137 (let* ((mouse-pos (mouse-position)) 2140 (let* ((mouse-pos (mouse-position))
2138 (mouse-pos (if (nth 1 mouse-pos) 2141 (mouse-pos (if (nth 1 mouse-pos)
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el
index 1bde704790b..22935ab7f3b 100644
--- a/lisp/vc-hooks.el
+++ b/lisp/vc-hooks.el
@@ -325,7 +325,7 @@ If WITNESS if not found, return nil, otherwise return the root."
325 ;; to another user. This should save us from looking in 325 ;; to another user. This should save us from looking in
326 ;; things like /net and /afs. This assumes that all the 326 ;; things like /net and /afs. This assumes that all the
327 ;; files inside a project belong to the same user. 327 ;; files inside a project belong to the same user.
328 (not (equal user (file-attributes file))) 328 (not (equal user (nth 2 (file-attributes file))))
329 (string-match vc-ignore-dir-regexp file))) 329 (string-match vc-ignore-dir-regexp file)))
330 (if (file-exists-p (expand-file-name witness file)) 330 (if (file-exists-p (expand-file-name witness file))
331 (setq root file) 331 (setq root file)