Commit graph

28302 commits

Author SHA1 Message Date
Eli Zaretskii
e02131a257 (Ffile_attributes): Doc fix. (Bug#4638) 2009-10-05 08:35:41 +00:00
Eli Zaretskii
b474425446 (syms_of_xdisp) <unibyte-display-via-language-environment>: Doc fix. 2009-10-04 09:07:40 +00:00
Juanma Barranquero
2b34df4ebc Fix typos in comments. 2009-10-04 02:58:53 +00:00
Juanma Barranquero
dbf64827d9 * window.c (Fdelete_window): Check WINDOW argument. (Bug#4618) 2009-10-03 13:31:08 +00:00
Eli Zaretskii
920fd1fc7f (clear_regexp_cache): Fix a typo in a comment. 2009-10-03 09:51:32 +00:00
Eli Zaretskii
a80ce21345 (fast_looking_at): Fix a typo in the commentary. 2009-10-03 09:34:37 +00:00
Michael Albinus
e9a0aef83c * w32fns.c (Fsystem_move_file_to_trash): Use delete-directory. 2009-10-02 06:01:32 +00:00
Michael Albinus
c5c21b70c1 * lisp.h (Qdelete_directory_internal): Remove, because it is not
used anymore outside fileio.c.
2009-10-02 05:57:49 +00:00
Juanma Barranquero
64eb2b561c * lisp.h (Qdelete_directory_internal):
Declare, instead of Qdelete_directory.

* w32fns.c (Fsystem_move_file_to_trash): Use it.
2009-10-01 23:17:39 +00:00
Stefan Monnier
9d28c33ede * eval.c (Fcalled_interactively_p): Add `kind' argument.
* subr.el (interactive-p): Mark obsolete.
(called-interactively-p): Make the optional-ness of `kind' obsolete.
* emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
advertised-signature-table for subroutines as well.
2009-10-01 17:47:38 +00:00
Michael Albinus
9d8f3bd914 * fileio.c (Fdelete_directory_internal): Renamed from
Fdelete_directory.  It is not a command anymore.  It has no file
name handler.
2009-10-01 15:08:13 +00:00
Eli Zaretskii
68b251d973 (extend_face_to_end_of_line): Fix formatting of comments. 2009-09-28 17:47:48 +00:00
Stefan Monnier
9694740bcc (get_next_display_element): Use an enum in last change. 2009-09-28 02:01:52 +00:00
Kenichi Handa
748e162f10 Pay attention to
unibyte_display_via_language_environment in handling
Vnobreak_char_display.
2009-09-28 01:05:20 +00:00
Eli Zaretskii
5dc25d59aa (string_buffer_position): Fix commentary. 2009-09-27 19:11:13 +00:00
Eli Zaretskii
35a60b0799 (move_it_in_display_line_to): Fix a typo in a comment. 2009-09-27 17:32:05 +00:00
Adrian Robert
31c2d41266 * menu.c (find_and_return_menu_selection) [HAVE_NS]: Remove double-casting in client_data comparison. 2009-09-27 16:21:47 +00:00
Adrian Robert
17efd58d9d * nsterm.h (ns_app_name): New extern variable.
* nsterm.m (ns_app_name): New variable.
	(ns_term_init): Set and use it.
	(ns_term_shutdown): Use it.

	* nsmenu.m (ns_update_menubar): Use ns_app_name.  Sync with xmenu.c.
	(EmacsMenu-clear:, ns_popup_dialog): Use ns_app_name.

	* nsfns.m (ns_set_name_iconic, ns_set_name)
	(ns_set_name_as_filename, x-create-frame, ns-get-resource)
	(ns-set-resource): Use ns_app_name instead of NSProcessInfo call.
2009-09-27 15:50:39 +00:00
Adrian Robert
56d513e611 (ns_set_name_iconic, ns_set_name, ns_set_name_as_filename, x-create-frame, ns-get-resource, ns-set-resource): Use ns_app_name instead of NSProcessInfo call. 2009-09-27 15:49:26 +00:00
Adrian Robert
3988c7d603 (ns_update_menubar): Use ns_app_name. Sync with xmenu.c. (EmacsMenu-clear:, ns_popup_dialog): Use ns_app_name. 2009-09-27 15:49:08 +00:00
Adrian Robert
f27a64a912 (ns_app_name): New variable. (ns_term_init): Set and use it. (ns_term_shutdown): Use it. 2009-09-27 15:48:51 +00:00
Adrian Robert
abd5747ed9 (ns_app_name): New extern variable. 2009-09-27 15:48:30 +00:00
Eli Zaretskii
58a5068ad1 (move_it_in_display_line_to): Fix a typo in a comment. 2009-09-27 11:49:20 +00:00
YAMAMOTO Mitsuharu
3208cb35e9 (make_lispy_event): Remember last wheel direction.
(syms_of_keyboard) <wheel_syms>: Compute array size at compile time.
2009-09-27 04:40:41 +00:00
Glenn Morris
00e2f46c20 Comments. 2009-09-26 19:49:17 +00:00
Glenn Morris
b7d552d615 (MSDOS_SUPPORT) [MSDOS]: Remove unneeded '/' in internal.elc.
Add term/pc-win.elc.
(WINDOW_SUPPORT) [HAVE_X_WINDOWS]: Add term/common-win.elc and term/x-win.elc.
(WINNT_SUPPORT) [WINDOWSNT]: Add term/common-win.elc and term/w32-win.elc.
(NS_SUPPORT): New.
(lisp): Add NS_SUPPORT.
(SOME_MACHINE_LISP): Add term/w32-win.elc and emacs-lisp/easymenu.elc.
2009-09-26 19:40:55 +00:00
David Reitter
4ff670a8b8 nsmenu.m (EmacsMenu-clear): Recognize application menu
on Mac OS X 10.6+ (bug#4513).
2009-09-25 17:40:53 +00:00
Juanma Barranquero
feabfb6c72 * frame.c (xrdb_get_resource): Return nil for empty string resources;
some parts of Emacs code (like font selection) don't grok them.  See
  http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00528.html
2009-09-24 16:59:14 +00:00
Andreas Schwab
de59072a63 (decode_coding_iso_2022): Fix operator precedence. 2009-09-24 08:18:40 +00:00
Juanma Barranquero
a489517b88 * dired.c (Fdirectory_files): Fix typo in docstring. 2009-09-24 01:04:27 +00:00
Adrian Robert
0592970cad * nsterm.m (EV_TIMESTAMP, x_set_window_size)
(EmacsApp-application:openFiles:): Remove GNUstep conditionals.
	(EmacsScroller-setPosition:portion:whole:): Remove -display call
	under GNUstep.
	(EmacsView-initFrameFromEmacs:): Set autoresizing mask.

	* nsfont.m (ns_glyph_metrics): Remove GNUstep conditional for
	glyph advancement.
2009-09-23 18:21:50 +00:00
Adrian Robert
6e2f42b41a * nsfont.m (ns_glyph_metrics): Remove GNUstep conditional for
glyph advancement.
2009-09-23 18:21:04 +00:00
Adrian Robert
6aba198c83 * nsterm.m (EV_TIMESTAMP, x_set_window_size)
(EmacsApp-application:openFiles:): Remove GNUstep conditionals.
	(EmacsScroller-setPosition:portion:whole:): Remove -display call
	under GNUstep.
	(EmacsView-initFrameFromEmacs:): Set autoresizing mask.
2009-09-23 18:20:03 +00:00
Adrian Robert
e14f0a78d6 * nsfont.m (Vns_reg_to_script): New lisp variable.
(syms_of_nsfont): Declare it.
	(ns_registry_to_script): New function.
	(ns_get_req_script): Call it.
	(ns_findfonts): Don't give up on non-unicode registry.

	* font.c (DEFAULT_ENCODING) [HAVE_NS]: Remove special case.
2009-09-23 02:38:08 +00:00
Adrian Robert
87f66bd316 * nsfont.m (Vns_reg_to_script): New lisp variable.
(syms_of_nsfont): Declare it.
	(ns_registry_to_script): New function.
	(ns_get_req_script): Call it.
	(ns_findfonts): Don't give up on non-unicode registry.
2009-09-23 02:36:57 +00:00
Adrian Robert
f456006161 * font.c (DEFAULT_ENCODING) [HAVE_NS]: Remove special case. 2009-09-23 02:35:54 +00:00
Adrian Robert
b3aac06a8c * nsterm.m (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY. 2009-09-23 01:07:45 +00:00
Adrian Robert
48e8a88b2b * nsterm.m (CGContextSetFontRenderingMode): Drop declaration.
* nsmenu.m (EmacsMenu-menuNeedsUpdate): Ignore if frame has been
	deleted (bug #4492).
2009-09-22 19:49:57 +00:00
Adrian Robert
201949c3a2 (EmacsMenu-menuNeedsUpdate): Ignore if frame has been deleted (bug #4492). 2009-09-22 19:49:50 +00:00
Adrian Robert
4eb34cc713 * nsterm.m (CGContextSetFontRenderingMode): Drop declaration. 2009-09-22 19:49:06 +00:00
Stefan Monnier
5b650faa35 (find_handler_clause): Make stack-trace-on-error work in batch mode (bug#4228). 2009-09-20 17:05:00 +00:00
Eli Zaretskii
ea5fff5f19 Fix a comment. 2009-09-20 16:44:50 +00:00
Eli Zaretskii
2702e4ac03 Fix comments about header lines. 2009-09-20 16:06:53 +00:00
Adrian Robert
0bae4e09ed * nsmenu.m (EmacsMenu-parseKeyEquiv:): Parse key equivalent more carefully. 2009-09-18 23:54:04 +00:00
Chong Yidong
e2b6daf419 * syntax.c (Fchar_syntax): Minor doc fix (Bug#119). 2009-09-18 23:40:00 +00:00
Chong Yidong
d798ba8712 * syntax.c (Fchar_syntax): Minor doc fix (Bug#4400). 2009-09-18 23:39:44 +00:00
Chong Yidong
fcfe06f3f3 * syntax.c (Fchar_syntax): Minor doc fix (Bug#119). 2009-09-18 23:39:04 +00:00
Adrian Robert
4acaaa2b24 * nsfns.m (x-focus-frame): Activate the app first. 2009-09-18 23:36:29 +00:00
Adrian Robert
6516d10a49 * nsterm.m (EmacsView-windowShouldZoom:): Set frame left_pos, top_pos and
don't update the NSWindow itself.
  	   (EmacsView-windowWillUseStandardFrame:defaultFrame:): Improve
	    state detection and store user rect ourselves. (Bug #3581)
2009-09-18 21:27:11 +00:00
Adrian Robert
7107c29e11 Update comment for HAVE_NS code in font_find_for_lface(). 2009-09-18 21:16:28 +00:00