- 10 Jul, 2012 22 commits
-
-
Glenn Morris authored
-
Paul Eggert authored
-
Glenn Morris authored
-
Dmitry Antipov authored
* admin/coccinelle/list_loop.cocci: Semantic patch to convert from Fcdr to XCDR and consistently use CONSP in the list iteration loops. * admin/coccinelle/vector_contents.cocci: Fix indentation. * src/callint.c, src/coding.c, src/doc.c, src/editfns.c, src/eval.c, * src/font.c, src/fontset.c, src/frame.c, src/gnutls.c, src/minibuf.c, * src/msdos.c, src/textprop.c, src/w32fns.c, src/w32menu.c, src/window.c, * src/xmenu.c: Changed to use XCAR and XCDR where argument type is known to be a Lisp_Cons.
-
Tom Tromey authored
* bytecode.c (BYTE_CODE_THREADED): New macro. (BYTE_CODES): New macro. Replaces all old byte-code defines. (enum byte_code_op): New type. (CASE, NEXT, FIRST, CASE_DEFAULT, CASE_ABORT): New macros. (exec_byte_code): Use them. Use token threading when applicable.
-
Michael Albinus authored
command, just in case. The function is not needed anymore. (eshell-external-command): Do not call `eshell-remote-command'
-
Stefan Monnier authored
* admin/bzrmerge.el: Use cl-lib. * leim/quail/hangul.el: Don't require CL. * leim/quail/ipa.el: Use cl-lib. * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el: * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el: * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el: * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el: * international/quail.el, info-xref.el, imenu.el, image-mode.el: * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el: * battery.el, avoid.el, abbrev.el: Use cl-lib. * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el: * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el: * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el: * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el: * calculator.el, autorevert.el, apropos.el: Don't require CL. * emacs-bytecomp.el (byte-recompile-directory, display-call-tree) (byte-compile-unfold-bcf, byte-compile-check-variable): * emacs-byte-opt.el (byte-compile-trueconstp) (byte-compile-nilconstp): * emacs-autoload.el (make-autoload): Use pcase. * face-remap.el (text-scale-adjust): Simplify pcase patterns.
-
Juanma Barranquero authored
-
Stefan Monnier authored
(if): Simplify slightly.
-
Glenn Morris authored
-
Stefan Monnier authored
(pcase--self-quoting-p): New function. (pcase--u1): Use it.
-
Dmitry Antipov authored
* lisp.h (make_pure_string): Fix prototype. (build_pure_c_string): New function, defined as static inline. This provides a better opportunity to optimize away calls to strlen when the function is called with compile-time constant argument. * alloc.c (make_pure_c_string): Fix comment. Change to add nchars argument, adjust users accordingly. Use build_pure_c_string where appropriate. * buffer.c, coding.c, data.c, dbusbind.c, fileio.c, fontset.c, frame.c, * keyboard.c, keymap.c, lread.c, search.c, syntax.c, w32fns.c, xdisp.c, * xfaces.c, xfns.c, xterm.c: Use build_pure_c_string where appropriate.
-
Dmitry Antipov authored
* buffer.c (init_buffer): Use precalculated len, adjust if needed. * font.c (Ffont_xlfd_name): Likewise. Change to call make_string. * lread.c (openp): Likewise.
-
Glenn Morris authored
* configure.ac (PENDING_OUTPUT_COUNT): Move here from src/s. * src/s/cygwin.h, src/s/darwin.h, src/s/freebsd.h, src/s/netbsd.h: * src/s/unixware.h: Move PENDING_OUTPUT_COUNT definition to configure.
-
Glenn Morris authored
* configure.ac (DATA_START, DATA_SEG_BITS): Move here from src/s. * src/s/irix6-5.h (DATA_START, DATA_SEG_BITS): * src/s/hpux10-20.h (DATA_SEG_BITS, DATA_START): * src/s/gnu.h (DATA_START): Move definitions to configure.
-
Dmitry Antipov authored
* fileio.c (file_name_as_directory): Add comment. Change to add srclen argument and return the length of result. Adjust users accordingly. (directory_file_name): Fix comment. Change to add srclen argument, swap 1nd and 2st arguments to obey the common convention. Adjust users accordingly. * filelock.c (fill_in_lock_file_name): Avoid calls to strlen.
-
Glenn Morris authored
We include usg5-4-common.h, which defines them both.
-
Glenn Morris authored
(every file in Emacs that uses O_RDONLY already includes it; and this does not seem like the problem a src/s file should be trying to solve).
-
Glenn Morris authored
-
Glenn Morris authored
* lisp/emacs-lisp/authors.el (authors-fixed-entries): (authors-renamed-files-alist): Update for configure.in -> configure.ac.
-
Glenn Morris authored
Ref bugs 4309, 6401, etc. This is the last environment variable (ab)used by the ns port in this way. * src/nsterm.m (ns_load_path): Rename from ns_init_paths. Now it does not set EMACSLOADPATH, just returns the load-path string. * src/nsterm.h: Update accordingly. * src/lread.c [HAVE_NS]: Include nsterm.h. (init_lread) [HAVE_NS]: Use ns_load_path. * src/emacs.c (main) [HAVE_NS]: No longer call ns_init_paths.
-
Glenn Morris authored
-
- 09 Jul, 2012 18 commits
-
-
Glenn Morris authored
(the included bsd-common.h does so)
-
Andreas Schwab authored
-
Gnus developers authored
2012-07-09 Tassilo Horn <tassilo@member.fsf.org> * gnus-sum.el (gnus-summary-limit-to-author): Use default value instead of initial input when reading the author to restrict the summary to. 2012-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-sum.el (gnus-select-newsgroup): Don't assume that the group buffer exists, which it doesn't if we haven't started Gnus.
-
Andreas Schwab authored
PNG_DEPRECATED.
-
Glenn Morris authored
Ref bugs 4309, 6401, etc * src/nsterm.m (ns_exec_path): New function, split from ns_init_paths. (ns_init_paths): Do not set EMACSPATH. * src/nsterm.h (ns_exec_path): Add it. * src/callproc.c (init_callproc_1, init_callproc) [HAVE_NS]: Use ns_exec_path.
-
Glenn Morris authored
-
Paul Eggert authored
when read_kbd || !NILP (wait_for_cell); fix this.
-
Glenn Morris authored
-
Glenn Morris authored
-
Paul Eggert authored
-
Paul Eggert authored
* alloc.c (make_formatted_string): Prefer int to ptrdiff_t where int is good enough, as vsprintf returns an int. * lisp.h (make_formatted_string): Add ATTRIBUTE_FORMAT_PRINTF.
-
Juanma Barranquero authored
(GNU_LIB, NT_INC, C_CTYPE_H, MS_W32_H, CONFIG_H, FILEMODE_H) (FTOASTR_H, FTOASTR_C, GETOPT_INT_H, MD5_H, SHA1_H, SHA256_H) (U64_H, SHA512_H): New macros. (SRC): Redefine to point to src/, not current directory. ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O)) ($(BLD)/c-strncasecmp.$(O), $(BLD)/dtoastr.$(O)) ($(BLD)/dtotimespec.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)) ($(BLD)/gettime.$(O), $(BLD)/strftime.$(O), $(BLD)/time_r.$(O)) ($(BLD)/timespec-add.$(O), $(BLD)/timespec-sub.$(O), $(BLD)/md5.$(O)) ($(BLD)/sha1.$(O), $(BLD)/sha256.$(O), $(BLD)/sha512.$(O)) ($(BLD)/filemode.$(O)): Update dependencies.
-
Juanma Barranquero authored
-
Juanma Barranquero authored
-
Juanma Barranquero authored
-
Dmitry Antipov authored
* lisp.h (make_formatted_string): New prototype. * alloc.c (make_formatted_string): New function. * buffer.c (Fgenerate_new_buffer_name): Use it. * dbus.c (syms_of_dbusbind): Likewise. * editfns.c (Fcurrent_time_zone): Likewise. * filelock.c (get_boot_time): Likewise. * frame.c (make_terminal_frame, set_term_frame_name) (x_report_frame_params): Likewise. * image.c (gs_load): Likewise. * minibuf.c (get_minibuffer): Likewise. * msdos.c (dos_set_window_size): Likewise. * process.c (make_process): Likewise. * xdisp.c (ensure_echo_area_buffers): Likewise. * xsettings.c (apply_xft_settings): Likewise.
-
Glenn Morris authored
-
Paul Eggert authored
-