aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2013-03-17 18:49:50 -0400
committerStefan Monnier2013-03-17 18:49:50 -0400
commit81519fd2fbb027e66604fdb39803ef0262ac7bb3 (patch)
treeaa379ef9d0b34a355155fb05f232f202c3ada31e
parent8194a705321aaed1306de1f303a89b2b68a3094d (diff)
downloademacs-81519fd2fbb027e66604fdb39803ef0262ac7bb3.tar.gz
emacs-81519fd2fbb027e66604fdb39803ef0262ac7bb3.zip
* src/dispnew.c (bitch_at_user): Use `user-error'.
-rw-r--r--src/ChangeLog12
-rw-r--r--src/dispnew.c6
2 files changed, 11 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4ece7400276..257fdb3af96 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12013-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * dispnew.c (bitch_at_user): Use `user-error'.
4
12013-03-17 Ken Brown <kbrown@cornell.edu> 52013-03-17 Ken Brown <kbrown@cornell.edu>
2 6
3 * dispextern.h (RGB_PIXEL_COLOR): Move here from image.c. Use it 7 * dispextern.h (RGB_PIXEL_COLOR): Move here from image.c. Use it
@@ -12,8 +16,8 @@
12 * nsterm.h (EmacsSavePanel, EmacsOpenPanel): Add getFilename 16 * nsterm.h (EmacsSavePanel, EmacsOpenPanel): Add getFilename
13 and getDirectory. 17 and getDirectory.
14 18
15 * nsfns.m (ns_filename_from_panel, ns_directory_from_panel): New 19 * nsfns.m (ns_filename_from_panel, ns_directory_from_panel):
16 functions. 20 New functions.
17 (Fns_read_file_name): ret is BOOL. If ! dir_only_p, don't choose 21 (Fns_read_file_name): ret is BOOL. If ! dir_only_p, don't choose
18 directories. If filename is nil, get directory name (Bug#13932). 22 directories. If filename is nil, get directory name (Bug#13932).
19 Use getFilename and getDirectory. 23 Use getFilename and getDirectory.
@@ -46,10 +50,6 @@
46 (syms_of_coding): Declare disable-ascii-optimization as a Lisp 50 (syms_of_coding): Declare disable-ascii-optimization as a Lisp
47 variable. 51 variable.
48 52
49 * global.h (struct emacs_globals): New member
50 f_disable_ascii_optimization.
51 (disable_ascii_optimization): New macro.
52
53 * lisp.h (adjust_after_replace): Cancel externing it. 53 * lisp.h (adjust_after_replace): Cancel externing it.
54 (insert_from_gap): Adjust prototype. 54 (insert_from_gap): Adjust prototype.
55 55
diff --git a/src/dispnew.c b/src/dispnew.c
index 47adab6b8f7..f23562cb97a 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -5725,7 +5725,11 @@ bitch_at_user (void)
5725 if (noninteractive) 5725 if (noninteractive)
5726 putchar (07); 5726 putchar (07);
5727 else if (!INTERACTIVE) /* Stop executing a keyboard macro. */ 5727 else if (!INTERACTIVE) /* Stop executing a keyboard macro. */
5728 error ("Keyboard macro terminated by a command ringing the bell"); 5728 {
5729 const char *msg
5730 = "Keyboard macro terminated by a command ringing the bell";
5731 Fsignal (Quser_error, Fcons (build_string (msg), Qnil));
5732 }
5729 else 5733 else
5730 ring_bell (XFRAME (selected_frame)); 5734 ring_bell (XFRAME (selected_frame));
5731} 5735}