aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix create_process bug breaking eudc-expand-inlinePaul Eggert2018-03-101-3/+3
| | | | | | | | | | | | Problem reported by Thomas Fitzsimmons (Bug#30762). * src/process.c (create_process) [HAVE_PTYS]: Call setsid even if !PTY_FLAG.
* | Allow underline position variables be buffer-localAaron Jensen2018-03-104-17/+83
| | | | | | | | | | | | | | | | | | * src/nsterm.m (ns_draw_text_decoration): * src/w32term.c (x_draw_glyph_string): * src/xterm.c (x_draw_glyph_string): Allow underline-minimum-offset, underline-at-descent-line, and x-use-underline-position-properties be buffer local variables. (Bug#30553) * src/xdisp.c (syms_of_xdisp) <underline-minimum-offset>: Add DEFSYM.
* | Fix string-to-number C-level mishandlingPaul Eggert2018-03-092-2/+6
| | | | | | | | | | | | | | * src/sysdep.c (list_system_processes): * src/xfaces.c (Finternal_set_lisp_face_attribute_from_resource): Defend against Fstring_to_number returning a float or a nonsense integer.
* | Avoid losing info when formatting integersPaul Eggert2018-03-081-55/+41
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/numbers.texi (Integer Basics): Clarify that out-of-range integers are treated as floating point only when the integers are decimal. * etc/NEWS: Mention changes. * src/editfns.c (styled_format): Use %.0f when formatting %d or %i values outside machine integer range, to avoid losing info. Signal an error for %o or %x values that are too large to be formatted, to avoid losing info.
* | Merge from origin/emacs-26Glenn Morris2018-03-081-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb0d40e (origin/emacs-26) Minor change in the manual 7e26d83 More minor changes in the manual 6851754 Replace some obsolete aliases in code 6bcb48c Replace some obsolete aliases in documentation 317da2a Minor improvements in manuals 61c1f80 Minor copyedits in display.texi d523e4a Remove some unused spam.el variables 501808c Replace some obsolete aliases in code 19afff3 Replace some obsolete aliases in documentation c797bc9 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac... 0efe0bd Obsolete eshell-cmpl-suffix-list add48d2 More minor changes in the Glossary of the Emacs manual f6bd7e0 Revert last commit af4697f Define if-let* and derivatives as aliases for if-let etc ec79bdc Minor fix in Emacs manual's Glossary
| * Replace some obsolete aliases in documentationGlenn Morris2018-03-061-1/+1
| | | | | | | | | | | | | | | | | | * doc/emacs/text.texi (Nroff Mode): * doc/misc/efaq.texi (How to add fonts): * lisp/gnus/nnheader.el (nnheader-insert-file-contents): * lisp/progmodes/pascal.el (pascal-outline-mode): Doc fixes re obsolete aliases. ; * src/frame.c (do_switch_frame): Comment.
* | Fix 'window-text-pixel-size' when display properties are aroundEli Zaretskii2018-03-081-8/+37
| | | | | | | | | | | | * src/xdisp.c (Fwindow_text_pixel_size): Correct the result when there's a display property at the TO position, and the call to move_it_to overshoots. (Bug#30746)
* | Fix display of TABs in hscrolled windows with line numbersEli Zaretskii2018-03-073-11/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/dispextern.h (struct it): New members tab_offset and line_number_produced_p. * src/xdisp.c (display_line): Don't set row->x to a negative value if line numbers are being displayed. (Bug#30582) Reset the line_number_produced_p flag before laying out the glyph row. (x_produce_glyphs): Use the line_number_produced_p flag to decide whether to offset the X coordinate due to line-number display. Use the tab_offset member to restore the original TAB width for alignment purposes. (move_it_in_display_line_to): Don't produce line numbers when moving in hscrolled window to the left of first_visible_x. (maybe_produce_line_number): Set the line_number_produced_p flag. (Bug#30584) * src/term.c (produce_glyphs): Correct TAB width only when line_number_produced_p flag is set.
* | Rename marker_free_list to misc_free_listDaniel Colascione2018-03-041-10/+10
| | | | | | | | * src/alloc.c: 'marker_free_list' -> 'misc_free_list' throughout
* | Merge from origin/emacs-26Glenn Morris2018-03-021-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0213c8b (origin/emacs-26) mwheel minor consistency fix 82f12b2 * src/window.c (Frecenter): Improve commentary. 04da8f4 Fix downloading non-text files in EWW 832b9ec ; Spelling fixes dd88499 ; Spelling fixes 3968f72 Rename some mwheel options, for consistency d6e78de * lisp/vc/add-log.el (add-change-log-entry): Replace obsolete... 5fe0387 Improve the Emacs manual 56ab8e3 * lisp/dired-aux.el (dired-do-create-files): Doc fix. (Bug#3... Conflicts: etc/NEWS lisp/mwheel.el
| * * src/window.c (Frecenter): Improve commentary.Eli Zaretskii2018-03-021-0/+3
| |
| * Require a larger stack size for threads on macOS (bug#30364)Paul Eggert2018-02-281-0/+9
| | | | | | | | | | | | | | * src/systhread.c (sys_thread_create) [THREADS_ENABLED && HAVE_PTHREAD && DARWIN_OS]: Require at least 8MB stack size for x64 and 4MB for x86 on macOS. Do not merge to master.
* | Improve octal-escape output in bool vectors and stringsPaul Eggert2018-03-011-23/+34
| | | | | | | | | | | | | | | | | | | | | | * src/print.c (octalout): New function. (print_vectorlike): When printing bool vectors, use octal escapes for control characters when print-escape-control-characters is non-nil, so that the printed representation avoids encoding issues. Rename locals to avoid byte-vs-char confusion. (print_object): Don't output unnecessary zeros when printing octal escapes. Simplify by using octalout.
* | Remove redundant test in fns.cEli Zaretskii2018-03-011-2/+0
| | | | | | | | | | * src/fns.c (extract_data_from_object): Remove redundant CHECK_BUFFER test.
* | Merge from origin/emacs-26Glenn Morris2018-02-281-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd50238 (origin/emacs-26) * doc/lispref/streams.texi (Output Variable... 769ea57 Use "GTK+" where applicable in the manual 5e69219 Document print-escape-control-characters c00fea9 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac... a2ab0d0 * doc/emacs/killing.texi (Rectangles): Don't use @key for cha... 6288c3d * lisp/emulation/viper.el: Unbreak it. bf3535e More fixes in the Emacs manual c87d04e Avoid aborts in 'md5' 9743f48 Mark keys consistently in manuals ce557a9 Remove @key{} markups from @kindex entries in manuals 71243f0 * doc/emacs/display.texi (Standard Faces): Fix markup of inde... 7a069f3 Fix @kindex entries in manuals 6218933 Fix @cindex entries in manuals 57c9f12 Merge branch 'emacs-26' of git.sv.gnu.org:/srv/git/emacs into... e415309 Fix @cindex entries in org.texi 560a23e Document reserved keys 105d085 * doc/misc/ebrowse.texi: Use @key{} for keys. Conflicts: doc/misc/tramp.texi etc/NEWS
| * Avoid aborts in 'md5'Eli Zaretskii2018-02-271-0/+3
| | | | | | | | | | * src/fns.c (extract_data_from_object): Don't crash if called with an invalid object. (Bug#30627)
* | Require a larger stack size for threads (bug#30364)Aaron Jensen2018-02-271-0/+7
| | | | | | | | | | * src/systhread.c (sys_thread_create) [THREADS_ENABLED && HAVE_PTHREAD]: Require at least 8MB stack size for x64 and 4MB for x86.
* | Make bare "make" in src actually build emacs againDaniel Colascione2018-02-261-3/+4
| | | | | | | | * src/Makefile.in (all): Move target ahead of dep-file inclusion.
* | Merge from origin/emacs-26Glenn Morris2018-02-241-2/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | 7e7f2ea (origin/emacs-26) * src/keyboard.c (syms_of_keyboard): Doc fi... c0676d4 Improve documentation of X resources d806d69 ; Use @minus for negative numbers in some texi files 4a8ea7d * lisp/international/mule.el (keyboard-coding-system): Doc fix. 8a73b80 Minor doc fixes, mostly for timestamp issues 361a8b9 * doc/emacs/mini.texi (Completion Styles): Improve indexing. 2dc24d5 Fix @findex and @vindex entries in manuals 76f5242 Document, in the Elisp manual, how to get a character's raw s... 5fb2957 Improvements in the Emacs manual de17b8e Tiny doc/misc markup fixes
| * * src/keyboard.c (syms_of_keyboard): Doc fix. (Bug#30588)Eli Zaretskii2018-02-241-2/+3
| |
* | Merge from origin/emacs-26Glenn Morris2018-02-222-4/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83187cd (origin/emacs-26) Skip mouse-face overlap check when mouse-fa... a6d8f2b Fix capitalization of "Mail-Followup-To" f9640f9 * lisp/progmodes/grep.el (grep-compute-defaults): 3a26c8a Semantic manual fixes 106a9f6 More improvements in the Emacs manual 244db85 * doc/misc/viper.texi (File and Buffer Handling): Add missing... f0d6a16 Fix documentation of 'x-underline-at-descent-line' 69a8f45 * lisp/textmodes/flyspell.el (flyspell-get-word): Doc fix. 05214c6 Correct variable markup in manuals 355c644 Improve the "Sending Mail" chapter of Emacs manual Conflicts: src/nsterm.m src/w32term.c
| * Skip mouse-face overlap check when mouse-face is hidden (Bug#30519)Martin Rudalics2018-02-221-4/+6
| | | | | | | | | | | | * src/xdisp.c (note_mouse_highlight): Skip check whether mouse-face highlighting overlay overlaps other mouse-face overlays when mouse-face highlighting is hidden (Bug#30519).
| * Fix documentation of 'x-underline-at-descent-line'Eli Zaretskii2018-02-213-0/+6
| | | | | | | | | | | | | | | | * doc/emacs/display.texi (Display Custom): * src/nsterm.m (syms_of_nsterm): * src/xterm.c (syms_of_xterm): * src/w32term.c (syms_of_w32term): Mention the effect of 'line-spacing' on the underline position. (Bug#30553)
* | Port recent MAX_RW_COUNT checks to POSIXPaul Eggert2018-02-201-10/+19
| | | | | | | | | | | | * src/sysdep.c (MAX_RW_COUNT): Verify that it fits in POSIX standard types, to go along with already-existing checks for MS-Windows types. (emacs_intr_read): eassert on all platforms, not just MS-Windows.
* | Fix false alarm with recent GCC x86Paul Eggert2018-02-201-1/+1
| | | | | | | | | | * src/lread.c (Fload): Use UNINIT to pacify -Wmaybe-uninitialized false alarm on Fedora 27 x86 with GCC 7.3.1 20180130 (Red Hat 7.3.1-2).
* | Merge from origin/emacs-26Glenn Morris2018-02-201-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 226aca3 (origin/emacs-26) Fix documentation of 'flyspell-auto-correct... a8c8434 * doc/emacs/misc.texi (Saving Emacs Sessions): Fix markup. 275e735 More changes in the Emacs manuals d962be5 More fixes in the Emacs manual 6dc2846 * src/data.c (Faref): Fix a typo in the doc string. (Bug#30510) 36e729f Minor edit in tramp.texi 6537f99 ; Fix oversight from last commit eb94588 ; * doc/emacs/maintaining.texi: Fix two typos. 258135f More improvements in the Emacs manual f138bca Improve documentation of 'electric-pair-mode' f74ab96 ; Spelling and grammar fixes. 42f9dc4 ; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): ...
| * * src/data.c (Faref): Fix a typo in the doc string. (Bug#30510)Eli Zaretskii2018-02-181-2/+2
| |
* | Add assertion to guard 'read' calls on MS-WindowsEli Zaretskii2018-02-201-0/+8
| | | | | | | | | | * src/sysdep.c (emacs_intr_read): Assert that NBYTES never overflows a 32-bit int.
* | Merge from origin/emacs-26Glenn Morris2018-02-1715-16/+19
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e5a2933 (origin/emacs-26) lisp/vc/: documentation fixes f21f8e6 Document 'desktop-files-not-to-save' d8917eb Improve documentation of Profiling features b228839 Improve indexing of "performance" in ELisp manual ab67b3e Minor change in Emacs manual's VC chapter c352434 Avoid memory corruption with specpdl overflow + edebug (Bug#3... 593bbda Document comment-fill-column in the manual (Bug#11636) bd4cc8d * doc/emacs/dired.texi (Marks vs Flags): Copyedits. 69107f3 ; Fix doc typos related to indefinite articles aaad1e6 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac... 5906418 More fixes for the Emacs manual 9ab3df1 ; Fix doc typos related to indefinite articles 66a4e65 ; Fix doc typos related to indefinite articles 35e5c57 ; Fix doc typos related to indefinite articles
| * Avoid memory corruption with specpdl overflow + edebug (Bug#30481)Noam Postavsky2018-02-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | If grow_specpdl fails due to outgrowing max_specpdl_size, it will signal an error *before* growing the specpdl array. Therefore, when handling the signal, specpdl_ptr points past the end of the specpdl array and any further use of of specpdl before unwinding (e.g., if edebug binds signal-hook-function) will cause memory corruption. * src/eval.c (signal_or_quit): Don't call `signal-hook-function' if the specpdl_ptr is already past the end of the specpdl array. * test/src/eval-tests.el (eval-tests--exceed-specbind-limit) (eval-exceed-specbind-with-signal-hook): New test & helper function.
| * ; Fix doc typos related to indefinite articlesGlenn Morris2018-02-164-4/+4
| |
| * ; Fix doc typos related to indefinite articlesGlenn Morris2018-02-1611-11/+11
| |
* | Use pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346)Noam Postavsky2018-02-171-3/+4
| | | | | | | | | | | | | | * configure.ac: Use EMACS_CHECK_MODULES fors LCMS2 rather than AC_SEARCH_LIBS. * src/Makefile.in: Get LCMS2_LIBS and LCMS2_CFLAGS from configure, instead of just LIBLCMS2.
* | Fix modifier key handling on macOSAlan Third2018-02-171-11/+89
| | | | | | | | | | | | | | * configure.ac: Use the Carbon framework on macOS. * src/nsterm.m (ns_get_shifted_character) [NS_IMPL_COCOA]: New function. (EmacsView::keyDown) [NS_IMPL_COCOA]: Use ns_get_shifted_character when we have shift style modifiers.
* | Make echo-area buffers almost always multibyteEli Zaretskii2018-02-171-8/+23
| | | | | | | | | | | | | | * src/xdisp.c (setup_echo_area_for_printing, set_message_1): Ensure the echo-area buffer is multibyte, unless unibyte-display-via-language-environment is non-nil, and the text we are to display is or could be unibyte. (Bug#30405)
* | Add early init file, stop package-initialize insertionRadon Rosborough2018-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discussion on emacs-devel leading up to this change (approximately 150 messages): - https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00154.html - https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00433.html - https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00023.html - https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00599.html - https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00332.html * lisp/startup.el (early-init-file): New variable. (load-user-init-file): New function. (command-line): Load the early init file using `load-user-init-file'. Move the check for an invalid username to just before that, and move the initialization of the package system to just after. Load the regular init file using `load-user-init-file'. * lisp/emacs-lisp/package.el (package--ensure-init-file): Remove definition, usage, and documentation. (package--init-file-ensured): Remove definition and usage. * src/lread.c (Vuser_init_file): Note change in semantics due to its usage while loading the early init file. * doc/emacs/custom.texi: Document early init file. * doc/emacs/package.texi: Document changes to when package-initialize is called. Change terminology for package 'loading'. * doc/lispref/os.texi: Document early init file. Update startup summary. * doc/lispref/package.texi: Document changes to when package-initialize is called, and advise against calling it in the init file. Change terminology for package 'loading'. * doc/misc/org.texi: Don't recommend to call package-initialize in the init file.
* | Fix wait_reading_process_output wait_proc hangMatthias Dahl2018-02-162-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/process.c (read_process_output): Track bytes read from a process. (wait_reading_process_output): If called recursively through timers and/or process filters via accept-process-output, it is possible that the output of wait_proc has already been read by one of those recursive calls, leaving the original call hanging forever if no further output arrives through that fd and no timeout has been set. Fix that by using the process read accounting to keep track of how many bytes have been read and use that as a condition to break out of the infinite loop and return to the caller as well as to calculate the proper return value (if a wait_proc is given that is). * src/process.h (struct Lisp_Process): Add nbytes_read to track bytes read from a process.
* | ; Replace "Written by" with standard "Author:" header in some C filesGlenn Morris2018-02-137-22/+26
| |
* | Stop keeping multiple doc copies for items defined multiple timesGlenn Morris2018-02-1313-556/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | It was always a nuisance to keep all the copies in sync. * src/doc.c (Fsnarf_documentation): Don't skip entire files. Instead, skip individual doc strings starting with "SKIP". * doc/lispref/internals.texi (Writing Emacs Primitives): Mention this skipping. * lisp/term/ns-win.el, lisp/term/pc-win.el, src/dosfns.c: * src/frame.c, src/nsfns.m, src/nsmenu.m, src/nsterm.m: * src/w16select.c, src/w32fns.c, src/w32menu.c, src/w32select.c: * src/w32term.c, src/xmenu.c: Remove duplicated doc strings. * src/xfns.c: Merge in information from doc string duplicates.
* | Doc tweak for x-use-underline-position-propertiesGlenn Morris2018-02-131-4/+3
| | | | | | | | | | | | * src/xterm.c (syms_of_xterm) <x-use-underline-position-properties>: Remove ancient information from doc. * etc/PROBLEMS: Related edit.
* | Merge from origin/emacs-26Glenn Morris2018-02-131-8/+23
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 333d6f4 (origin/emacs-26) More changes in the Emacs manual 52ca0d1 * lisp/vc/vc.el (vc-deduce-backend): Use ignore-errors. 69e8046 Don't signal error in vc-deduce-backend f568c91 * doc/misc/tramp.texi: Index more user options. 92ca881 Minor change in the Emacs manual e055a12 NEWS update about 'string-trim' 96b6e24 Clarify TRAMP process-environment interaction (Bug#30419) 4fa467e * lisp/progmodes/grep.el (grep-num-matches-found): New variable. a22820a Avoid aborts in cm.c due to too small TTY frame 26f6441 Another set of improvements in the Emacs manual cef3b42 Fix help in mode-line-mode-menu f8a493c Improve documentation of desktop restoring 10637af Improve the Emacs manual's chapter "Frames" d924953 Fix unbound mm-uu-entry in mm-uu cb2487b Improve Emacs user manual in fixit.texi 66e9527 Another minor change in the manual 6a1c03d More minor changes in the Emacs manual 32fb8c4 Avoid printing garbled error message from image.el Conflicts: etc/NEWS lisp/image.el
| * Avoid aborts in cm.c due to too small TTY frameEli Zaretskii2018-02-121-8/+23
| | | | | | | | | | | | | | * src/frame.c (frame_windows_min_size): Limit TTY frames to a minimum height large enough to allow for a menu bar, the mode line, one text line and one echo-area line. This avoids aborts in cm.c:cmcheckmagic. (Bug#30320)
* | Fix NS-related compilation errors.Philipp Stephani2018-02-132-3/+2
| | | | | | | | | | | | | | | | * src/nsterm.m (ns_set_represented_filename): Remove unused variable 'view'. * src/nsfns.m (x_implicitly_set_name, syms_of_nsfns): The type of a variable defined with DEFVAR_BOOL is 'bool', not 'Lisp_Object'.
* | Finish renaming to internal--daemon-socknamePaul Eggert2018-02-121-3/+3
| | | | | | | | | | | | | | * doc/lispref/processes.texi (Misc Network): Omit discussion of internal--daemon-sockname, as non-Emacs code shouldn't rely on it. * src/process.c (syms_of_process): Rename internal-daemon-sockname to internal--daemon-sockname. All uses changed.
* | Rename internal--external-sockname and document (Bug#24218)Matthew Leach2018-02-121-3/+3
| | | | | | | | | | | | | | * lisp/server.el: Rename `internal--external-sockname' to `internal-daemon-sockname'. * src/process.c: Likewise. * doc/lispref/processes.texi: Document `internal-daemon-sockname'.
* | Minor cleanups for server-name fix (Bug#24218)Paul Eggert2018-02-123-42/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/server.el (server--external-socket-initialized): Rename from server-external-socket-initialised, since it should be private and Emacs uses American spelling. All uses changed. * src/emacs.c, src/lisp.h: Revert previous changes, as the initialization is now done in src/process.c, which already includes the relevant files. * src/process.c (union u_sockaddr): Move decl to top level. (external_sock_name, Fget_external_sockname): Remove, replacing with Vinternal__external_sockname. All uses changed. (init_process_emacs): Deduce socket name ourselves rather than have main.c do it. Use conv_sockaddr_to_lisp instead of doing it by hand. Conditionalize it on HAVE_GETSOCKNAME.
* | Fix `server-name' and `server-socket-dir' for (Bug#24218)Matthew Leach2018-02-123-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/server.el: (server-external-socket-initialised): New (server-name): Compute server name from `get-external-sockname'. (server-socket-dir): Compute socket dir from `get-external-sockname'. (server-start): Don't check for existing server when an uninitialised external socket has been passed to Emacs. * src/emacs.c: (main): Obtain socket name via getsockname and pass to `init_process_emacs'. * src/lisp.h: (init_process_emacs): Add second parameter. * src/process.c: (external_sock_name): New. (get-external-sockname): New. (init_process_emacs): Set `external_sock_name' to `sockname' parameter.
* | Minor fixes to .gdbinitTom Tromey2018-02-121-3/+10
| | | | | | | | | | | | * src/.gdbinit (xcompiled): Emit a final newline. (python): Define "long" if not already defined. Use casts to long, not int.
* | Fix modifier keys on NS portAlan Third2018-02-111-36/+60
| | | | | | | | | | | | | | | | | | | | * src/nsterm.m (EV_MODIFIERS_OPTION): (EV_MODIFIERS_CONTROL): (EV_MODIFIERS_COMMAND): New macros. (ev_modifiers_helper): New function. (EV_MODIFIERS2): Use new helper function. (EmacsView::keyDown): Remove duplicate functionality and handle fn key correctly.
* | Remove NS special handling of 'frame-title-format'Alan Third2018-02-113-85/+38
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/term/ns-win.el (frame-title-format, icon-title-format): Change default format to just the filename. * src/nsfns.m (ns-use-proxy-icon): New variable. (ns_set_name_as_filename): Remove function. (x_implicitly_set_name): Get rid of special handling of frame-title-format. * src/nsterm.h (ns_set_represented_filename): Use new definition. * src/nsterm.m (ns_set_represented_filename): Move some of the logic from ns_set_name_as_filename into this function.