aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-07-21 14:13:23 +0800
committerChong Yidong2012-07-21 14:13:23 +0800
commit257210319f10abebbfd7c12784cf3a8e112c3562 (patch)
tree48b747e691e6f8966d2a47cd4f57b0c1a1b01217
parent316e68a7952719c0450933eb956163ea4248d088 (diff)
parent2c73e345cc666982dbcb9d73e4fdd5a3348d19bc (diff)
downloademacs-257210319f10abebbfd7c12784cf3a8e112c3562.tar.gz
emacs-257210319f10abebbfd7c12784cf3a8e112c3562.zip
Merge from emacs-24 branch; up to 2012-05-01T10:20:43Z!rgm@gnu.org
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/emacs.texi2
-rw-r--r--lisp/ChangeLog21
-rw-r--r--lisp/emacs-lisp/map-ynp.el1
-rw-r--r--lisp/misearch.el2
-rw-r--r--lisp/progmodes/bug-reference.el3
-rw-r--r--lisp/progmodes/cc-cmds.el18
-rw-r--r--lisp/progmodes/cc-langs.el2
-rw-r--r--lisp/progmodes/cperl-mode.el3
-rw-r--r--lisp/userlock.el1
-rw-r--r--src/window.c2
11 files changed, 45 insertions, 14 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 6783e843110..7a9a6bc818c 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12012-07-19 Chong Yidong <cyd@gnu.org>
2
3 * emacs.texi: Update ISBN.
4
12012-07-17 Chong Yidong <cyd@gnu.org> 52012-07-17 Chong Yidong <cyd@gnu.org>
2 6
3 * basic.texi (Inserting Text): Replace ucs-insert with 7 * basic.texi (Inserting Text): Replace ucs-insert with
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index 6b39803f7d0..1b457e01943 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -94,7 +94,7 @@ developing GNU and promoting software freedom.''
94Published by the Free Software Foundation @* 94Published by the Free Software Foundation @*
9551 Franklin Street, Fifth Floor @* 9551 Franklin Street, Fifth Floor @*
96Boston, MA 02110-1301 USA @* 96Boston, MA 02110-1301 USA @*
97ISBN 978-0-9831592-2-3 97ISBN 978-0-9831592-3-0
98 98
99@sp 2 99@sp 2
100Cover art by Etienne Suvasa; cover design by Matt Lee. 100Cover art by Etienne Suvasa; cover design by Matt Lee.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f5f0de2d4c7..6435eeeb78a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,24 @@
12012-07-21 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/cc-cmds.el (c-defun-name): Use
4 match-string-no-properties instead for consistency.
5
62012-07-20 Leo Liu <sdl.web@gmail.com>
7
8 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9 (Bug#7879)
10
11 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
12
132012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
16 * progmodes/bug-reference.el, misearch.el: Provide themselves
17 (bug#11915).
18
19 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
20 of narrowed buffer (bug#11966).
21
12012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net> 222012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2 23
3 * ses.el (ses-rename-cell): Set new name also in reference list of 24 * ses.el (ses-rename-cell): Set new name also in reference list of
diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el
index cc4e642daf8..e7806440bf3 100644
--- a/lisp/emacs-lisp/map-ynp.el
+++ b/lisp/emacs-lisp/map-ynp.el
@@ -5,6 +5,7 @@
5;; Author: Roland McGrath <roland@gnu.org> 5;; Author: Roland McGrath <roland@gnu.org>
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: lisp, extensions 7;; Keywords: lisp, extensions
8;; Package: emacs
8 9
9;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
10 11
diff --git a/lisp/misearch.el b/lisp/misearch.el
index 4848b6691bc..502de52a05f 100644
--- a/lisp/misearch.el
+++ b/lisp/misearch.el
@@ -373,5 +373,5 @@ whose file names match the specified wildcard."
373 373
374 374
375(provide 'multi-isearch) 375(provide 'multi-isearch)
376 376(provide 'misearch)
377;;; misearch.el ends here 377;;; misearch.el ends here
diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el
index 48ef5da12ae..0a7d65c1fa4 100644
--- a/lisp/progmodes/bug-reference.el
+++ b/lisp/progmodes/bug-reference.el
@@ -30,6 +30,8 @@
30;; Two minor modes are provided. One works on any text in the buffer; 30;; Two minor modes are provided. One works on any text in the buffer;
31;; the other operates only on comments and strings. 31;; the other operates only on comments and strings.
32 32
33;;; Code:
34
33(defvar bug-reference-map 35(defvar bug-reference-map
34 (let ((map (make-sparse-keymap))) 36 (let ((map (make-sparse-keymap)))
35 (define-key map [mouse-2] 'bug-reference-push-button) 37 (define-key map [mouse-2] 'bug-reference-push-button)
@@ -154,4 +156,5 @@ the mode if ARG is omitted or nil."
154 (widen) 156 (widen)
155 (bug-reference-unfontify (point-min) (point-max))))) 157 (bug-reference-unfontify (point-min) (point-max)))))
156 158
159(provide 'bug-reference)
157;;; bug-reference.el ends here 160;;; bug-reference.el ends here
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el
index 94b296bf59e..7cd0a0b0ae2 100644
--- a/lisp/progmodes/cc-cmds.el
+++ b/lisp/progmodes/cc-cmds.el
@@ -1826,14 +1826,16 @@ with a brace block."
1826 ;; DEFFLAGSET(syslog_opt_flags,LOG_PID ...) ==> syslog_opt_flags 1826 ;; DEFFLAGSET(syslog_opt_flags,LOG_PID ...) ==> syslog_opt_flags
1827 (match-string-no-properties 1)) 1827 (match-string-no-properties 1))
1828 1828
1829 ;; Objective-C method starting with + or -. 1829 ;; Objc selectors.
1830 ((and (derived-mode-p 'objc-mode) 1830 ((assq 'objc-method-intro (c-guess-basic-syntax))
1831 (looking-at "[-+]\s*(")) 1831 (let ((bound (save-excursion (c-end-of-statement) (point)))
1832 (when (c-syntactic-re-search-forward ")\s*" nil t) 1832 (kw-re (concat "\\(?:" c-symbol-key "\\)?:"))
1833 (c-forward-token-2) 1833 (stretches))
1834 (setq name-end (point)) 1834 (when (c-syntactic-re-search-forward c-symbol-key bound t t t)
1835 (c-backward-token-2) 1835 (push (match-string-no-properties 0) stretches)
1836 (buffer-substring-no-properties (point) name-end))) 1836 (while (c-syntactic-re-search-forward kw-re bound t t t)
1837 (push (match-string-no-properties 0) stretches)))
1838 (apply 'concat (nreverse stretches))))
1837 1839
1838 (t 1840 (t
1839 ;; Normal function or initializer. 1841 ;; Normal function or initializer.
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 493f3db0961..78be8ac2cc4 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -578,7 +578,7 @@ keyword. It's unspecified how far it matches. Does not contain a \\|
578operator at the top level." 578operator at the top level."
579 t (concat "[" c-alpha "_]") 579 t (concat "[" c-alpha "_]")
580 java (concat "[" c-alpha "_@]") 580 java (concat "[" c-alpha "_@]")
581 objc (concat "[" c-alpha "@]") 581 objc (concat "[" c-alpha "_@]")
582 pike (concat "[" c-alpha "_`]")) 582 pike (concat "[" c-alpha "_`]"))
583(c-lang-defvar c-symbol-start (c-lang-const c-symbol-start)) 583(c-lang-defvar c-symbol-start (c-lang-const c-symbol-start))
584 584
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index f0499424952..d9b50ea3cc3 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -3497,7 +3497,8 @@ Works before syntax recognition is done."
3497 (if end 3497 (if end
3498 ;; Do the same for end, going small steps 3498 ;; Do the same for end, going small steps
3499 (save-excursion 3499 (save-excursion
3500 (while (and end (get-text-property end 'syntax-type)) 3500 (while (and end (< end (point-max))
3501 (get-text-property end 'syntax-type))
3501 (setq pos end 3502 (setq pos end
3502 end (next-single-property-change end 'syntax-type nil (point-max))) 3503 end (next-single-property-change end 'syntax-type nil (point-max)))
3503 (if end (progn (goto-char end) 3504 (if end (progn (goto-char end)
diff --git a/lisp/userlock.el b/lisp/userlock.el
index 8a4159aafc0..705d9588249 100644
--- a/lisp/userlock.el
+++ b/lisp/userlock.el
@@ -4,6 +4,7 @@
4 4
5;; Maintainer: FSF 5;; Maintainer: FSF
6;; Keywords: internal 6;; Keywords: internal
7;; Package: emacs
7 8
8;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
9 10
diff --git a/src/window.c b/src/window.c
index 7fd66057ad2..3bf73134468 100644
--- a/src/window.c
+++ b/src/window.c
@@ -484,9 +484,7 @@ for future use. */)
484 (Lisp_Object window, Lisp_Object limit) 484 (Lisp_Object window, Lisp_Object limit)
485{ 485{
486 register struct window *w = decode_any_window (window); 486 register struct window *w = decode_any_window (window);
487
488 w->combination_limit = limit; 487 w->combination_limit = limit;
489
490 return w->combination_limit; 488 return w->combination_limit;
491} 489}
492 490