?
Current Path : /usr/share/emacs/24.3/lisp/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/hilit-chg.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:21 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/hilit-chg.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\302\303!\210\304\305\306\307\310\311\312\313&\210\314\305\315\316\312\305%\210\317\320\321\305#\210\317\320\322\323\324!\206' \325#\210\314\326\327\330\312\305%\210\317\331\321\326#\210\317\331\322\323\324!\206A \325#\210\332\333\334\306#\210\335\306\211\203o @\333N\203h \334N\204h \317\334\333N#\210 A\211\204Q *\336\333\334\324#\210\337\334\340\341\342\343\312\305&\210\332\344\345\306#\210\335\306\211\203\255 @\344N\203\246 \345N\204\246 \317\345\344N#\210 A\211\204\217 *\336\344\345\346#\210\337\345\325\347\342\350\312\305&\210\332\351\352\306#\210\335\306\211\203\353 @\351N\203\344 \352N\204\344 \317\352\351N#\210 A\211\204\315 *\336\351\352\346#\210\337\352\353\354\342\355\312\305&\210\332\356\357\306#\210\335\306\211\203) @\356N\203\"\357N\204\"\317\357\356N#\210 A\211\204*\336\356\357\346#\210\337\357\360\361\342\362\312\305&\210\337\363\325\364\342\365\312\305&\210\337\366\306\367\342\350\312\305&\207" [prop --dolist-tail-- require wid-edit custom-declare-group highlight-changes nil "Highlight Changes mode." :version "20.4" :group faces custom-declare-face ((((min-colors 88) (class color)) (:foreground "red1")) (((class color)) (:foreground "red")) (t (:inverse-video t))) "Face used for highlighting changes." put highlight-changes-face face-alias obsolete-face purecopy "22.1" t highlight-changes-delete ((((min-colors 88) (class color)) (:foreground "red1" :underline t)) (((class color)) (:foreground "red" :underline t)) (t (:inverse-video t))) "Face used for highlighting deletions." highlight-changes-delete-face defvaralias highlight-changes-colours highlight-changes-colors (saved-value saved-variable-comment) make-obsolete-variable custom-declare-variable (if (eq (frame-parameter nil 'background-mode) 'light) '("magenta" "blue" "darkgreen" "chocolate" "sienna4" "NavyBlue") '("yellow" "magenta" "blue" "maroon" "firebrick" "green4" "DarkOrchid")) "Colors used by `highlight-changes-rotate-faces'.\nThe newest rotated change will be displayed in the first element of this list,\nthe next older will be in the second element etc.\n\nThis list is used if `highlight-changes-face-list' is nil, otherwise that\nvariable overrides this list. If you only care about foreground\ncolors then use this, if you want fancier faces then set\n`highlight-changes-face-list'." :type (repeat color) highlight-changes-initial-state highlight-changes-visibility-initial-state "23.1" "Controls whether changes are initially visible in Highlight Changes mode.\n\nThis controls the initial value of `highlight-changes-visible-mode'.\nWhen a buffer is in Highlight Changes mode the function\n`highlight-changes-visible-mode' is used to toggle the mode on or off." boolean highlight-changes-active-string highlight-changes-visible-string " +Chg" "The string used when in Highlight Changes mode and changes are visible.\nThis should be set to nil if no indication is desired, or to\na string with a leading space." (choice string (const :tag "None" nil)) highlight-changes-passive-string highlight-changes-invisible-string " -Chg" "The string used when in Highlight Changes mode and changes are hidden.\nThis should be set to nil if no indication is desired, or to\na string with a leading space." (choice string (const :tag "None" nil)) highlight-changes-global-modes "Determine whether a buffer is suitable for global Highlight Changes mode.\n\nA function means call that function to decide: if it returns non-nil,\nthe buffer is suitable.\n\nA list means the elements are major modes suitable for Highlight\nChanges mode, or a list whose first element is `not' followed by major\nmodes which are not suitable.\n\nA value of t means the buffer is suitable if it is visiting a file and\nits name does not begin with ` ' or `*'.\n\nA value of nil means no buffers are suitable for `global-highlight-changes-mode'\n(effectively disabling the mode).\n\nExample:\n (c-mode c++-mode)\nmeans that Highlight Changes mode is turned on for buffers in C and C++\nmodes only." (choice (const :tag "all non-special buffers visiting files" t) (set :menu-tag "specific modes" :tag "modes" :value (not) (const :tag "All except these" not) (repeat :tag "Modes" :inline t (symbol :tag "mode"))) (function :menu-tag "determined by function" :value buffer-file-name) (const :tag "none" nil)) highlight-changes-global-changes-existing-buffers "If non-nil, toggling global Highlight Changes mode affects existing buffers.\nNormally, `global-highlight-changes' affects only new buffers (to be\ncreated). However, if `highlight-changes-global-changes-existing-buffers'\nis non-nil, then turning on `global-highlight-changes' will turn on\nHighlight Changes mode in suitable buffers, and turning the mode off will\nremove it from existing buffers."] 9) (defvar hilit-chg-list nil) (defvar hilit-chg-string " ??") (make-variable-buffer-local 'hilit-chg-string) #@113 Non-nil if Highlight-Changes mode is enabled. Use the command `highlight-changes-mode' to change this variable. (defvar highlight-changes-mode nil (#$ . 5465)) (make-variable-buffer-local 'highlight-changes-mode) #@1007 Toggle highlighting changes in this buffer (Highlight Changes mode). With a prefix argument ARG, enable Highlight Changes mode if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. When Highlight Changes is enabled, changes are marked with a text property. Normally they are displayed in a distinctive face, but command \[highlight-changes-visible-mode] can be used to toggles this on and off. Other functions for buffers in this mode include: \[highlight-changes-next-change] - move point to beginning of next change \[highlight-changes-previous-change] - move to beginning of previous change \[highlight-changes-remove-highlight] - remove the change face from the region \[highlight-changes-rotate-faces] - rotate different "ages" of changes through various faces. \[highlight-compare-with-file] - mark text as changed by comparing this buffer with the contents of a file \[highlight-compare-buffers] highlights differences between two buffers. (defalias 'highlight-changes-mode #[(&optional arg) "\305 \306=\203 \n?\202 \307 !\310V\311 \204$ \312\313!\203A \313 \203A \314=\2031 \f\2041 \n?\n\203; \315 \210\202E \316 \210\202E \317\320!\210\321\322\n\203O \323\202P \324\"\210\325\326!\203q \305 \203d \305 \232\203q \317\327\n\203n \330\202o \331\"\210)\332 \210\n\207" [#1=#:last-message arg highlight-changes-mode this-command highlight-changes-global-changes-existing-buffers current-message toggle prefix-numeric-value 0 display-color-p fboundp x-display-grayscale-p global-highlight-changes-mode hilit-chg-set hilit-chg-clear message "Highlight Changes mode requires color or grayscale display" run-hooks highlight-changes-mode-hook highlight-changes-mode-on-hook highlight-changes-mode-off-hook called-interactively-p any "Highlight-Changes mode %sabled" "en" "dis" force-mode-line-update] 3 (#$ . 5686) (list (or current-prefix-arg 'toggle))]) (byte-code "\301\302\303\304\300!\205\n \305\211%\207" [highlight-changes-mode-map add-minor-mode highlight-changes-mode hilit-chg-string boundp nil] 6) #@129 Non-nil if Highlight-Changes-Visible mode is enabled. Use the command `highlight-changes-visible-mode' to change this variable. (defvar highlight-changes-visible-mode t (#$ . 7770)) (make-variable-buffer-local 'highlight-changes-visible-mode) #@551 Toggle visibility of highlighting due to Highlight Changes mode. With a prefix argument ARG, enable Highlight Changes Visible mode if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. Highlight Changes Visible mode only has an effect when Highlight Changes mode is on. When enabled, the changed text is displayed in a distinctive face. The default value can be customized with variable `highlight-changes-visibility-initial-state'. This command does not itself set highlight-changes mode. (defalias 'highlight-changes-visible-mode #[(&optional arg) "\303 \304=\203 \n?\202 \305 !\306V\307 \210\310\311\n\203! \312\202\"