diff options
| author | Joakim Verona | 2013-09-11 20:47:01 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-09-11 20:47:01 +0200 |
| commit | ef064bb6241bc76840ebf5875d6e6a4c0e8003a2 (patch) | |
| tree | 26369031ff4511f26c650b8c3dbacf9bb943ff81 | |
| parent | f20bcfe4144569d46d5e25685456af50820719f7 (diff) | |
| parent | aab6e902f93767b1ade593dff7ddfccd159124a6 (diff) | |
| download | emacs-ef064bb6241bc76840ebf5875d6e6a4c0e8003a2.tar.gz emacs-ef064bb6241bc76840ebf5875d6e6a4c0e8003a2.zip | |
merge from trunk
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/echistory.el | 1 | ||||
| -rw-r--r-- | lisp/play/landmark.el | 6 | ||||
| -rw-r--r-- | lisp/vc/vc-cvs.el | 7 |
4 files changed, 16 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c7e08e40480..06c30cdb624 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2013-09-11 Glenn Morris <rgm@gnu.org> | 1 | 2013-09-11 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * echistory.el (electric-command-history): Remove call to deleted func. | ||
| 4 | |||
| 5 | * play/landmark.el (landmark-mode): Fix typos. | ||
| 6 | |||
| 7 | * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec. | ||
| 8 | Check cvs-sort-ignore-file is bound. | ||
| 9 | |||
| 3 | * savehist.el: No need for cl when compiling on Emacs. | 10 | * savehist.el: No need for cl when compiling on Emacs. |
| 4 | 11 | ||
| 5 | 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca> | 12 | 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| @@ -56,6 +63,7 @@ | |||
| 56 | * chistory.el (command-history-mode-map): Rename from | 63 | * chistory.el (command-history-mode-map): Rename from |
| 57 | command-history-map. | 64 | command-history-map. |
| 58 | (command-history-mode): Use define-derived-mode. | 65 | (command-history-mode): Use define-derived-mode. |
| 66 | (Command-history-setup): Remove function. | ||
| 59 | * calc/calc.el (calc-trail-mode-map): New var. | 67 | * calc/calc.el (calc-trail-mode-map): New var. |
| 60 | (calc-trail-mode): Use define-derived-mode. | 68 | (calc-trail-mode): Use define-derived-mode. |
| 61 | (calc-trail-buffer): Set calc-main-buffer manually. | 69 | (calc-trail-buffer): Set calc-main-buffer manually. |
diff --git a/lisp/echistory.el b/lisp/echistory.el index fc576aa6484..5989c9b8445 100644 --- a/lisp/echistory.el +++ b/lisp/echistory.el | |||
| @@ -117,7 +117,6 @@ The Command History listing is recomputed each time this mode is invoked." | |||
| 117 | (save-window-excursion | 117 | (save-window-excursion |
| 118 | (list-command-history) | 118 | (list-command-history) |
| 119 | (set-buffer "*Command History*") | 119 | (set-buffer "*Command History*") |
| 120 | (Command-history-setup) | ||
| 121 | (setq major-mode 'electric-command-history) | 120 | (setq major-mode 'electric-command-history) |
| 122 | (setq mode-name "Electric History") | 121 | (setq mode-name "Electric History") |
| 123 | (use-local-map electric-history-map)) | 122 | (use-local-map electric-history-map)) |
diff --git a/lisp/play/landmark.el b/lisp/play/landmark.el index b995da4513c..8ee633e3917 100644 --- a/lisp/play/landmark.el +++ b/lisp/play/landmark.el | |||
| @@ -233,7 +233,7 @@ | |||
| 233 | (put 'landmark-mode 'intangible 1) | 233 | (put 'landmark-mode 'intangible 1) |
| 234 | ;; This one is for when they set view-read-only to t: Landmark cannot | 234 | ;; This one is for when they set view-read-only to t: Landmark cannot |
| 235 | ;; allow View Mode to be activated in its buffer. | 235 | ;; allow View Mode to be activated in its buffer. |
| 236 | (define-derived-mode lm-mode special-mode "Lm" | 236 | (define-derived-mode landmark-mode special-mode "Lm" |
| 237 | "Major mode for playing Lm against Emacs. | 237 | "Major mode for playing Lm against Emacs. |
| 238 | You and Emacs play in turn by marking a free square. You mark it with X | 238 | You and Emacs play in turn by marking a free square. You mark it with X |
| 239 | and Emacs marks it with O. The winner is the first to get five contiguous | 239 | and Emacs marks it with O. The winner is the first to get five contiguous |
| @@ -245,8 +245,8 @@ Other useful commands: | |||
| 245 | \\{landmark-mode-map} | 245 | \\{landmark-mode-map} |
| 246 | Entry to this mode calls the value of `landmark-mode-hook' if that value | 246 | Entry to this mode calls the value of `landmark-mode-hook' if that value |
| 247 | is non-nil. One interesting value is `turn-on-font-lock'." | 247 | is non-nil. One interesting value is `turn-on-font-lock'." |
| 248 | (lm-display-statistics) | 248 | (landmark-display-statistics) |
| 249 | (setq-local font-lock-defaults '(lm-font-lock-keywords t)) | 249 | (setq-local font-lock-defaults '(landmark-font-lock-keywords t)) |
| 250 | (setq buffer-read-only t)) | 250 | (setq buffer-read-only t)) |
| 251 | 251 | ||
| 252 | 252 | ||
diff --git a/lisp/vc/vc-cvs.el b/lisp/vc/vc-cvs.el index 931193c46e0..11a30991391 100644 --- a/lisp/vc/vc-cvs.el +++ b/lisp/vc/vc-cvs.el | |||
| @@ -1226,10 +1226,11 @@ is non-nil." | |||
| 1226 | table (lambda () (vc-cvs-revision-table (car files)))))) | 1226 | table (lambda () (vc-cvs-revision-table (car files)))))) |
| 1227 | table)) | 1227 | table)) |
| 1228 | 1228 | ||
| 1229 | (defun vc-cvs-ignore (file) | 1229 | (defun vc-cvs-ignore (file &optional _directory _remove) |
| 1230 | "Ignore FILE under CVS." | 1230 | "Ignore FILE under CVS." |
| 1231 | (cvs-append-to-ignore (file-name-directory file) file)) | 1231 | (cvs-append-to-ignore (file-name-directory file) file)) |
| 1232 | 1232 | ||
| 1233 | ;; FIXME This should be in the vc-cvs- namespace if it is to live here. | ||
| 1233 | (defun cvs-append-to-ignore (dir str &optional old-dir) | 1234 | (defun cvs-append-to-ignore (dir str &optional old-dir) |
| 1234 | "In DIR, add STR to the .cvsignore file. | 1235 | "In DIR, add STR to the .cvsignore file. |
| 1235 | If OLD-DIR is non-nil, then this is a directory that we don't want | 1236 | If OLD-DIR is non-nil, then this is a directory that we don't want |
| @@ -1245,7 +1246,9 @@ to hear about anymore." | |||
| 1245 | (goto-char (point-max)) | 1246 | (goto-char (point-max)) |
| 1246 | (unless (bolp) (insert "\n")) | 1247 | (unless (bolp) (insert "\n")) |
| 1247 | (insert str (if old-dir "/\n" "\n")) | 1248 | (insert str (if old-dir "/\n" "\n")) |
| 1248 | (if cvs-sort-ignore-file (sort-lines nil (point-min) (point-max))) | 1249 | ;; FIXME this is a pcvs variable. |
| 1250 | (if (bound-and-true-p cvs-sort-ignore-file) | ||
| 1251 | (sort-lines nil (point-min) (point-max))) | ||
| 1249 | (save-buffer))) | 1252 | (save-buffer))) |
| 1250 | 1253 | ||
| 1251 | (provide 'vc-cvs) | 1254 | (provide 'vc-cvs) |