| Server IP : 217.160.0.212 / Your IP : 216.73.217.98 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/progmodes/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301\302\303\304\305\306\307\310\311& \210\312\313\314\315\316DD\317\320\321%\210\322\323\324\325\320\326%\210\312\327\314\315\330DD\331\320\323%\210\312\332\314\315\333DD\334\320\323%\210\312\335\314\315\336DD\337\340\341\320\342&\210\312\343\314\315\344DD\345\320\346%\210\312\347\314\315\350DD\351\320\346%\210\312\352\314\315\353DD\354\320\355%\210\312\356\314\315\357DD\360\320\361\362\363&\207" [custom-declare-group cpp nil "Highlight or hide text according to cpp conditionals." :link (custom-group-link :tag "Font Lock Faces group" font-lock-faces) :group c :prefix "cpp-" custom-declare-variable cpp-config-file funcall function #[0 "\300\301!\207" [convert-standard-filename ".cpp.el"] 2 #1=""] "File name to save cpp configuration." :type file define-widget cpp-face lazy "Either a face or the special symbol `invisible'." (choice (const invisible) (face)) cpp-known-face #[0 "\300\207" [invisible] 1 #1#] "Face used for known cpp symbols." cpp-unknown-face #[0 "\300\207" [highlight] 1 #1#] "Face used for unknown cpp symbols." cpp-face-type #[0 "\300\207" [light] 1 #1#] "Indicate what background face type you prefer.\nCan be either light or dark for color screens, mono for monochrome\nscreens, and none if you don't use a window system and don't have\na color-capable display." :options (light dark mono nil) symbol cpp-known-writable #[0 "\300\207" [t] 1 #1#] "Non-nil means you are allowed to modify the known conditionals." boolean cpp-unknown-writable #[0 "\300\207" [t] 1 #1#] "Non-nil means you are allowed to modify the unknown conditionals." cpp-edit-list #[0 "\300\207" [nil] 1 #1#] "Alist of cpp macros and information about how they should be displayed.\nEach entry is a list with the following elements:\n0. The name of the macro (a string).\n1. Face used for text that is `ifdef' the macro.\n2. Face used for text that is `ifndef' the macro.\n3. t, nil, or `both' depending on what text may be edited." (repeat (list (string :tag "Macro") (cpp-face :tag "True") (cpp-face :tag "False") (choice (const :tag "True branch writable" t) (const :tag "False branch writable" nil) (const :tag "Both branches writable" both)))) cpp-message-min-time-interval #[0 "\300\207" [1.0] 1 #1#] "Minimum time interval in seconds for `cpp-progress-message' messages.\nIf nil, `cpp-progress-message' prints no progress messages." (choice (const :tag "Disable progress messages" nil) float) :version "26.1"] 10)
#@52 List of cpp overlays active in the current buffer.
(defvar cpp-overlay-list nil (#$ . 2523))
(make-variable-buffer-local 'cpp-overlay-list)
#@61 Alist of strings and names of the defined face collections.
(defconst cpp-face-type-list '(("light color background" . light) ("dark color background" . dark) ("monochrome" . mono) ("tty" . none)) (#$ . 2669))
(defconst cpp-writable-list '(("writable" . t) ("read-only")))
(defvar cpp-button-event nil)
#@59 Real buffer whose cpp display information we are editing.
(defvar cpp-edit-buffer nil (#$ . 2978))
(make-variable-buffer-local 'cpp-edit-buffer)
(defconst cpp-branch-list '(("false") ("true" . t) ("both" . both)))
(byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\210\300\314\302\303\315DD\316\306\317%\210\300\320\302\303\321DD\322\306\323%\210\300\324\302\303\325DD\326\306\327%\210\300\330\302\303\331DD\332\306\333%\210\300\334\302\303\335DD\336\306\337%\207" [custom-declare-variable cpp-face-default-list funcall function #[0 "\300\207" [nil] 1 #1=""] "Alist of faces you can choose from for cpp conditionals.\nEach element has the form (STRING . FACE), where STRING\nserves as a name (for `cpp-highlight-buffer' only)\nand FACE is either a face (a symbol)\nor a cons cell (background-color . COLOR)." :type (alist :key-type (string :tag "Name") :value-type (choice face (const invisible) (cons (const background-color) (string :tag "Color")))) cpp-face-light-name-list #[0 "\300\207" [("light gray" "light blue" "light cyan" "light yellow" "light pink" "pale green" "beige" "orange" "magenta" "violet" "medium purple" "turquoise")] 1 #1#] "Background colors useful with dark foreground colors." (repeat string) cpp-face-dark-name-list #[0 "\300\207" [("dim gray" "blue" "cyan" "yellow" "red" "dark green" "brown" "dark orange" "dark khaki" "dark violet" "purple" "dark turquoise")] 1 #1#] "Background colors useful with light foreground colors." (repeat string) cpp-face-light-list #[0 "\300\207" [nil] 1 #1#] "Alist of names and faces to be used for light backgrounds." (repeat (cons string (choice face (cons (const background-color) string)))) cpp-face-dark-list #[0 "\300\207" [nil] 1 #1#] "Alist of names and faces to be used for dark backgrounds." (repeat (cons string (choice face (cons (const background-color) string)))) cpp-face-mono-list #[0 "\300\207" [(("bold" . bold) ("bold-italic" . bold-italic) ("italic" . italic) ("underline" . underline))] 1 #1#] "Alist of names and faces to be used for monochrome screens." (repeat (cons string face)) cpp-face-none-list #[0 "\300\207" [(("default" . default) ("invisible" . invisible))] 1 #1#] "Alist of names and faces available even if you don't use a window system." (repeat (cons string cpp-face))] 6)
#@63 All faces used for highlighting text inside cpp conditionals.
(defvar cpp-face-all-list (append cpp-face-light-list cpp-face-dark-list cpp-face-mono-list cpp-face-none-list) (#$ . 5290))
#@46 List of cpp macros used in the local buffer.
(defvar cpp-parse-symbols nil (#$ . 5483))
(make-variable-buffer-local 'cpp-parse-symbols)
(defconst cpp-parse-regexp "'\\|\"\\|/\\*\\|//\\|\\(^[ ]*#[ ]*\\(ifdef\\|ifndef\\|if\\|elif\\|else\\|endif\\)\\b\\)")
#@248 Highlight C code according to preprocessor conditionals.
This command pops up a buffer which you should edit to specify
what kind of highlighting to use, and the criteria for highlighting.
A prefix arg suppresses display of that buffer.
(fn ARG)
(defalias 'cpp-highlight-buffer #[257 "\306=\204 \307>\204 \310\307!\210\311\312 \210\n\204 \313 \210\311\212eb\210\314\315!\210\316\f\311\306#\203/\314\317\320\321`eZ_\322 \"\"\210\323\224\323\225{\211\324\230\204L \211\325\230\203e \323\224b\210\3261\\ \327 0\266\202&