aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMiles Bader2007-05-25 04:55:49 +0000
committerMiles Bader2007-05-25 04:55:49 +0000
commitc1587aff5527edb84ff15694c318aaabe9cc6d8d (patch)
tree37d9855c4cd05736f03281f6c26c84152da12338 /lisp
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
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/textmodes/flyspell.el3
-rw-r--r--lisp/vc-hooks.el2
3 files changed, 14 insertions, 1 deletions
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)