1. 17 Nov, 2013 1 commit
  2. 11 Sep, 2013 1 commit
    • Stefan Monnier's avatar
      Use define-derived-mode (and derived-mode-p). · 1b3b87df
      Stefan Monnier authored
      * lisp/play/snake.el (snake-mode):
      * lisp/play/mpuz.el (mpuz-mode):
      * lisp/play/landmark.el (lm-mode):
      * lisp/play/blackbox.el (blackbox-mode):
      * lisp/play/5x5.el (5x5-mode):
      * lisp/obsolete/options.el (Edit-options-mode):
      * lisp/net/quickurl.el (quickurl-list-mode):
      * lisp/net/newst-treeview.el (newsticker-treeview-mode):
      * lisp/mail/rmailsum.el (rmail-summary-mode):
      * lisp/mail/mspools.el (mspools-mode):
      * lisp/locate.el (locate-mode):
      * lisp/ibuffer.el (ibuffer-mode):
      * lisp/emulation/ws-mode.el (wordstar-mode):
      * lisp/emacs-lisp/debug.el (debugger-mode):
      * lisp/array.el (array-mode):
      * lisp/net/eudc.el (eudc-mode): Use define-derived-mode.
      * lisp/net/mairix.el (mairix-searches-mode-font-lock-keywords):
      Move initialization into declaration.
      (mairix-searches-mode): Use define-derived-mode.
      * lisp/net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
      (eudc-edit-hotlist): Use dolist.
      * lisp/man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
      (Man-mode): Use define-derived-mode.
      * lisp/info.el (Info-edit-mode-map): Rename from Info-edit-map.
      (Info-edit-mode): Use define-derived-mode.
      (Info-cease-edit): Use Info-mode.
      * lisp/eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
      into declaration.
      (eshell-mode): Use define-derived-mode.
      * lisp/chistory.el (command-history-mode-map): Rename from
      command-history-map.
      (command-history-mode): Use define-derived-mode.
      * lisp/calc/calc.el (calc-trail-mode-map): New var.
      (calc-trail-mode): Use define-derived-mode.
      (calc-trail-buffer): Set calc-main-buffer manually.
      * lisp/bookmark.el (bookmark-insert-annotation): New function.
      (bookmark-edit-annotation): Use it.
      (bookmark-edit-annotation-mode): Make it a proper major mode.
      (bookmark-send-edited-annotation): Use derived-mode-p.
      * lisp/arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
      closer to its ideal place.  Use \' to match EOS.
      
      * lisp/cedet/semantic/grammar.el (semantic-grammar-mode): Use define-derived-mode.
      (semantic-grammar-mode-syntax-table): Rename from
      semantic-grammar-syntax-table.
      (semantic-grammar-mode-map): Rename from semantic-grammar-map.
      * lisp/cedet/data-debug.el (data-debug-mode-map): Rename from data-debug-map.
      (data-debug-mode): Use define-derived-mode.
      
      * lisp/gnus/score-mode.el (gnus-score-mode-map): Move initialization
      into declaration.
      (gnus-score-mode): Use define-derived-mode.
      * lisp/gnus/gnus-srvr.el (gnus-browse-mode): Use define-derived-mode.
      * lisp/gnus/gnus-kill.el (gnus-kill-file-mode-map): Move initialization
      into declaration.
      (gnus-kill-file-mode): Use define-derived-mode.
      (gnus-kill-file-edit-file, gnus-kill-file-enter-kill, gnus-kill):
      Use derived-mode-p.
      * lisp/gnus/gnus-group.el (gnus-group-mode): Use define-derived-mode.
      (gnus-group-setup-buffer, gnus-group-name-at-point)
      (gnus-group-make-web-group, gnus-group-enter-directory)
      (gnus-group-suspend): Use derived-mode-p.
      * lisp/gnus/gnus-cus.el (gnus-custom-mode): Use define-derived-mode.
      * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode): Use define-derived-mode.
      * lisp/gnus/gnus-art.el (gnus-article-mode): Use define-derived-mode.
      (gnus-article-setup-buffer, gnus-article-prepare)
      (gnus-article-prepare-display, gnus-sticky-article)
      (gnus-kill-sticky-article-buffer, gnus-kill-sticky-article-buffers)
      (gnus-bind-safe-url-regexp, gnus-article-check-buffer)
      (gnus-article-read-summary-keys): Use derived-mode-p.
      1b3b87df
  3. 09 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (define-error): New function. · 54bd972f
      Stefan Monnier authored
      * doc/lispref/control.texi (Signaling Errors): Refer to define-error.
      (Error Symbols): Add `define-error'.
      * doc/lispref/errors.texi (Standard Errors): Don't refer to `error-conditions'.
      * lisp/progmodes/ada-xref.el (ada-error-file-not-found): Rename from
      error-file-not-found and define with define-error.
      * lisp/emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
      and define with define-error.
      * lisp/userlock.el (file-locked, file-supersession):
      * lisp/simple.el (mark-inactive):
      * lisp/progmodes/js.el (js-moz-bad-rpc, js-js-error):
      * lisp/progmodes/ada-mode.el (ada-mode-errors):
      * lisp/play/life.el (life-extinct):
      * lisp/nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
      * lisp/nxml/xmltok.el (xmltok-markup-declaration-parse-error):
      * lisp/nxml/rng-util.el (rng-error):
      * lisp/nxml/rng-uri.el (rng-uri-error):
      * lisp/nxml/rng-match.el (rng-compile-error):
      * lisp/nxml/rng-cmpct.el (rng-c-incorrect-schema):
      * lisp/nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
      * lisp/nxml/nxml-rap.el (nxml-scan-error):
      * lisp/nxml/nxml-outln.el (nxml-outline-error):
      * lisp/net/soap-client.el (soap-error):
      * lisp/net/gnutls.el (gnutls-error):
      * lisp/net/ange-ftp.el (ftp-error):
      * lisp/mpc.el (mpc-proc-error):
      * lisp/json.el (json-error, json-readtable-error, json-unknown-keyword)
      (json-number-format, json-string-escape, json-string-format)
      (json-key-format, json-object-format):
      * lisp/jka-compr.el (compression-error):
      * lisp/international/quail.el (quail-error):
      * lisp/international/kkc.el (kkc-error):
      * lisp/emacs-lisp/ert.el (ert-test-failed):
      * lisp/calc/calc.el (calc-error, inexact-result, math-overflow)
      (math-underflow):
      * lisp/bookmark.el (bookmark-error-no-filename):
      * lisp/epg.el (epg-error): Define with define-error.
      54bd972f
  4. 05 Aug, 2013 1 commit
    • Dmitry Antipov's avatar
      Do not call to `selected-window' where it is assumed by default. · 290d5b58
      Dmitry Antipov authored
      Affected functions are `window-minibuffer-p', `window-dedicated-p',
      `window-hscroll', `window-width', `window-height', `window-buffer',
      `window-frame', `window-start', `window-point', `next-window'
      and `window-display-table'.
      * abbrev.el (abbrev--default-expand):
      * bs.el (bs--show-with-configuration):
      * buff-menu.el (Buffer-menu-mouse-select):
      * calc/calc.el (calc):
      * calendar/calendar.el (calendar-generate-window):
      * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
      (diary-make-entry):
      * comint.el (send-invisible, comint-dynamic-complete-filename)
      (comint-dynamic-simple-complete, comint-dynamic-list-completions):
      * completion.el (complete):
      * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
      * disp-table.el (describe-current-display-table):
      * doc-view.el (doc-view-insert-image):
      * ebuff-menu.el (Electric-buffer-menu-mouse-select):
      * ehelp.el (with-electric-help):
      * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
      * emacs-lisp/helper.el (Helper-help-scroller):
      * emulation/cua-base.el (cua--post-command-handler-1):
      * eshell/esh-mode.el (eshell-output-filter):
      * ffap.el (ffap-gnus-wrapper):
      * help-macro.el (make-help-screen):
      * hilit-chg.el (highlight-compare-buffers):
      * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
      * hl-line.el (global-hl-line-highlight):
      * icomplete.el (icomplete-simple-completing-p):
      * isearch.el (isearch-done):
      * jit-lock.el (jit-lock-stealth-fontify):
      * mail/rmailsum.el (rmail-summary-scroll-msg-up):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * mpc.el (mpc-tagbrowser, mpc):
      * net/rcirc.el (rcirc-any-buffer):
      * play/gomoku.el (gomoku-max-width, gomoku-max-height):
      * play/landmark.el (landmark-max-width, landmark-max-height):
      * play/zone.el (zone):
      * progmodes/compile.el (compilation-goto-locus):
      * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
      * progmodes/etags.el (find-tag-other-window):
      * progmodes/fortran.el (fortran-column-ruler):
      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
      * progmodes/verilog-mode.el (verilog-point-text):
      * reposition.el (reposition-window):
      * rot13.el (toggle-rot13-mode):
      * server.el (server-switch-buffer):
      * shell.el (shell-dynamic-complete-command)
      (shell-dynamic-complete-environment-variable):
      * simple.el (insert-buffer, set-selective-display)
      (delete-completion-window):
      * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
      (speedbar-recenter):
      * startup.el (fancy-splash-head):
      * textmodes/ispell.el (ispell-command-loop):
      * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
      * tutorial.el (help-with-tutorial):
      * vc/add-log.el (add-change-log-entry):
      * vc/compare-w.el (compare-windows):
      * vc/ediff-help.el (ediff-indent-help-message):
      * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
      * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
      (ediff-setup-control-frame):
      * vc/emerge.el (emerge-position-region):
      * vc/pcvs-util.el (cvs-bury-buffer):
      * window.el (walk-windows, mouse-autoselect-window-select):
      * winner.el (winner-set-conf, winner-undo): Related users changed.
      290d5b58
  5. 20 Jun, 2013 1 commit
    • Paul Eggert's avatar
      Add log2 support and make log10 obsolete for consistency. · 89561f72
      Paul Eggert authored
      * configure.ac (log2): Check for this function.
      * doc/lispref/numbers.texi (Math Functions): Remove obsolete function log10.
      * lisp/subr.el (log10): Move here from C code, and declare as obsolete.
      All uses of (log10 X) replaced with (log X 10).
      * src/floatfns.c (Flog) [HAVE_LOG2]: Use log2 if available and if the
      base is 2; this is more accurate.
      (Flog10): Move to Lisp (marked obsolete there).
      89561f72
  6. 28 Apr, 2013 1 commit
  7. 05 Apr, 2013 1 commit
  8. 09 Feb, 2013 1 commit
    • Jay Belanger's avatar
      * doc/misc/calc.texi (Basic Operations on Units): · 5d9c6f17
      Jay Belanger authored
        (Customizing Calc): Mention the variable `calc-allow-units-as-numbers'.
      
      * lisp/calc/calc.el (calc-allow-units-as-numbers): New variable.
      * lisp/calc/calc-units.el (calc-convert-units): Use new variable.
      5d9c6f17
  9. 11 Jan, 2013 1 commit
    • Aaron S. Hawley's avatar
      Disambiguate function and variable references in docstrings. · 9fc9a531
      Aaron S. Hawley authored
      * lisp/comint.el (comint-history-isearch-message): Fix ambiguous doc
       string cross-reference(s).
      
      * lisp/ffap.el (ffap-string-at-point-region, ffap-next)
      (ffap-string-at-point, ffap-string-around)
      (ffap-copy-string-as-kill, ffap-highlight-overlay)
      (ffap-literally): Fix ambiguous doc string cross-reference(s).
      
      * lisp/font-lock.el (font-lock-keywords-alist)
      (font-lock-removed-keywords-alist): Fix ambiguous doc string
              cross-reference(s).
      
      * lisp/help-mode.el (help-xref-symbol-regexp): Add "call" as a hint for
      a cross-reference to a function.
      
      * lisp/info.el (Info-find-emacs-command-nodes): Fix ambiguous doc
       string cross-reference(s).
      
      * lisp/isearch.el (isearch-message-function, isearch-fail-pos): Fix
       ambiguous doc string cross-reference(s).
      
      * lisp/misearch.el (multi-isearch-next-buffer-function): Fix ambiguous
       doc string cross-reference(s).
      
      * lisp/newcomment.el (comment-box): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
      (pr-setting-database): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
      (ps-n-up-filling-database): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/server.el (server-buffer, server-log): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/simple.el (newline, delete-backward-char, delete-forward-char)
      (minibuffer-history-isearch-message, kill-line, track-eol)
      (temporary-goal-column): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/whitespace.el (whitespace-point)
      (whitespace-font-lock-refontify, whitespace-bob-marker)
      (whitespace-eob-marker): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/calc/calc.el (calc-highlight-selections-with-faces)
       (calc-dispatch): Fix ambiguous doc string cross-reference(s).
      
      * lisp/emacs-lisp/edebug.el (edebug-read, edebug-eval-defun): Fix
       ambiguous doc string cross-reference(s).
      
      * lisp/gnus/gnus-start.el (gnus-check-new-newsgroups): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/gnus/gnus-sum.el (gnus-summary-newsgroup-prefix): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/international/mule.el (add-to-coding-system-list): Fix ambiguous
       doc string cross-reference(s).
      
      * lisp/progmodes/cc-fonts.el (c-font-lock-keywords-3)
      (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
      (java-font-lock-keywords-3, idl-font-lock-keywords-3)
      (pike-font-lock-keywords-3): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/progmodes/compile.el (compile): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/progmodes/etags.el (tags-table-files)
      (tags-table-files-function, tags-included-tables-function): Fix
       ambiguous doc string cross-reference(s).
      
      * lisp/progmodes/gdb-mi.el (gdb, gdb-setup-windows)
      (gdb-restore-windows): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/textmodes/flyspell.el (flyspell-mark-duplications-flag)
      (flyspell-default-deplacement-commands): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/textmodes/ispell.el (ispell-accept-output): Fix ambiguous doc
       string cross-reference(s).
      
      * lisp/textmodes/sgml-mode.el (html-tag-help): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/vc/compare-w.el (compare-ignore-whitespace)
      (compare-ignore-case, compare-windows-dehighlight): Fix ambiguous
       doc string cross-reference(s).
      
      * lisp/vc/diff.el (diff): Fix ambiguous doc string cross-reference(s).
      
      * src/insdel.c (Fcombine_after_change_execute, syms_of_insdel): Fix
       ambiguous doc string cross-reference(s).
      
      * src/keyboard.c (Fcommand_execute, syms_of_keyboard): Fix ambiguous
       doc string cross-reference(s).
      
      * src/window.c (Fwindow_point, syms_of_window): Fix ambiguous doc
       string cross-reference(s).
      
      Fixes: debbugs:12686
      9fc9a531
  10. 01 Jan, 2013 1 commit
  11. 16 Dec, 2012 1 commit
  12. 11 Dec, 2012 1 commit
    • Jay Belanger's avatar
      * lisp/calc/calc.el (calc-standard-date-formats): Add more date · ff3f6c26
      Jay Belanger authored
        formats.
      
      * lisp/calc/calc-forms.el (math-parse-iso-date): New function.
        (math-parse-date): Use `math-parse-iso-date' when appropriate.
        (math-parse-iso-date-validate): Add extra error checking.
        (calc-date-notation): Add ability to access new date formats.
      ff3f6c26
  13. 22 Nov, 2012 3 commits
  14. 18 Nov, 2012 1 commit
    • Juanma Barranquero's avatar
      Silence some warnings. · c9ed8e3d
      Juanma Barranquero authored
      lisp/woman.el (woman-non-underline-faces): Use `set-face-underline'.
      lisp/calc/calc.el (math-format-date-cache): Declare.
      c9ed8e3d
  15. 17 Nov, 2012 1 commit
    • Jay Belanger's avatar
      * calc/calc.el (calc-gregorian-switch): New variable. · c9f618db
      Jay Belanger authored
      * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
      (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
      (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
      (math-leap-year-p): Add option to distinguish between Julian 
      and Gregorian calendars. 
      (math-day-number): Use `math-day-in-year' to do the computations.
      (math-absolute-from-dt): Rename from `math-absolute-from-date'.
      Use `math-absolute-from-gregorian' and `math-absolute-from-julian' 
      to do the computations.
      (math-date-to-dt): Use `math-date-to-julian-dt' and `math-date-to-gregorian-dt' 
      to do the computations.
      (calcFunc-weekday, math-format-date-part): Use the new version of the DATE to
      determine the weekday.
      (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch' when necessary.
      c9f618db
  16. 06 Oct, 2012 1 commit
    • Glenn Morris's avatar
      Add missing :version tags · d1a1c7e6
      Glenn Morris authored
      * profiler.el (profiler): Add missing group :version tag.
      * avoid.el (mouse-avoidance-banish-position):
      * proced.el (proced-renice-command):
      * calc/calc.el (calc-ensure-consistent-units):
      * calendar/icalendar.el (icalendar-import-format-uid):
      * net/tramp.el (tramp-save-ad-hoc-proxies):
      * progmodes/bug-reference.el (bug-reference-bug-regexp):
      * progmodes/flymake.el (flymake-error-bitmap)
      (flymake-warning-bitmap, flymake-fringe-indicator-position):
      * progmodes/sh-script.el (sh-indent-after-continuation):
      * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
      (verilog-before-save-font-hook, verilog-after-save-font-hook):
      * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
      (vhdl-array-index-record-field-in-sensitivity-list)
      (vhdl-indent-comment-like-next-code-line):
      * textmodes/reftex-vars.el (reftex-ref-style-alist)
      (reftex-ref-macro-prompt, reftex-ref-style-default-list)
      (reftex-cite-key-separator, reftex-create-bibtex-header)
      (reftex-create-bibtex-footer):
      * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
      (rst-indent-literal-normal, rst-indent-literal-minimized)
      (rst-indent-comment): Add missing custom :version tags.
      
      * cedet/semantic/complete.el (semantic-displayor-tooltip-mode)
      (semantic-displayor-tooltip-initial-max-tags)
      (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
      * cedet/ede/linux.el (project-linux): Add missing group :version tag.
      
      * cedet/semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
      
      * erc/erc.el (erc-lurker):
      * erc/erc-desktop-notifications.el (erc-notifications):
      Add missing group :version tags.
      
      * gnus/gnus-notifications.el (gnus-notifications):
      Add missing group :version tag.
      * gnus/gnus-msg.el (gnus-gcc-pre-body-encode-hook)
      (gnus-gcc-post-body-encode-hook):
      * gnus/gnus-sync.el (gnus-sync-lesync-name)
      (gnus-sync-lesync-install-topics): Add missing custom :version tags.
      d1a1c7e6
  17. 20 Sep, 2012 2 commits
  18. 13 Sep, 2012 1 commit
    • Glenn Morris's avatar
      Update some function declarations · 6a2e6868
      Glenn Morris authored
      * lisp/calc/calc-ext.el (math-compose-expr):
      * lisp/calc/calc.el (math-compose-expr):
      * lisp/progmodes/cc-defs.el (cl-macroexpand-all):
      * lisp/progmodes/cc-langs.el (delete-duplicates, mapcan)
      (cl-macroexpand-all): Update declarations.
      6a2e6868
  19. 31 Jul, 2012 1 commit
    • Jay Belanger's avatar
      calc-mode.el (calc-basic-simplification-mode): Rename from · d2605269
      Jay Belanger authored
      `calc-limited-simplification-mode'.
      (calc-alg-simplification-mode): New function.
      
      calc.el (calc-set-mode-line): Adjust mode line display
      for basic simplification mode.
      
      calc-help.el (calc-m-prefix-help): Update help message.
      
      calc-ext.el (calc-init-extensions): Add bindings and autoloads 
      for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
      d2605269
  20. 29 Jul, 2012 2 commits
    • Jay Belanger's avatar
      calc/calc.el (calc-simplify-mode): Make 'alg the default value. · 1823ac5a
      Jay Belanger authored
      (calc-set-mode-line): Don't display "AlgSimp ".
      
      calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
      (calc-lim-simplify-mode): New function.
      (calc-set-simplify-mode): Default to 'alg.
      (calc-default-simplify-mode): Make algebraic simplifications the default.
      
      calc/calc-ext.el (calc-init-extensions): Remove binding for
      `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
      
      calc/README: Mention new default simplification mode.
      1823ac5a
    • Jay Belanger's avatar
      calc/calc.el (math-normalize-error): New variable. · 9052f9f0
      Jay Belanger authored
      (math-normalize): Set `math-normalize-error' to t when there's an error.
      
      calc/calc-alg.el (math-simplify): Don't simplify when `math-normalize'
      returns an error.
      9052f9f0
  21. 26 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Autoload more carefully from Lisp. Follow aliases for function properties. · 7abaf5cc
      Stefan Monnier authored
      * lisp/subr.el (autoloadp): New function.
      (symbol-file): Use it.
      (function-get): New function.
      * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
      autoload-do-load.
      * lisp/emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
      (lisp-indent-function):
      * lisp/emacs-lisp/gv.el (gv-get):
      * lisp/emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
      * lisp/emacs-lisp/autoload.el (make-autoload, autoload-print-form):
      Use function-get.
      * lisp/emacs-lisp/cl.el: Don't propagate function properties any more.
      
      * src/eval.c (Fautoload_do_load): Rename from do_autoload, export to Lisp,
      add argument, tune behavior, and adjust all callers.
      
      * lisp/speedbar.el (speedbar-add-localized-speedbar-support):
      * lisp/emacs-lisp/disass.el (disassemble-internal):
      * lisp/desktop.el (desktop-load-file):
      * lisp/help-fns.el (help-function-arglist, find-lisp-object-file-name)
      (describe-function-1):
      * lisp/emacs-lisp/find-func.el (find-function-noselect):
      * lisp/emacs-lisp/elp.el (elp-instrument-function):
      * lisp/emacs-lisp/advice.el (ad-has-proper-definition):
      * lisp/apropos.el (apropos-safe-documentation, apropos-macrop):
      * lisp/emacs-lisp/debug.el (debug-on-entry):
      * lisp/emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
      * lisp/calc/calc.el (name): Use autoloadp & autoload-do-load.
      7abaf5cc
  22. 19 May, 2012 1 commit
    • Jay Belanger's avatar
      * calc/calc.el (calc-ensure-consistent-units): New variable. · d14b0029
      Jay Belanger authored
      * calc/calc-units.el (math-consistent-units-p, math-check-unit-consistency):
        New functions.
        (calc-quick-units, calc-convert-units): Use `math-check-unit-consistency' when 
        `calc-ensure-consistent-units' is non-nil. 
        (calc-extract-units): Fix typo.
      
      * doc/misc/calc.texi
        (Basic Operations on Units, Customizing Calc):
        Mention `calc-ensure-consistent-units'.
      d14b0029
  23. 22 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Tweaks to Customize interface. Set custom-reset-button-menu to t. · cf20dee0
      Chong Yidong authored
      * cus-edit.el (custom-commands, custom-reset-menu)
      (Custom-reset-standard): Tweak labels.
      (custom-reset-button-menu): Change default to t.
      (custom-buffer-create-internal): For the custom-reset-button-menu
      case, put the revert button first.
      (custom-group-subtitle): New face.
      (custom-group-value-create): Align docstring to a specific column.
      
      * wid-edit.el (widget-documentation-link-add): Don't handle
      indentation in this function.
      (widget-documentation-string-indent-to): New function.
      (widget-documentation-string-value-create): Use it.
      
      * autorevert.el (auto-revert):
      * epg-config.el (epg):
      * ibuffer.el (ibuffer):
      * mpc.el (mpc):
      * ses.el (ses):
      * eshell/eshell.el (eshell):
      * net/ange-ftp.el (ange-ftp):
      * progmodes/ebnf2ps.el (postscript):
      * progmodes/flymake.el (flymake):
      * progmodes/prolog.el (prolog):
      * progmodes/verilog-mode.el (verilog-mode):
      * progmodes/which-func.el (which-func):
      * textmodes/picture.el (picture):
      * textmodes/tildify.el (tildify):
      * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
      customization buffers.
      cf20dee0
  24. 09 Apr, 2012 1 commit
  25. 11 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Add missing :version tags to new defgroups and defcustoms · 2bed3f04
      Glenn Morris authored
      * window.el (window-sides-slots):
      * tool-bar.el (tool-bar-position):
      * term/xterm.el (xterm-extra-capabilities):
      * ses.el (ses-self-reference-early-detection):
      * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
      (verilog-auto-wire-type)
      (verilog-auto-delete-trailing-whitespace)
      (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
      (verilog-auto-tieoff-declaration):
      * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
      (sql-oracle-statement-starters, sql-oracle-scan-on):
      * progmodes/prolog.el (prolog-align-comments-flag)
      (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
      (prolog-left-indent-regexp, prolog-paren-indent-p)
      (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
      (prolog-types, prolog-mode-specificators)
      (prolog-determinism-specificators, prolog-directives)
      (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
      (prolog-electric-dot-flag)
      (prolog-electric-dot-full-predicate-template)
      (prolog-electric-underscore-flag, prolog-electric-tab-flag)
      (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
      (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
      (prolog-program-switches, prolog-prompt-regexp)
      (prolog-debug-on-string, prolog-debug-off-string)
      (prolog-trace-on-string, prolog-trace-off-string)
      (prolog-zip-on-string, prolog-zip-off-string)
      (prolog-use-standard-consult-compile-method-flag)
      (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
      (prolog-imenu-max-lines, prolog-info-predicate-index)
      (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
      (prolog-char-quote-workaround):
      * progmodes/cc-vars.el (c-defun-tactic):
      * net/tramp.el (tramp-encoding-command-interactive)
      (tramp-local-end-of-line):
      * net/soap-client.el (soap-client):
      * net/netrc.el (netrc-file):
      * net/gnutls.el (gnutls):
      * minibuffer.el (completion-category-overrides)
      (completion-cycle-threshold)
      (completion-pcm-complete-word-inserts-delimiters):
      * man.el (Man-name-local-regexp):
      * mail/feedmail.el (feedmail-display-full-frame):
      * international/characters.el (glyphless-char-display-control):
      * eshell/em-ls.el (eshell-ls-date-format):
      * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
      (lisp-lambda-list-keyword-parameter-indentation)
      (lisp-lambda-list-keyword-parameter-alignment):
      * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
      * dired-x.el (dired-omit-verbose):
      * cus-theme.el (custom-theme-allow-multiple-selections):
      * calc/calc.el (calc-highlight-selections-with-faces)
      (calc-lu-field-reference, calc-lu-power-reference)
      (calc-note-threshold):
      * battery.el (battery-mode-line-limit):
      * arc-mode.el (archive-7z-extract, archive-7z-expunge)
      (archive-7z-update):
      * allout.el (allout-prefixed-keybindings)
      (allout-unprefixed-keybindings)
      (allout-inhibit-auto-fill-on-headline)
      (allout-flattened-numbering-abbreviation):
      * allout-widgets.el (allout-widgets-auto-activation)
      (allout-widgets-icons-dark-subdir)
      (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
      (allout-widgets-theme-dark-background)
      (allout-widgets-theme-light-background)
      (allout-widgets-item-image-properties-emacs)
      (allout-widgets-item-image-properties-xemacs)
      (allout-widgets-run-unit-tests-on-load)
      (allout-widgets-time-decoration-activity)
      (allout-widgets-hook-error-post-time)
      (allout-widgets-track-decoration):
      * gnus/sieve-manage.el (sieve-manage-default-stream):
      * gnus/shr.el (shr):
      * gnus/nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format)
      (nnir-retrieve-headers-override-function)
      (nnir-imap-default-search-key, nnir-notmuch-program)
      (nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix)
      (nnir-method-default-engines):
      * gnus/message.el (message-cite-reply-position):
      * gnus/gssapi.el (gssapi-program):
      * gnus/gravatar.el (gravatar):
      * gnus/gnus-sum.el (gnus-refer-thread-use-nnir):
      * gnus/gnus-registry.el (gnus-registry-unfollowed-addresses)
      (gnus-registry-max-pruned-entries):
      * gnus/gnus-picon.el (gnus-picon-inhibit-top-level-domains):
      * gnus/gnus-int.el (gnus-after-set-mark-hook)
      (gnus-before-update-mark-hook):
      * gnus/gnus-async.el (gnus-async-post-fetch-function):
      * gnus/auth-source.el (auth-source-cache-expiry):
      Add missing :version tags to new defcustoms and defgroups.
      2bed3f04
  26. 11 Jan, 2012 1 commit
  27. 05 Jan, 2012 1 commit
  28. 23 Nov, 2011 1 commit
  29. 21 Nov, 2011 1 commit
  30. 15 Nov, 2011 1 commit
  31. 02 Jun, 2011 1 commit
  32. 17 Mar, 2011 1 commit
    • Jay Belanger's avatar
      * lisp/calc/README: Mention musical notes. · d71990a1
      Jay Belanger authored
      * lisp/calc-units.el (calc-lu-quant): Rename from 
        `calc-logunits-quantity'. 
        (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
        (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
        (calc-db): Rename from `calc-dblevel'.
        (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
        (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
        (calc-np): Rename from `calc-nplevel'.
        (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
        (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
        (calc-lu-plus): Rename from `calc-logunits-add'.
        (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
        (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
        (calc-lu-minus): Rename from `calc-logunits-sub'.
        (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
        (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
        (calc-lu-times): Rename from `calc-logunits-mul'.
        (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
        (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
        (calc-lu-divide): Rename from `calc-logunits-div'.
        (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
        (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
      
      * lisp/calc/calc-ext.el (calc-init-extensions): Update the names of the
        functions being autoloaded.
      
      * lisp/calc/calc.el   (calc-lu-power-reference): Rename from
        `calc-logunits-power-reference'. 
        (calc-lu-field-reference): Rename from
        `calc-logunits-field-reference'. 
      
      * lisp/calc/calc-help (calc-l-prefix-help): Mention musical note functions.
      
      * doc/misc/calc.texi (Logarithmic Units): Update the function names.
      d71990a1
  33. 09 Mar, 2011 1 commit
  34. 06 Mar, 2011 1 commit
    • Jay Belanger's avatar
      * calc/calc-units.el (math-midi-round, math-freqp, math-midip) · 05a29101
      Jay Belanger authored
        (math-spnp, math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
        (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
        (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
        (math-notes): New variable.
      
      * calc/calc.el (calc-note-threshold): New variable.
      
      * calc/calc-ext.el (calc-init-extensions): Add keybindings for
        calc-spn, calc-midi, calc-freq.  Add autoloads for calcFunc-spn,
        calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
      
      * doc/misc/calc.tex (Musical Notes): New section.
        (Customizing Calc): Mention calc-note-threshold.
      05a29101
  35. 06 Feb, 2011 1 commit
    • Jay Belanger's avatar
      calc/calc.el (calc-logunits-field-reference) Renamed from · 6f16becc
      Jay Belanger authored
      `calc-default-field-reference-level'.
      (calc-logunits-power-reference): Renamed from `calc-default-power-reference-level' 
      
      calc/calc-units.el (math-logunits-quant):  Renamed from `math-logunits-level'
      (math-logunits-plus):  Renamed from math-logcombine.
      (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove functions.
      (calcFunc-lufieldplus, calcFunc-lupowerplus, calcFunc-lufieldminus)
      (calcFunc-lufieldminus,calc-logunits-plus calc-logunits-minus): New functions.
      (calcFunc-fieldquant): Renamed from `calcFunc-fieldlevel'.
      (calcFunc-powerquant): Renamed from `calcFunc-powerlevel'.
      (calc-logunits-quantity): Renamed from `calc-level'.
      (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
      (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
      (math-logunits-times, calcFunc-lufieldtimes, calcFunc-lupowertimes)
      (calc-logunits-times, math-logunits-divide, calcFunc-lufielddiv)
      (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
      New functions.
      
      calc-help.el (calc-u-prefix-help): Removed "L" reference.
      (calc-ul-prefix-help): Remove.
      (calc-l-prefix-help): New function.
      (calc-full-help): Add reference to `calc-l-prefix-help'.
      
      calc-ext.el (calc-init-extensions): Update autoloads.
      6f16becc
  36. 25 Jan, 2011 1 commit