aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2012-12-30 23:43:35 -0500
committerStefan Monnier2012-12-30 23:43:35 -0500
commit96c052a5d18024d3ccbd9509631a70314397c050 (patch)
tree9991acc90891f4530c97531a3ed7400ec292beb9
parentfd1f1603a4f5390dc978066e72b30fc2c28591e8 (diff)
downloademacs-96c052a5d18024d3ccbd9509631a70314397c050.tar.gz
emacs-96c052a5d18024d3ccbd9509631a70314397c050.zip
* lisp/subr.el (special-form-p): Don't signal errors on undef aliases.
-rw-r--r--lisp/ChangeLog40
-rw-r--r--lisp/subr.el2
2 files changed, 23 insertions, 19 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4887c1bfcda..06a5bd7bff4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,8 +1,12 @@
12012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (special-form-p): Don't signal errors on undef aliases.
4
12012-12-31 Jay Belanger <jay.p.belanger@gmail.com> 52012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2 6
3 * calc/calc-forms.el (math-parse-date): Try using 7 * calc/calc-forms.el (math-parse-date): Try using
4 `math-parse-iso-date' when it looks like it might be needed. Allow 8 `math-parse-iso-date' when it looks like it might be needed.
5 times of 24:00. 9 Allow times of 24:00.
6 (math-parse-date-validate, math-parse-iso-date-validate): Allow times 10 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
7 of 24:00. 11 of 24:00.
8 12
@@ -25,8 +29,8 @@
25 29
262012-12-30 Mark Lillibridge <mark.lillibridge@hp.com> 302012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
27 31
28 * mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert 32 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
29 the undecoded text of the message being forwarded. (Bug#9521) 33 Insert the undecoded text of the message being forwarded. (Bug#9521)
30 34
312012-12-30 Michael Albinus <michael.albinus@gmx.de> 352012-12-30 Michael Albinus <michael.albinus@gmx.de>
32 36
@@ -36,8 +40,8 @@
36 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context): 40 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
37 Return `t' on success. 41 Return `t' on success.
38 42
39 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add 43 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
40 handler for `set-file-selinux-context'. 44 Add handler for `set-file-selinux-context'.
41 45
422012-12-29 Michael Albinus <michael.albinus@gmx.de> 462012-12-29 Michael Albinus <michael.albinus@gmx.de>
43 47
@@ -46,8 +50,8 @@
46 50
472012-12-29 Eli Zaretskii <eliz@gnu.org> 512012-12-29 Eli Zaretskii <eliz@gnu.org>
48 52
49 * files.el (backup-buffer-copy, basic-save-buffer-2): If 53 * files.el (backup-buffer-copy, basic-save-buffer-2):
50 set-file-extended-attributes fails, fall back on set-file-modes 54 If set-file-extended-attributes fails, fall back on set-file-modes
51 instead of signaling an error. (Bug#13298) 55 instead of signaling an error. (Bug#13298)
52 (basic-save-buffer): Likewise. 56 (basic-save-buffer): Likewise.
53 57
@@ -75,8 +79,8 @@
75 79
762012-12-28 Martin Rudalics <rudalics@gmx.at> 802012-12-28 Martin Rudalics <rudalics@gmx.at>
77 81
78 * mail/rmail.el (rmail-maybe-display-summary): Rewrite 82 * mail/rmail.el (rmail-maybe-display-summary):
79 (Bug#13066). 83 Rewrite (Bug#13066).
80 84
812012-12-28 Andreas Schwab <schwab@linux-m68k.org> 852012-12-28 Andreas Schwab <schwab@linux-m68k.org>
82 86
@@ -131,8 +135,8 @@
1312012-12-27 Dmitry Gutov <dgutov@yandex.ru> 1352012-12-27 Dmitry Gutov <dgutov@yandex.ru>
132 136
133 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class", 137 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
134 "module" and "def" to have indentation before them. Regression 138 "module" and "def" to have indentation before them.
135 from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test). 139 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
136 140
137 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200). 141 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
138 142
@@ -145,8 +149,8 @@
1452012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change) 1492012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
146 150
147 * comint.el (comint-adjust-window-point): New function. 151 * comint.el (comint-adjust-window-point): New function.
148 (comint-postoutput-scroll-to-bottom): Call 152 (comint-postoutput-scroll-to-bottom):
149 comint-adjust-window-point (Bug#13248). 153 Call comint-adjust-window-point (Bug#13248).
150 154
1512012-12-26 Dmitry Gutov <dgutov@yandex.ru> 1552012-12-26 Dmitry Gutov <dgutov@yandex.ru>
152 156
@@ -157,8 +161,8 @@
157 161
1582012-12-26 Jürgen Hötzel <juergen@archlinux.org> 1622012-12-26 Jürgen Hötzel <juergen@archlinux.org>
159 163
160 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress 164 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
161 coloring, if possible (required for BusyBox based systems like 165 Suppress coloring, if possible (required for BusyBox based systems like
162 CynagenMod). 166 CynagenMod).
163 (tramp-adb-handle-file-attributes) 167 (tramp-adb-handle-file-attributes)
164 (tramp-adb-handle-insert-directory) 168 (tramp-adb-handle-insert-directory)
@@ -187,8 +191,8 @@
187 * notifications.el (notifications-notify): Protect body with 191 * notifications.el (notifications-notify): Protect body with
188 `with-demoted-errors'. 192 `with-demoted-errors'.
189 193
190 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Check 194 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
191 properties of remote device. Restart connection, if there is a 195 Check properties of remote device. Restart connection, if there is a
192 change. 196 change.
193 197
1942012-12-21 Chong Yidong <cyd@gnu.org> 1982012-12-21 Chong Yidong <cyd@gnu.org>
diff --git a/lisp/subr.el b/lisp/subr.el
index 1e509036cd1..111fb6201b4 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2805,7 +2805,7 @@ Otherwise, return nil."
2805(defun special-form-p (object) 2805(defun special-form-p (object)
2806 "Non-nil if and only if OBJECT is a special form." 2806 "Non-nil if and only if OBJECT is a special form."
2807 (if (and (symbolp object) (fboundp object)) 2807 (if (and (symbolp object) (fboundp object))
2808 (setq object (indirect-function object))) 2808 (setq object (indirect-function object t)))
2809 (and (subrp object) (eq (cdr (subr-arity object)) 'unevalled))) 2809 (and (subrp object) (eq (cdr (subr-arity object)) 'unevalled)))
2810 2810
2811(defun field-at-pos (pos) 2811(defun field-at-pos (pos)