1. 10 Oct, 2013 1 commit
  2. 16 Aug, 2013 1 commit
  3. 07 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/frameset.el: Convert `frameset' to vector and add new slots. · a912c016
      Juanma Barranquero authored
      (frameset): Use type vector, not list (incompatible change).
      Do not declare a new constructor, use the default one.
      Upgrade suggested properties `app', `name' and `desc' to slots `app',
      `name' and `description', respectively, and add read-only slot `timestamp'.
      Doc fixes.
      (frameset-copy, frameset-persistent-filter-alist)
      (frameset-filter-alist, frameset-switch-to-gui-p)
      (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
      (frameset-filter-sanitize-color, frameset-filter-minibuffer)
      (frameset-filter-iconified, frameset-keep-original-display-p):
      Doc fixes.
      (frameset-filter-shelve-param, frameset-filter-unshelve-param):
      Rename from frameset-filter-(save|restore)-param.  All callers changed.
      Doc fix.
      (frameset-p): Adapt to change to vector and be more thorough.
      Change arg name to OBJECT.  Doc fix.
      (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
      (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
      All callers changed.
      (frameset-frame-with-id): Rename from frameset-locate-frame-id.
      All callers changed.
      (frameset--record-minibuffer-relationships): Rename from
      frameset--process-minibuffer-frames.  All callers changed.
      (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
      Use new default constructor (again).  Doc fix.
      (frameset--find-frame-if): Rename from `frameset--find-frame.
      All callers changed.
      (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
      (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
      Doc fix.
      (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
      PARAMETERS and WINDOW-STATE, respectively.
      (frameset-restore): Add new keyword argument PREDICATE.
      Reset frameset--target-display to nil.  Doc fix.
      
      lisp/desktop.el (desktop-save-frameset): Use new frameset-save args.
      Use lexical-binding.
      a912c016
  4. 05 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      * lisp/frameset.el: Miscellaneous cleanups. · 063233c3
      Juanma Barranquero authored
        (frameset): Add docstring.  Move :version property to its
        own `version' slot.
        (frameset-copy): Rename from copy-frameset.
        (frameset-p): Check more thoroughly.
        (frameset-prop): Do not check for :version, which is no longer a prop.
        (frameset-live-filter-alist, frameset-persistent-filter-alist):
        Use new :never value instead of t.
        (frameset-filter-alist): Expand and clarify docstring.
        (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
        (frameset-filter-minibuffer, frameset-filter-save-param)
        (frameset-filter-restore-param, frameset-filter-iconified):
        Add pointer to docstring of frameset-filter-alist.
        (frameset-filter-params): Rename filter values to be more meaningful:
        :never instead of t, and reverse the meanings of :save and :restore.
        (frameset--process-minibuffer-frames): Clarify error message.
        (frameset-save): Avoid unnecessary and confusing call to framep.
        Use new BOA constructor for framesets.
        (frameset--reuse-list): Doc fix.
        (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
        (frameset--minibufferless-last-p): Rename from frameset--sort-states.
        (frameset-minibufferless-first-p): Doc fix.
        Rename from frameset-sort-frames-for-deletion.
        (frameset-restore): Doc fixes.  Use new function names.
        Most changes suggested by Drew Adams <drew.adams@oracle.com>.
      
      * lisp/desktop.el (desktop-clear): Use new name of sort predicate.
      063233c3
  5. 04 Aug, 2013 2 commits
    • Juanma Barranquero's avatar
      * lisp/frameset.el: Add new predicate values for frameset-restore args. · d5671a82
      Juanma Barranquero authored
        (frameset-live-filter-alist, frameset-persistent-filter-alist):
        New variables.
        (frameset-filter-alist): Use them.  Add autoload cookie.
        (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
        (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
        `frameset--id' (it's supposed to be internal to frameset.el).
        (frameset--process-minibuffer-frames): Ditto.  Doc fix.
        (frameset--initial-params): New function.
        (frameset--get-frame): Use it.  Doc fix.
        (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
        Accept :all, not 'all.
        (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
        FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
        with fbound symbols.  Fix frame id matching, and remove matching ids if
        the frame being restored is deleted.  Obey :delete.
      
      * lisp/desktop.el (desktop-restore-forces-onscreen)
        (desktop-restore-reuses-frames): Document :keyword constant values.
        (desktop-filter-parameters-alist): Remove, now identical to
        frameset-filter-alist.
        (desktop--filter-tty*): Remove, moved to frameset.el.
        (desktop-save-frameset, desktop-restore-frameset):
        Do not pass :filters argument.
      d5671a82
    • Juanma Barranquero's avatar
      lisp/desktop.el (desktop-clear): Be more careful about deleting frames. · 5414a283
      Juanma Barranquero authored
      Do it only when called interactively and desktop-restore-frames is non-nil.
      Doc fix.
      (desktop-read): Set desktop-saved-frameset to nil.
      5414a283
  6. 02 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/desktop.el: Move code related to saving frames to frameset.el. · 9421876d
      Juanma Barranquero authored
      Require frameset.
      (desktop-restore-frames): Doc fix.
      (desktop-restore-reuses-frames): Rename from
      desktop-restoring-reuses-frames.
      (desktop-saved-frameset): Rename from desktop-saved-frame-states.
      (desktop-clear): Clear frames too.
      (desktop-filter-parameters-alist): Set from frameset-filter-alist.
      (desktop--filter-tty*, desktop-save, desktop-read):
      Use frameset functions.
      (desktop-before-saving-frames-functions, desktop--filter-*-color)
      (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
      (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
      (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
      (desktop--process-minibuffer-frames, desktop-save-frames)
      (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
      (desktop--find-frame, desktop--select-frame, desktop--make-frame)
      (desktop--sort-states, desktop-restoring-frames-p)
      (desktop-restore-frames): Remove.  Most code moved to frameset.el.
      (desktop-restoring-frameset-p, desktop-restore-frameset)
      (desktop--check-dont-save, desktop-save-frameset): New functions.
      (desktop--app-id): New constant.
      (desktop-first-buffer, desktop-buffer-ok-count)
      (desktop-buffer-fail-count): Move before first use.
      lisp/frameset.el: New file.
      9421876d
  7. 28 Jul, 2013 2 commits
  8. 27 Jul, 2013 1 commit
  9. 26 Jul, 2013 2 commits
  10. 25 Jul, 2013 3 commits
  11. 24 Jul, 2013 1 commit
  12. 23 Jul, 2013 3 commits
  13. 22 Jul, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/desktop.el: Require 'cl-lib. · a1c80d9d
      Juanma Barranquero authored
      (desktop-before-saving-frames-functions): New hook.
      (desktop--process-minibuffer-frames): Set desktop-mini parameter only
      for frames being saved.  Rename from desktop--save-minibuffer-frames.
      (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
      Do not save frames with non-nil `desktop-dont-save' parameter.  Filter
      out deleted frames.
      (desktop--find-frame): Use cl-find-if.
      (desktop--select-frame): Use cl-(first|second|third) to access values
      of desktop-mini.
      (desktop--make-frame): Use cl-delete-if.
      (desktop--sort-states): Fix sorting of minibuffer-owning frames.
      (desktop-restore-frames): Use cl-(first|second|third) to access values
      of desktop-mini.  Look for visible frame at the end, not while
      restoring frames.
      a1c80d9d
  14. 21 Jul, 2013 3 commits
    • Juanma Barranquero's avatar
      lisp/desktop.el: Make some frame-restoring functions public. · 56bc453c
      Juanma Barranquero authored
      (desktop-saved-frame-states): Rename from desktop--saved-states;
      all users changed.
      (desktop-save-frames): Rename from desktop--save-frames.
      Do not save state to desktop file.
      (desktop-save): Save desktop-saved-frame-states to desktop file
      and reset to nil.
      (desktop-restoring-frames-p): New function.
      (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
      (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
      buffer-lists when restoring frames.  Suggested by Martin Rudalics.
      56bc453c
    • Paul Eggert's avatar
      Spelling fixes. · 02c66599
      Paul Eggert authored
      02c66599
    • Juanma Barranquero's avatar
      lisp/desktop.el: Correctly restore iconified frames. · 728dc3cc
      Juanma Barranquero authored
      (desktop--filter-iconified-position): New function.
      (desktop-filter-parameters-alist): Add entries for `top' and `left'.
      728dc3cc
  15. 15 Jul, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/desktop.el (desktop-restore-frames): Change default to t. · b958c0ad
      Juanma Barranquero authored
      (desktop-restore-in-current-display): Now offer more options.
      (desktop-restoring-reuses-frames): New customization option.
      (desktop--saved-states): Doc fix.
      (desktop-filter-parameters-alist): New variable, renamed and expanded from
      desktop--excluded-frame-parameters.
      (desktop--target-display): New variable.
      (desktop-switch-to-gui-p, desktop-switch-to-tty-p, desktop--filter-tty*)
      (desktop--filter-*-color, desktop--filter-minibuffer)
      (desktop--filter-restore-desktop-parm, desktop--filter-save-desktop-parm)
      (desktop-restore-in-original-display-p): New functions.
      (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
      (desktop--save-minibuffer-frames): New function, inspired by a similar
      function from Martin Rudalics.
      (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
      (desktop--restore-in-this-display-p): Remove.
      (desktop--find-frame): Rename from desktop--find-frame-in-display and add
      predicate argument.
      (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
      (desktop--reuse-list): New variable.
      (desktop--select-frame, desktop--make-frame, desktop--sort-states):
      New functions.
      (desktop--restore-frames): Add support for "minibuffer-special" frames.
      b958c0ad
  16. 12 Jul, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/desktop.el: Minor fixes. · acfcc8c5
      Juanma Barranquero authored
      (desktop--v2s): Remove unused local variable.
      (desktop-save-buffer): Make defvar-local; adjust docstring.
      (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
      (desktop-clear, desktop-save-buffer-p): Use string-match-p.
      acfcc8c5
  17. 01 Jul, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/desktop.el: More fixes to frame restoration. · 2addf922
      Juanma Barranquero authored
      (desktop-restore-frames): Rename from desktop-save-windows.
      (desktop-restore-in-current-display): New customization option.
      (desktop--excluded-frame-parameters): Add `font'.
      (desktop--save-frames): Rename from desktop--save-windows.
      (desktop--restore-in-this-display-p): New function.
      (desktop--make-full-frame): Remove unwanted width/height from
      full(width|height) frames.
      (desktop--restore-frames): Rename from desktop--restore-windows.
      Obey desktop-restore-current-display.  Do not delete old frames or
      select a new frame unless we were able to restore at least one frame.
      2addf922
  18. 30 Jun, 2013 1 commit
    • Juanma Barranquero's avatar
      Some fixes and improvements for desktop frame restoration. · a47cbd64
      Juanma Barranquero authored
      It is still experimental and disabled by default.
      
      * lisp/desktop.el (desktop--save-windows): Put the selected frame at
        the head of the list.
        (desktop--make-full-frame): New function.
        (desktop--restore-windows): Try to re-select the frame that was
        selected upon saving.  Do not abort if some frames fail to restore,
        just show an error message and contnue.  Set up maximized frames so
        they have default non-maximized dimensions.
      a47cbd64
  19. 27 Jun, 2013 1 commit
    • Juanma Barranquero's avatar
      New experimental feature to save&restore window and frame setup. · 39c0e36f
      Juanma Barranquero authored
      * etc/NEWS: Document new Desktop option `desktop-save-windows'.
      
      * lisp/desktop.el (desktop-save-windows): New defcustom.
        (desktop--saved-states): New var.
        (desktop--excluded-frame-parameters): New defconst.
        (desktop--filter-frame-parms, desktop--find-frame-in-display)
        (desktop--restore-windows, desktop--save-windows): New functions.
        (desktop-save): Call `desktop--save-windows'.
        (desktop-read): Call `desktop--restore-windows'.
      39c0e36f
  20. 02 May, 2013 1 commit
  21. 27 Apr, 2013 1 commit
  22. 26 Mar, 2013 1 commit
  23. 01 Jan, 2013 1 commit
  24. 29 Nov, 2012 1 commit
    • Glenn Morris's avatar
      Add desktop support for restoring vc-dir buffers (bug#10606) · 4ad900d9
      Glenn Morris authored
      * lisp/vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
      Set buffer-local value of desktop-save-buffer.
      (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
      New functions.
      (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
      
      * lisp/desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
      4ad900d9
  25. 25 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Use declare forms, where possible, to mark obsolete functions. · 59f7af81
      Chong Yidong authored
      * lisp/allout.el (allout-passphrase-hint-string): Likewise.
      (allout-init): Use a declare form to mark obsolete.
      
      * lisp/calendar/calendar.el (calendar-version):
      * lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer)
      (icalendar-convert-diary-to-ical):
      * lisp/cus-edit.el (custom-mode):
      * lisp/ansi-color.el (ansi-color-unfontify-region):
      * lisp/international/latin1-disp.el (latin1-char-displayable-p):
      * lisp/progmodes/cwarn.el (turn-on-cwarn-mode):
      * lisp/progmodes/which-func.el (which-func-update-1): Use
      define-obsolete-function-alias.
      
      * lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark
      this function obsolete.
      
      * lisp/calendar/cal-x.el (calendar-two-frame-setup)
      (calendar-only-one-frame-setup, calendar-one-frame-setup):
      * lisp/calendar/calendar.el (american-calendar, european-calendar)
      (calendar-for-loop):
      * lisp/comint.el (comint-dynamic-simple-complete)
      (comint-dynamic-complete-as-filename, comint-unquote-filename):
      * lisp/desktop.el (desktop-load-default):
      * lisp/dired-x.el (dired-omit-here-always)
      (dired-hack-local-variables, dired-default-directory):
      * lisp/emacs-lisp/derived.el (derived-mode-class):
      * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
      * lisp/emacs-lock.el (toggle-emacs-lock):
      * lisp/epa.el (epa-display-verify-result):
      * lisp/epg.el (epg-sign-keys, epg-start-sign-keys)
      (epg-passphrase-callback-function):
      * lisp/eshell/esh-util.el (eshell-for):
      * lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names)
      (eshell-add-to-window-buffer-names):
      * lisp/files.el (locate-file-completion):
      * lisp/imenu.el (imenu-example--create-c-index)
      (imenu-example--create-lisp-index)
      (imenu-example--lisp-extract-index-name)
      (imenu-example--name-and-position):
      * lisp/international/mule-cmds.el (princ-list):
      * lisp/international/mule-diag.el (decode-codepage-char):
      * lisp/international/mule-util.el (detect-coding-with-priority):
      * lisp/iswitchb.el (iswitchb-read-buffer):
      * lisp/mail/mailalias.el (mail-complete):
      * lisp/mail/sendmail.el (mail-sent-via):
      * lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
      (mouse-major-mode-menu):
      * lisp/password-cache.el (password-read-and-add):
      * lisp/pcomplete.el (pcomplete-parse-comint-arguments):
      * lisp/progmodes/sh-script.el (sh-maybe-here-document):
      * lisp/replace.el (query-replace-regexp-eval):
      * lisp/savehist.el (savehist-load):
      * lisp/simple.el (choose-completion-delete-max-match):
      * lisp/term.el (term-dynamic-simple-complete):
      * lisp/vc/ediff-init.el (ediff-check-version):
      * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
      * lisp/vc/vc.el (vc-diff-switches-list):
      * lisp/view.el (view-return-to-alist-update): Likewise.
      
      * lisp/iswitchb.el (iswitchb-read-buffer): Move code of
      iswitchb-define-mode-map here, and delete that obsolete function.
      
      * lisp/subr.el (eval-next-after-load, makehash, insert-string)
      (assoc-ignore-representation, assoc-ignore-case): Use declare to
      mark obsolete.
      (mode-line-inverse-video): Variable deleted.
      
      * lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
      this applies to functions.
      
      * lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias.
      
      * lisp/international/mule-util.el (string-to-sequence): Remove.
      
      * lisp/net/newst-backend.el (newsticker-cache-filename):
      * lisp/net/newst-treeview.el (newsticker-groups-filename): Fix
      incorrect obsolescence declaration.
      
      * lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
      font-lock-reference-face.
      
      * lisp/url/url-parse.el (url-recreate-url-attributes):
      * lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark
      obsolete.
      
      * src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
      59f7af81
  26. 17 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Update docstrings and comments to use "init file" terminology. · 865fe16f
      Chong Yidong authored
      * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
      * comint.el (comint-prompt-read-only):
      * custom.el (defcustom):
      * hi-lock.el (hi-lock-mode):
      * ibuffer.el (ibuffer-formats):
      * ielm.el (ielm-prompt-read-only):
      * novice.el (disable-command):
      * saveplace.el (toggle-save-place):
      * speedbar.el (speedbar-supported-extension-expressions):
      * startup.el (auto-save-list-file-prefix, init-file-user)
      (after-init-hook, inhibit-startup-echo-area-message):
      * strokes.el (strokes-help):
      * time-stamp.el (time-stamp):
      * calendar/calendar.el (calendar, diary-file):
      * calendar/diary-lib.el (diary-mail-entries, diary)
      (diary-list-entries-hook):
      * calendar/holidays.el (holidays, calendar-holidays):
      * calendar/lunar.el (lunar-phases):
      * calendar/solar.el (sunrise-sunset):
      * emulation/edt.el (edt-load-keys):
      * emulation/viper.el (viper-mode):
      * eshell/em-alias.el (eshell-command-aliases-list):
      * eshell/esh-util.el (eshell-convert-numeric-arguments):
      * international/ogonek.el (ogonek-information):
      * net/tramp-cmds.el (tramp-bug):
      * net/quickurl.el (quickurl-reread-hook-postfix):
      * play/decipher.el (decipher-font-lock-keywords):
      * progmodes/cc-styles.el (c-set-style):
      * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/octave-mod.el (octave-mode):
      * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
      * progmodes/verilog-mode.el (verilog-read-defines):
      * textmodes/two-column.el (2C-mode): Likewise.
      865fe16f
  27. 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
  28. 21 Jun, 2012 2 commits
  29. 28 May, 2012 1 commit
    • Martin Rudalics's avatar
      Ugly fix for bug#11556. · 5221ccb9
      Martin Rudalics authored
      * desktop.el (desktop-read): Clear previous and next buffers for all
      windows and bury *Messages* buffer (bug#11556).
      5221ccb9
  30. 13 May, 2012 1 commit
    • Stefan Monnier's avatar
      Move define-obsolete-variable-alias before the var's definition. · e5bd0a28
      Stefan Monnier authored
      * lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
      * lisp/tooltip.el (tooltip-hook):
      * lisp/textmodes/reftex-toc.el (reftex-toc-map):
      * lisp/textmodes/reftex-sel.el (reftex-select-label-map)
      (reftex-select-bib-map):
      * lisp/textmodes/reftex-index.el (reftex-index-map)
      (reftex-index-phrases-map):
      * lisp/speedbar.el (speedbar-syntax-table, speedbar-key-map):
      * lisp/progmodes/meta-mode.el (meta-mode-map):
      * lisp/novice.el (disabled-command-hook):
      * lisp/loadhist.el (unload-hook-features-list):
      * lisp/frame.el (blink-cursor):
      * lisp/files.el (find-file-not-found-hooks, write-file-hooks)
      (write-contents-hooks):
      * lisp/emulation/tpu-edt.el (GOLD-map):
      * lisp/emacs-lock.el (emacs-lock-from-exiting):
      * lisp/emacs-lisp/generic.el (generic-font-lock-defaults):
      * lisp/emacs-lisp/chart.el (chart-map):
      * lisp/dos-fns.el (register-name-alist):
      * lisp/dired-x.el (dired-omit-files-p):
      * lisp/desktop.el (desktop-enable):
      * lisp/cus-edit.el (custom-mode-hook):
      * lisp/buff-menu.el (buffer-menu-mode-hook):
      * lisp/bookmark.el (bookmark-read-annotation-text-func)
      (bookmark-exit-hooks):
      * lisp/allout.el (allout-mode-deactivate-hook)
      (allout-exposure-change-hook, allout-structure-added-hook)
      (allout-structure-deleted-hook, allout-structure-shifted-hook):
      * lisp/dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
      (dirtrack-debug): Move call to define-obsolete-variable-alias so it
      comes before the corresponding variable's definition.
      e5bd0a28