1. 19 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/eieio: A bit more cleanup, removing compat code. · 26533185
      Stefan Monnier authored
      * lisp/emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
      (eieio--with-scoped-class): Use `declare'.
      (eieio-defclass): Remove compatibility code.
      (no-method-definition, no-next-method, inconsistent-class-hierarchy)
      (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
      * lisp/emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
      Use help-function-arglist instead.
      26533185
  2. 18 Oct, 2014 5 commits
    • Jan Djärv's avatar
      6e5ff616
    • Jan Djärv's avatar
      Handle deprecated Gtk+ stuff for version <= 3.10 · 3f4c6d52
      Jan Djärv authored
      * lisp/term/x-win.el (x-gtk-stock-map): Add icon names suggested as
      replacements to stock names before stock names in a list.
      Cdr may be a list, each name is tried in turn until one is found.
      
      * src/gtkutil.c (XG_TEXT_CANCEL, XG_TEXT_OPEN, XG_TEXT_OK): New defines
      to handle Gtk versions.
      (xg_get_file_with_chooser): Use them.
      (xg_have_tear_offs, tearoff_remove, tearoff_activate): Remove
      (create_menus): Remove teroff argument and code.
      Remove call to gtk_menu_set_title.
      (xg_update_menubar, xg_update_submenu): Remove tearoff code.  Adjust
      args to create_menus.
      (xg_tool_bar_menu_proxy, xg_tool_bar_detach_callback)
      (xg_tool_bar_attach_callback, TOOLBAR_TOP_WIDGET): Remove.
      (xg_pack_tool_bar): Replace TOOLBAR_TOP_WIDGET, remove detach code.
      (xg_make_tool_item): Remove detach code.
      (xg_update_tool_bar_sizes): Replace TOOLBAR_TOP_WIDGET.
      (find_icon_from_name): New function.
      (update_frame_tool_bar): Remove GtkStockItem code, move to
      find_icon_from_name.  Let stock be a list of icon names to try.
      Only use gtk_image_new_from_stock on Gtk+ < 3.10.
      Replace TOOLBAR_TOP_WIDGET.
      (free_frame_tool_bar, xg_change_toolbar_position ): Replace
      TOOLBAR_TOP_WIDGET.
      (xg_initialize): Remove tearoff code.
      
      * src/gtkutil.h (xg_have_tear_offs): Remove declaration.
      
      * src/xmenu.c (set_frame_menubar): Remove GTK block that calls
      xg_have_tear_offs.
      
      * src/xterm.h (handlebox_widget): Remove.
      3f4c6d52
    • Alan Mackenzie's avatar
      Check that a "macro" found near point-min isn't a ## operator. Fixes · 605cfb8b
      Alan Mackenzie authored
      bug #18749.
      progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
      (c-beginning-of-macro): Use the above new function.
      605cfb8b
    • Ted Zlatanov's avatar
      net/gnutls.el: pass correct data to `gnutls-boot'. · 6c854f07
      Ted Zlatanov authored
      * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
      correct data to `gnutls-boot'.
      Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
      6c854f07
    • Michal Nazarewicz's avatar
      Add a 'big-indent style to `whitespace-mode'. · 427c3627
      Michal Nazarewicz authored
      * lisp/whitespace.el (whitespace-style, whitespace-big-indent)
      (whitespace-big-indent-regexp, whitespace-style-value-list)
      (whitespace-toggle-option-alist, whitespace-interactive-char)
      (whitespace-toggle-options)
      (global-whitespace-toggle-options, whitespace-help-text)
      (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
      style to `whitespace-mode' to indicate that the line indentation
      is too deep.  By default, 32 SPACEs or four TABs are considered
      too many but `whitespace-big-indent-regexp' can be configured.
      427c3627
  3. 17 Oct, 2014 3 commits
  4. 16 Oct, 2014 3 commits
  5. 15 Oct, 2014 6 commits
  6. 14 Oct, 2014 2 commits
  7. 13 Oct, 2014 1 commit
    • Glenn Morris's avatar
      Small authors.el updates · 7dbd8a2c
      Glenn Morris authored
      * lisp/emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
      (authors-obsolete-files-regexps): Additions.
      (authors-no-scan-regexps): New constant.
      (authors-no-scan-file-p): New function.
      (authors): Respect authors-no-scan-file-p.
      7dbd8a2c
  8. 12 Oct, 2014 3 commits
  9. 11 Oct, 2014 5 commits
  10. 10 Oct, 2014 5 commits
  11. 09 Oct, 2014 2 commits
  12. 08 Oct, 2014 4 commits
    • Leo Liu's avatar
      Enhance terpri to allow conditionally output a newline · 2dbd7a37
      Leo Liu authored
      * doc/lispref/streams.texi (Output Functions): Document new argument ENSURE to
      terpri.
      
      * doc/misc/cl.texi (Porting Common Lisp): Remove parse-integer.
      
      * lisp/emacs-lisp/cl-extra.el (cl-fresh-line): New function.
      
      * src/keymap.c (describe_vector_princ):
      * src/keyboard.c (Fcommand_error_default_function): Adapt to change to
      Fterpri.
      
      * src/print.c (printchar_stdout_last): Declare.
      (printchar): Record the last char written to stdout.
      (Fterpri): Add optional argument ENSURE.
      
      * test/automated/print-tests.el: New file.
      (terpri): Tests for terpri.  (Bug#18652)
      2dbd7a37
    • Glenn Morris's avatar
    • Leo Liu's avatar
      * lisp/progmodes/cfengine.el (cfengine3-make-syntax-cache): Always · 97272dad
      Leo Liu authored
      return a syntax.  Replace call-process-shell-command with
      process-file.  Ensure cfengine-mode-syntax-functions-regex is
      always set.  Ensure cache when cfengine-cf-promises fails.
      
      Fixes: debbugs:18620
      97272dad
    • Eli Zaretskii's avatar
      Fix bug #18636 with documentation of multi-monitor displays. · 28ec0a87
      Eli Zaretskii authored
       doc/lispref/frames.texi (Multiple Terminals): Improve the description of X
       display names.  Add index entries.
       (Basic Parameters): Add a cross-reference to where X display names
       are described.
       (Position Parameters): Mention that positional parameters of the
       form (+ POS) can be negative if they are on a non-primary monitor
       of a multi-monitor display.
       (Creating Frames): Mention that on multi-monitor displays the
       frame might be positioned differently than specified by the frame
       parameters alist.
      
       lisp/faces.el (display-grayscale-p): Mention in the doc string that
       the argument can be either a display name or a frame.
       lisp/frame.el (display-pixel-height, display-pixel-width)
       (display-mm-height, display-mm-width, display-backing-store)
       (display-save-under, display-planes, display-color-cells)
       (display-visual-class, display-monitor-attributes-list)
       (display-screens): Mention in the doc string that the argument can
       be either a display name or a frame.  Improve the docs of the
       monitor attributes.
      28ec0a87