diff options
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/vc-dispatcher.el | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b4037a5d772..9e38b1236dc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-05-16 John Paul Wallington <jpw@pobox.com> | ||
| 2 | |||
| 3 | * vc-dispatcher.el (top-level): Don't require cl when compiling. | ||
| 4 | (vc-dir-mode-map): Fix backquote. | ||
| 5 | (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'. | ||
| 6 | |||
| 1 | 2008-05-16 Michael Albinus <michael.albinus@gmx.de> | 7 | 2008-05-16 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * net/tramp.el (tramp-handle-write-region): Fix check for short | 9 | * net/tramp.el (tramp-handle-write-region): Fix check for short |
diff --git a/lisp/vc-dispatcher.el b/lisp/vc-dispatcher.el index 1d04a5541e4..f9ff4ba1480 100644 --- a/lisp/vc-dispatcher.el +++ b/lisp/vc-dispatcher.el | |||
| @@ -122,9 +122,6 @@ | |||
| 122 | 122 | ||
| 123 | (require 'ewoc) | 123 | (require 'ewoc) |
| 124 | 124 | ||
| 125 | (eval-when-compile | ||
| 126 | (require 'cl)) | ||
| 127 | |||
| 128 | ;; General customization | 125 | ;; General customization |
| 129 | 126 | ||
| 130 | (defcustom vc-logentry-check-hook nil | 127 | (defcustom vc-logentry-check-hook nil |
| @@ -798,7 +795,7 @@ See `run-hooks'." | |||
| 798 | 795 | ||
| 799 | ;; Hook up the menu. | 796 | ;; Hook up the menu. |
| 800 | (define-key map [menu-bar vc-dir-mode] | 797 | (define-key map [menu-bar vc-dir-mode] |
| 801 | '(menu-item | 798 | `(menu-item |
| 802 | ;; This is used so that client modes can add mode-specific | 799 | ;; This is used so that client modes can add mode-specific |
| 803 | ;; menu items to vc-dir-menu-map. | 800 | ;; menu items to vc-dir-menu-map. |
| 804 | "*vc-dispatcher*" ,vc-dir-menu-map :filter vc-dir-menu-map-filter)) | 801 | "*vc-dispatcher*" ,vc-dir-menu-map :filter vc-dir-menu-map-filter)) |
| @@ -806,10 +803,10 @@ See `run-hooks'." | |||
| 806 | "Keymap for directory buffer.") | 803 | "Keymap for directory buffer.") |
| 807 | 804 | ||
| 808 | (defmacro vc-at-event (event &rest body) | 805 | (defmacro vc-at-event (event &rest body) |
| 809 | "Evaluate `body' wich point located at event-start of `event'. | 806 | "Evaluate `body' with point located at event-start of `event'. |
| 810 | If `body' uses `event', it should be a variable, | 807 | If `body' uses `event', it should be a variable, |
| 811 | otherwise it will be evaluated twice." | 808 | otherwise it will be evaluated twice." |
| 812 | (let ((posn (gensym "vc-at-event-posn"))) | 809 | (let ((posn (make-symbol "vc-at-event-posn"))) |
| 813 | `(let ((,posn (event-start ,event))) | 810 | `(let ((,posn (event-start ,event))) |
| 814 | (save-excursion | 811 | (save-excursion |
| 815 | (set-buffer (window-buffer (posn-window ,posn))) | 812 | (set-buffer (window-buffer (posn-window ,posn))) |