diff options
| author | Miles Bader | 2007-05-25 04:55:49 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-05-25 04:55:49 +0000 |
| commit | c1587aff5527edb84ff15694c318aaabe9cc6d8d (patch) | |
| tree | 37d9855c4cd05736f03281f6c26c84152da12338 | |
| parent | 5dfdf72f7aee102988a98447de9d19523af50055 (diff) | |
| parent | fdabbcb537b1cb38e69fdf09908b725bae9aed02 (diff) | |
| download | emacs-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-x | admin/nt/dump.bat | 2 | ||||
| -rwxr-xr-x | admin/nt/makedist.bat | 17 | ||||
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 3 | ||||
| -rw-r--r-- | lisp/vc-hooks.el | 2 |
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 |
| 12 | rem Overwrites emacs.exe if still present | 12 | rem Overwrites emacs.exe if still present |
| 13 | mkdir ..\lib-src | ||
| 14 | copy fns* ..\lib-src | ||
| 15 | mkdir obj | 13 | mkdir obj |
| 16 | mkdir obj\i386 | 14 | mkdir obj\i386 |
| 17 | mkdir obj\etc | 15 | mkdir 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 | |||
| 25 | rem Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 25 | rem Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 26 | rem Boston, MA 02110-1301, USA. | 26 | rem Boston, MA 02110-1301, USA. |
| 27 | 27 | ||
| 28 | set ZIP=zip | ||
| 29 | |||
| 30 | if (%3) == () goto usage | 28 | if (%3) == () goto usage |
| 31 | if not (%4) == () goto %4 | 29 | if not (%4) == () goto %4 |
| 32 | 30 | ||
| @@ -34,18 +32,25 @@ if not (%4) == () goto %4 | |||
| 34 | 32 | ||
| 35 | echo Create full bin distribution | 33 | echo Create full bin distribution |
| 36 | copy %3\README.W32 emacs-%1\README.W32 | 34 | copy %3\README.W32 emacs-%1\README.W32 |
| 37 | 35 | rem 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 | 36 | rem It always writes to zip.zip and treats the zipfile argument as one |
| 37 | rem of the files to go in it. | ||
| 38 | rem 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 | ||
| 39 | 7z 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 | ||
| 39 | del emacs-%1\README.W32 | 40 | del emacs-%1\README.W32 |
| 40 | if not (%4) == () goto end | 41 | if not (%4) == () goto end |
| 41 | 42 | ||
| 42 | :barebin | 43 | :barebin |
| 43 | |||
| 44 | echo Create archive with just the basic binaries and generated files | 44 | echo Create archive with just the basic binaries and generated files |
| 45 | echo (the user needs to unpack the full source distribution for | 45 | echo (the user needs to unpack the full source distribution for |
| 46 | echo everything else) | 46 | echo everything else) |
| 47 | copy %3\README.W32 emacs-%1\README.W32 | 47 | copy %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 | 48 | copy %3\dump.bat emacs-%1\bin\dump.bat |
| 49 | rem Info-ZIP zip seems to be broken on Windows. | ||
| 50 | rem It always writes to zip.zip and treats the zipfile argument as one | ||
| 51 | rem of the files to go in it. | ||
| 52 | rem zip -9 -r %2-barebin-i386.zip emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC-X | ||
| 53 | 7z a -tZIP -mx=9 %2-barebin-i386.zip emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC-X | ||
| 49 | del emacs-%1\README.W32 | 54 | del emacs-%1\README.W32 |
| 50 | if not (%4) == () goto end | 55 | if 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 @@ | |||
| 1 | 2007-05-25 Miles Bader <miles@fencepost.gnu.org> | ||
| 2 | |||
| 3 | * vc-hooks.el (vc-find-root): Fix file attribute test. | ||
| 4 | |||
| 5 | 2007-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 | |||
| 1 | 2007-05-24 Chong Yidong <cyd@stupidchicken.com> | 11 | 2007-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) |