Fix docstring quoting problems with ‘ '’
Problem reported by Artur Malabarba in: http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html Most of these fixes are to documentation; many involve fixing longstanding quoting glitches that are independent of the recent substitute-command-keys changes. The changes to code are: * lisp/cedet/mode-local.el (mode-local-augment-function-help) (describe-mode-local-overload): Substitute docstrings before displaying them. * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Quote the generated docstring for later substitution.
This commit is contained in:
parent
abf673af29
commit
ac16149ba4
142 changed files with 432 additions and 430 deletions
|
@ -65,7 +65,7 @@ Note that this requires easymenu. Must be set before loading."
|
|||
:group 'calculator)
|
||||
|
||||
(defcustom calculator-unary-style 'postfix
|
||||
"Value is either 'prefix or 'postfix.
|
||||
"Value is either `prefix' or `postfix'.
|
||||
This determines the default behavior of unary operators."
|
||||
:type '(choice (const prefix) (const postfix))
|
||||
:group 'calculator)
|
||||
|
@ -332,10 +332,10 @@ documentation for an example.")
|
|||
"A table to convert input characters to corresponding radix symbols.")
|
||||
|
||||
(defvar calculator-output-radix nil
|
||||
"The mode for display, one of: nil (decimal), 'bin, 'oct or 'hex.")
|
||||
"The mode for display, one of: nil (decimal), `bin', `oct' or `hex'.")
|
||||
|
||||
(defvar calculator-input-radix nil
|
||||
"The mode for input, one of: nil (decimal), 'bin, 'oct or 'hex.")
|
||||
"The mode for input, one of: nil (decimal), `bin', `oct' or `hex'.")
|
||||
|
||||
(defvar calculator-deg nil
|
||||
"Non-nil if trig functions operate on degrees instead of radians.")
|
||||
|
|
|
@ -881,11 +881,11 @@ is a list of expressions that can involve the keywords `month', `day',
|
|||
and `year' (all numbers in string form), and `monthname' and `dayname'
|
||||
\(both alphabetic strings). For example, a typical American form would be
|
||||
|
||||
'(month \"/\" day \"/\" (substring year -2))
|
||||
(month \"/\" day \"/\" (substring year -2))
|
||||
|
||||
whereas
|
||||
|
||||
'((format \"%9s, %9s %2s, %4s\" dayname monthname day year))
|
||||
((format \"%9s, %9s %2s, %4s\" dayname monthname day year))
|
||||
|
||||
would give the usual American style in fixed-length fields. The variables
|
||||
`calendar-iso-date-display-form', `calendar-european-date-display-form', and
|
||||
|
@ -1184,8 +1184,8 @@ A negative year is interpreted as BC; -1 being 1 BC, and so on."
|
|||
|
||||
(defsubst calendar-day-number (date)
|
||||
"Return the day number within the year of the date DATE.
|
||||
For example, (calendar-day-number '(1 1 1987)) returns the value 1,
|
||||
while (calendar-day-number '(12 31 1980)) returns 366."
|
||||
For example, (calendar-day-number \\='(1 1 1987)) returns the value 1,
|
||||
while (calendar-day-number \\='(12 31 1980)) returns 366."
|
||||
(let* ((month (calendar-extract-month date))
|
||||
(day (calendar-extract-day date))
|
||||
(year (calendar-extract-year date))
|
||||
|
|
|
@ -1190,7 +1190,7 @@ ensure that all relevant variables are set.
|
|||
|
||||
\(setq diary-mail-days 3
|
||||
diary-file \"/path/to/diary.file\"
|
||||
calendar-date-style 'european
|
||||
calendar-date-style \\='european
|
||||
diary-mail-addr \"user@host.name\")
|
||||
|
||||
\(diary-mail-entries)
|
||||
|
|
|
@ -1296,8 +1296,8 @@ Returns an alist."
|
|||
"Return a VALARM block.
|
||||
Argument ADVANCE-TIME is a number giving the time when the alarm
|
||||
fires (minutes before the respective event). Argument ALARM-SPEC
|
||||
is a list which must be one of '(audio), '(display) or
|
||||
'(email (ADDRESS1 ...)), see `icalendar-export-alarms'. Argument
|
||||
is a list which must be one of (audio), (display) or
|
||||
(email (ADDRESS1 ...)), see `icalendar-export-alarms'. Argument
|
||||
SUMMARY is a string which contains a short description for the
|
||||
alarm."
|
||||
(let* ((action (car alarm-spec))
|
||||
|
|
|
@ -81,12 +81,12 @@
|
|||
"Whether a new source file should be automatically added to a target.
|
||||
Whenever a new file is encountered in a directory controlled by a
|
||||
project file, all targets are queried to see if it should be added.
|
||||
If the value is 'always, then the new file is added to the first
|
||||
target encountered. If the value is 'multi-ask, then if more than one
|
||||
If the value is `always', then the new file is added to the first
|
||||
target encountered. If the value is `multi-ask', then if more than one
|
||||
target wants the file, the user is asked. If only one target wants
|
||||
the file, then it is automatically added to that target. If the
|
||||
value is 'ask, then the user is always asked, unless there is no
|
||||
target willing to take the file. 'never means never perform the check."
|
||||
value is `ask', then the user is always asked, unless there is no
|
||||
target willing to take the file. `never' means never perform the check."
|
||||
:group 'ede
|
||||
:type '(choice (const always)
|
||||
(const multi-ask)
|
||||
|
|
|
@ -304,7 +304,7 @@ Do this whenever a new project is created, as opposed to loaded."
|
|||
;; instead so that -P can be obsoleted.
|
||||
(defun ede-directory-project-p (dir &optional force)
|
||||
"Return a project description object if DIR is in a project.
|
||||
Optional argument FORCE means to ignore a hash-hit of 'nomatch.
|
||||
Optional argument FORCE means to ignore a hash-hit of `nomatch'.
|
||||
This depends on an up to date `ede-project-class-files' variable.
|
||||
Any directory that contains the file .ede-ignore will always
|
||||
return nil.
|
||||
|
|
|
@ -627,7 +627,8 @@ SYMBOL is a function that can be overridden."
|
|||
(beginning-of-line)
|
||||
(forward-line -1))
|
||||
(let ((inhibit-read-only t))
|
||||
(insert (overload-docstring-extension symbol) "\n")
|
||||
(insert (substitute-command-keys (overload-docstring-extension symbol))
|
||||
"\n")
|
||||
;; NOTE TO SELF:
|
||||
;; LIST ALL LOADED OVERRIDES FOR SYMBOL HERE
|
||||
)))
|
||||
|
@ -641,7 +642,8 @@ SYMBOL is a function that can be overridden."
|
|||
(fetch-overload symbol)))
|
||||
modes)
|
||||
|
||||
(insert (overload-docstring-extension symbol) "\n\n")
|
||||
(insert (substitute-command-keys (overload-docstring-extension symbol))
|
||||
"\n\n")
|
||||
(insert (format-message "default function: `%s'\n" default))
|
||||
(if override
|
||||
(insert (format-message "\noverride in buffer `%s': `%s'\n"
|
||||
|
|
|
@ -1191,7 +1191,7 @@ This function can be used by `completion-at-point-functions'."
|
|||
(defun semantic-analyze-notc-completion-at-point-function ()
|
||||
"Return possible analysis completions at point.
|
||||
The completions provided are via `semantic-analyze-possible-completions',
|
||||
but with the 'no-tc option passed in, which means constraints based
|
||||
but with the `no-tc' option passed in, which means constraints based
|
||||
on what is being assigned to are ignored.
|
||||
This function can be used by `completion-at-point-functions'."
|
||||
(when (semantic-active-p)
|
||||
|
@ -1207,7 +1207,7 @@ This function can be used by `completion-at-point-functions'."
|
|||
(defun semantic-analyze-nolongprefix-completion-at-point-function ()
|
||||
"Return possible analysis completions at point.
|
||||
The completions provided are via `semantic-analyze-possible-completions',
|
||||
but with the 'no-tc and 'no-longprefix option passed in, which means
|
||||
but with the `no-tc' and `no-longprefix' option passed in, which means
|
||||
constraints resulting in a long multi-symbol dereference are ignored.
|
||||
This function can be used by `completion-at-point-functions'."
|
||||
(when (semantic-active-p)
|
||||
|
|
|
@ -1513,7 +1513,7 @@ Override function for `semantic-tag-protection'."
|
|||
|
||||
(define-mode-local-override semantic-find-tags-included c-mode
|
||||
(&optional table)
|
||||
"Find all tags in TABLE that are of the 'include class.
|
||||
"Find all tags in TABLE that are of the `include' class.
|
||||
TABLE is a tag table. See `semantic-something-to-tag-table'.
|
||||
For C++, we also have to search namespaces for include tags."
|
||||
(let ((tags (semantic-find-tags-by-class 'include table))
|
||||
|
@ -1948,7 +1948,7 @@ For types with a :parent, create faux namespaces to put TAG into."
|
|||
(define-mode-local-override semanticdb-find-table-for-include c-mode
|
||||
(includetag &optional table)
|
||||
"For a single INCLUDETAG found in TABLE, find a `semanticdb-table' object
|
||||
INCLUDETAG is a semantic TAG of class 'include.
|
||||
INCLUDETAG is a semantic TAG of class `include'.
|
||||
TABLE is a semanticdb table that identifies where INCLUDETAG came from.
|
||||
TABLE is optional if INCLUDETAG has an overlay of :filename attribute.
|
||||
|
||||
|
|
|
@ -854,7 +854,7 @@ This makes it appear more like the results of a `semantic-find-' call.
|
|||
Optional FIND-FILE-MATCH loads all files associated with RESULTS
|
||||
into buffers. This has the side effect of enabling `semantic-tag-buffer' to
|
||||
return a value.
|
||||
If FIND-FILE-MATCH is 'name, then only the filename is stored
|
||||
If FIND-FILE-MATCH is `name', then only the filename is stored
|
||||
in each tag instead of loading each file into a buffer.
|
||||
If the input RESULTS are not going to be used again, and if
|
||||
FIND-FILE-MATCH is nil, you can use `semanticdb-fast-strip-find-results'
|
||||
|
|
|
@ -41,7 +41,7 @@ some documentation in a comment preceding TAG's definition which we
|
|||
can look for. When appropriate, this can be overridden by a language specific
|
||||
enhancement.
|
||||
Optional argument NOSNARF means to only return the lexical analyzer token for it.
|
||||
If nosnarf if 'lex, then only return the lex token."
|
||||
If NOSNARF is `lex', then only return the lex token."
|
||||
(if (not tag) (setq tag (semantic-current-tag)))
|
||||
(save-excursion
|
||||
(when (semantic-tag-with-position-p tag)
|
||||
|
@ -66,7 +66,7 @@ If nosnarf if 'lex, then only return the lex token."
|
|||
If TAG is nil. use the tag under point.
|
||||
Searches the space between TAG and the preceding tag for a comment,
|
||||
and converts the comment into clean documentation.
|
||||
Optional argument NOSNARF with a value of 'lex means to return
|
||||
Optional argument NOSNARF with a value of `lex' means to return
|
||||
just the lexical token and not the string."
|
||||
(if (not tag) (setq tag (semantic-current-tag)))
|
||||
(save-excursion
|
||||
|
@ -92,7 +92,7 @@ just the lexical token and not the string."
|
|||
"Snarf up the comment at POINT for `semantic-documentation-for-tag'.
|
||||
Attempt to strip out comment syntactic sugar.
|
||||
Argument NOSNARF means don't modify the found text.
|
||||
If NOSNARF is 'lex, then return the lex token."
|
||||
If NOSNARF is `lex', then return the lex token."
|
||||
(let* ((semantic-ignore-comments nil)
|
||||
(semantic-lex-analyzer #'semantic-comment-lexer))
|
||||
(if (memq nosnarf '(lex flex)) ;; keep `flex' for compatibility
|
||||
|
|
|
@ -193,7 +193,7 @@ Possible Lifespans are:
|
|||
))
|
||||
|
||||
(defun semantic-cache-data-post-command-hook ()
|
||||
"Flush `semantic-cache-data-overlays' based 'lifespan property.
|
||||
"Flush `semantic-cache-data-overlays' based `lifespan' property.
|
||||
Remove self from `post-command-hook' if it is empty."
|
||||
(let ((newcache nil)
|
||||
(oldcache semantic-cache-data-overlays))
|
||||
|
|
|
@ -1815,13 +1815,13 @@ to keep comments as part of the token stream.")
|
|||
(make-variable-buffer-local 'semantic-ignore-comments)
|
||||
|
||||
(defvar semantic-flex-enable-newlines nil
|
||||
"When flexing, report 'newlines as syntactic elements.
|
||||
"When flexing, report newlines as syntactic elements.
|
||||
Useful for languages where the newline is a special case terminator.
|
||||
Only set this on a per mode basis, not globally.")
|
||||
(make-variable-buffer-local 'semantic-flex-enable-newlines)
|
||||
|
||||
(defvar semantic-flex-enable-whitespace nil
|
||||
"When flexing, report 'whitespace as syntactic elements.
|
||||
"When flexing, report whitespace as syntactic elements.
|
||||
Useful for languages where the syntax is whitespace dependent.
|
||||
Only set this on a per mode basis, not globally.")
|
||||
(make-variable-buffer-local 'semantic-flex-enable-whitespace)
|
||||
|
|
|
@ -453,7 +453,7 @@ has some sort of label defining a parent. The parent return will
|
|||
be a string.
|
||||
|
||||
The default behavior, if not overridden with
|
||||
`tag-member-parent' gets the 'parent extra
|
||||
`tag-member-parent' gets the `parent' extra
|
||||
specifier of TAG.
|
||||
|
||||
If this function is overridden, use
|
||||
|
|
|
@ -162,7 +162,7 @@ ARGS are the initialization arguments to pass to the created class."
|
|||
;;;###autoload
|
||||
(defun semantic-symref-find-references-by-name (name &optional scope tool-return)
|
||||
"Find a list of references to NAME in the current project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to 'project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to `project'.
|
||||
Refers to `semantic-symref-tool', to determine the reference tool to use
|
||||
for the current buffer.
|
||||
Returns an object of class `semantic-symref-result'.
|
||||
|
@ -186,7 +186,7 @@ to perform the search. This was added for use by a test harness."
|
|||
;;;###autoload
|
||||
(defun semantic-symref-find-tags-by-name (name &optional scope)
|
||||
"Find a list of tags by NAME in the current project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to 'project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to `project'.
|
||||
Refers to `semantic-symref-tool', to determine the reference tool to use
|
||||
for the current buffer.
|
||||
Returns an object of class `semantic-symref-result'."
|
||||
|
@ -206,7 +206,7 @@ Returns an object of class `semantic-symref-result'."
|
|||
;;;###autoload
|
||||
(defun semantic-symref-find-tags-by-regexp (name &optional scope)
|
||||
"Find a list of references to NAME in the current project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to 'project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to `project'.
|
||||
Refers to `semantic-symref-tool', to determine the reference tool to use
|
||||
for the current buffer.
|
||||
Returns an object of class `semantic-symref-result'."
|
||||
|
@ -226,7 +226,7 @@ Returns an object of class `semantic-symref-result'."
|
|||
;;;###autoload
|
||||
(defun semantic-symref-find-tags-by-completion (name &optional scope)
|
||||
"Find a list of references to NAME in the current project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to 'project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to `project'.
|
||||
Refers to `semantic-symref-tool', to determine the reference tool to use
|
||||
for the current buffer.
|
||||
Returns an object of class `semantic-symref-result'."
|
||||
|
@ -246,7 +246,7 @@ Returns an object of class `semantic-symref-result'."
|
|||
;;;###autoload
|
||||
(defun semantic-symref-find-file-references-by-name (name &optional scope)
|
||||
"Find a list of references to NAME in the current project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to 'project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to `project'.
|
||||
Refers to `semantic-symref-tool', to determine the reference tool to use
|
||||
for the current buffer.
|
||||
Returns an object of class `semantic-symref-result'."
|
||||
|
@ -267,7 +267,7 @@ Returns an object of class `semantic-symref-result'."
|
|||
(defun semantic-symref-find-text (text &optional scope)
|
||||
"Find a list of occurrences of TEXT in the current project.
|
||||
TEXT is a regexp formatted for use with egrep.
|
||||
Optional SCOPE specifies which file set to search. Defaults to 'project.
|
||||
Optional SCOPE specifies which file set to search. Defaults to `project'.
|
||||
Refers to `semantic-symref-tool', to determine the reference tool to use
|
||||
for the current buffer.
|
||||
Returns an object of class `semantic-symref-result'."
|
||||
|
|
|
@ -375,7 +375,7 @@ Optional argument IGNORABLE-ATTRIBUTES is passed down to
|
|||
|
||||
(defun semantic-tag-of-type-p (tag type)
|
||||
"Compare TAG's type against TYPE. Non nil if equivalent.
|
||||
TYPE can be a string, or a tag of class 'type.
|
||||
TYPE can be a string, or a tag of class `type'.
|
||||
This can be complex since some tags might have a :type that is a tag,
|
||||
while other tags might just have a string. This function will also be
|
||||
return true of TAG's type is compared directly to the declaration of a
|
||||
|
@ -462,12 +462,12 @@ pairs eliminated:
|
|||
"Create a generic semantic tag.
|
||||
NAME is a string representing the name of this tag.
|
||||
CLASS is the symbol that represents the class of tag this is,
|
||||
such as 'variable, or 'function.
|
||||
such as `variable', or `function'.
|
||||
ATTRIBUTES is a list of additional attributes belonging to this tag."
|
||||
(list name class (semantic-tag-make-plist attributes) nil nil))
|
||||
|
||||
(defsubst semantic-tag-new-variable (name type &optional default-value &rest attributes)
|
||||
"Create a semantic tag of class 'variable.
|
||||
"Create a semantic tag of class `variable'.
|
||||
NAME is the name of this variable.
|
||||
TYPE is a string or semantic tag representing the type of this variable.
|
||||
Optional DEFAULT-VALUE is a string representing the default value of this
|
||||
|
@ -479,7 +479,7 @@ tag."
|
|||
attributes))
|
||||
|
||||
(defsubst semantic-tag-new-function (name type arg-list &rest attributes)
|
||||
"Create a semantic tag of class 'function.
|
||||
"Create a semantic tag of class `function'.
|
||||
NAME is the name of this function.
|
||||
TYPE is a string or semantic tag representing the type of this function.
|
||||
ARG-LIST is a list of strings or semantic tags representing the
|
||||
|
@ -491,7 +491,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag."
|
|||
attributes))
|
||||
|
||||
(defsubst semantic-tag-new-type (name type members parents &rest attributes)
|
||||
"Create a semantic tag of class 'type.
|
||||
"Create a semantic tag of class `type'.
|
||||
NAME is the name of this type.
|
||||
TYPE is a string or semantic tag representing the type of this type.
|
||||
MEMBERS is a list of strings or semantic tags representing the
|
||||
|
@ -516,7 +516,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag."
|
|||
attributes))
|
||||
|
||||
(defsubst semantic-tag-new-include (name system-flag &rest attributes)
|
||||
"Create a semantic tag of class 'include.
|
||||
"Create a semantic tag of class `include'.
|
||||
NAME is the name of this include.
|
||||
SYSTEM-FLAG represents that we were able to identify this include as belonging
|
||||
to the system, as opposed to belonging to the local project.
|
||||
|
@ -526,7 +526,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag."
|
|||
attributes))
|
||||
|
||||
(defsubst semantic-tag-new-package (name detail &rest attributes)
|
||||
"Create a semantic tag of class 'package.
|
||||
"Create a semantic tag of class `package'.
|
||||
NAME is the name of this package.
|
||||
DETAIL is extra information about this package, such as a location where
|
||||
it can be found.
|
||||
|
@ -536,7 +536,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag."
|
|||
attributes))
|
||||
|
||||
(defsubst semantic-tag-new-code (name detail &rest attributes)
|
||||
"Create a semantic tag of class 'code.
|
||||
"Create a semantic tag of class `code'.
|
||||
NAME is a name for this code.
|
||||
DETAIL is extra information about the code.
|
||||
ATTRIBUTES is a list of additional attributes belonging to this tag."
|
||||
|
@ -823,7 +823,7 @@ in SUPERS."
|
|||
(defun semantic-tag-type-superclass-protection (tag parentstring)
|
||||
"Return the inheritance protection in TAG from PARENTSTRING.
|
||||
PARENTSTRING is the name of the parent being inherited.
|
||||
The return protection is a symbol, 'public, 'protection, and 'private."
|
||||
The return protection is a symbol, `public', `protection', and `private'."
|
||||
(let ((supers (semantic-tag-get-attribute tag :superclasses)))
|
||||
(cond ((stringp supers)
|
||||
'public)
|
||||
|
@ -946,7 +946,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag."
|
|||
The returned value is a tag of the class that
|
||||
`semantic-tag-alias-class' returns for TAG.
|
||||
The default is to return the value of the :definition attribute.
|
||||
Return nil if TAG is not of class 'alias."
|
||||
Return nil if TAG is not of class `alias'."
|
||||
(when (semantic-tag-of-class-p tag 'alias)
|
||||
(:override
|
||||
(semantic-tag-get-attribute tag :definition))))
|
||||
|
|
|
@ -519,8 +519,8 @@ code like
|
|||
|
||||
(defun foo-restore-desktop-buffer
|
||||
...
|
||||
(add-to-list 'desktop-buffer-mode-handlers
|
||||
'(foo-mode . foo-restore-desktop-buffer))
|
||||
(add-to-list \\='desktop-buffer-mode-handlers
|
||||
\\='(foo-mode . foo-restore-desktop-buffer))
|
||||
|
||||
The major mode function must either be autoloaded, or of the form
|
||||
\"foobar-mode\" and defined in library \"foobar\", so that desktop
|
||||
|
@ -586,8 +586,8 @@ code like
|
|||
|
||||
(defun foo-desktop-restore
|
||||
...
|
||||
(add-to-list 'desktop-minor-mode-handlers
|
||||
'(foo-mode . foo-desktop-restore))
|
||||
(add-to-list \\='desktop-minor-mode-handlers
|
||||
\\='(foo-mode . foo-desktop-restore))
|
||||
|
||||
The minor mode function must either be autoloaded, or of the form
|
||||
\"foobar-mode\" and defined in library \"foobar\", so that desktop
|
||||
|
|
|
@ -420,7 +420,7 @@ CREATE-HOOK is a hook to run after creating a frame."
|
|||
|
||||
(defun dframe-reposition-frame (new-frame parent-frame location)
|
||||
"Move NEW-FRAME to be relative to PARENT-FRAME.
|
||||
LOCATION can be one of 'random, 'left, 'right, 'left-right, or 'top-bottom."
|
||||
LOCATION can be one of `random', `left', `right', `left-right', or `top-bottom'."
|
||||
(if (featurep 'xemacs)
|
||||
(dframe-reposition-frame-xemacs new-frame parent-frame location)
|
||||
(dframe-reposition-frame-emacs new-frame parent-frame location)))
|
||||
|
@ -431,7 +431,7 @@ LOCATION can be one of 'random, 'left, 'right, 'left-right, or 'top-bottom."
|
|||
|
||||
(defun dframe-reposition-frame-emacs (new-frame parent-frame location)
|
||||
"Move NEW-FRAME to be relative to PARENT-FRAME.
|
||||
LOCATION can be one of 'random, 'left-right, 'top-bottom, or
|
||||
LOCATION can be one of `random', `left-right', `top-bottom', or
|
||||
a cons cell indicating a position of the form (LEFT . TOP)."
|
||||
;; Position dframe.
|
||||
;; Do no positioning if not on a windowing system,
|
||||
|
@ -514,7 +514,7 @@ a cons cell indicating a position of the form (LEFT . TOP)."
|
|||
|
||||
(defun dframe-reposition-frame-xemacs (_new-frame _parent-frame _location)
|
||||
"Move NEW-FRAME to be relative to PARENT-FRAME.
|
||||
LOCATION can be one of 'random, 'left-right, or 'top-bottom."
|
||||
LOCATION can be one of `random', `left-right', or `top-bottom'."
|
||||
;; Not yet implemented
|
||||
)
|
||||
|
||||
|
|
|
@ -1629,7 +1629,7 @@ COMPILE argument of `ad-activate' was supplied as nil."
|
|||
Only proper subtrees are considered, for example, if TREE is (1 (2 (3)) 4)
|
||||
then the subtrees will be 1 (2 (3)) 2 (3) 3 4, dotted structures are
|
||||
allowed too. Once a qualifying subtree has been found its subtrees will
|
||||
not be considered anymore. (ad-substitute-tree 'atom 'identity tree)
|
||||
not be considered anymore. (ad-substitute-tree \\='atom \\='identity tree)
|
||||
generates a copy of TREE."
|
||||
(cond ((consp tReE)
|
||||
(cons (if (funcall sUbTrEe-TeSt (car tReE))
|
||||
|
@ -2419,7 +2419,7 @@ as if they had been supplied to a function with TARGET-ARGLIST directly.
|
|||
Excess source arguments will be neglected, missing source arguments will be
|
||||
supplied as nil. Returns a `funcall' or `apply' form with the second element
|
||||
being `function' which has to be replaced by an actual function argument.
|
||||
Example: (ad-map-arglists '(a &rest args) '(w x y z)) will return
|
||||
Example: (ad-map-arglists \\='(a &rest args) \\='(w x y z)) will return
|
||||
(funcall ad--addoit-function a (car args) (car (cdr args)) (nth 2 args))."
|
||||
(let* ((parsed-source-arglist (ad-parse-arglist source-arglist))
|
||||
(source-reqopt-args (append (nth 0 parsed-source-arglist)
|
||||
|
|
|
@ -561,7 +561,7 @@ Note that if you don't care about the order in which FUNCTION is
|
|||
applied, just that the resulting list is in the correct order,
|
||||
then
|
||||
|
||||
(avl-tree-mapf function 'cons tree (not reverse))
|
||||
(avl-tree-mapf function \\='cons tree (not reverse))
|
||||
|
||||
is more efficient."
|
||||
(nreverse (avl-tree-mapf fun 'cons tree reverse)))
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
(defun backquote-list*-function (first &rest list)
|
||||
"Like `list' but the last argument is the tail of the new list.
|
||||
|
||||
For example (backquote-list* 'a 'b 'c) => (a b . c)"
|
||||
For example (backquote-list* \\='a \\='b \\='c) => (a b . c)"
|
||||
;; The recursive solution is much nicer:
|
||||
;; (if list (cons first (apply 'backquote-list*-function list)) first))
|
||||
;; but Emacs is not very good at efficiently processing recursion.
|
||||
|
@ -60,7 +60,7 @@ For example (backquote-list* 'a 'b 'c) => (a b . c)"
|
|||
(defmacro backquote-list*-macro (first &rest list)
|
||||
"Like `list' but the last argument is the tail of the new list.
|
||||
|
||||
For example (backquote-list* 'a 'b 'c) => (a b . c)"
|
||||
For example (backquote-list* \\='a \\='b \\='c) => (a b . c)"
|
||||
;; The recursive solution is much nicer:
|
||||
;; (if list (list 'cons first (cons 'backquote-list*-macro list)) first))
|
||||
;; but Emacs is not very good at efficiently processing such things.
|
||||
|
|
|
@ -265,8 +265,8 @@ This option is enabled by default because it reduces Emacs memory usage."
|
|||
|
||||
(defcustom byte-optimize-log nil
|
||||
"If non-nil, the byte-compiler will log its optimizations.
|
||||
If this is 'source, then only source-level optimizations will be logged.
|
||||
If it is 'byte, then only byte-level optimizations will be logged.
|
||||
If this is `source', then only source-level optimizations will be logged.
|
||||
If it is `byte', then only byte-level optimizations will be logged.
|
||||
The information is logged to `byte-compile-log-buffer'."
|
||||
:group 'bytecomp
|
||||
:type '(choice (const :tag "none" nil)
|
||||
|
@ -1691,7 +1691,7 @@ Any other non-nil value of ARG means to ask the user.
|
|||
If optional argument LOAD is non-nil, loads the file after compiling.
|
||||
|
||||
If compilation is needed, this functions returns the result of
|
||||
`byte-compile-file'; otherwise it returns 'no-byte-compile."
|
||||
`byte-compile-file'; otherwise it returns `no-byte-compile'."
|
||||
(interactive
|
||||
(let ((file buffer-file-name)
|
||||
(file-name nil)
|
||||
|
|
|
@ -479,7 +479,7 @@ See `chart-sort-matchlist' for more details."
|
|||
|
||||
(defun chart-sort-matchlist (namelst numlst pred)
|
||||
"Sort NAMELST and NUMLST (both sequence objects) based on predicate PRED.
|
||||
PRED should be the equivalent of '<, except it must expect two
|
||||
PRED should be the equivalent of `<', except it must expect two
|
||||
cons cells of the form (NAME . NUM). See `sort' for more details."
|
||||
;; 1 - create 1 list of cons cells
|
||||
(let ((newlist nil)
|
||||
|
@ -571,7 +571,7 @@ R1 and R2 are dotted pairs. Colorize it with FACE."
|
|||
(defun chart-bar-quickie (dir title namelst nametitle numlst numtitle
|
||||
&optional max sort-pred)
|
||||
"Wash over the complex EIEIO stuff and create a nice bar chart.
|
||||
Create it going in direction DIR ['horizontal 'vertical] with TITLE
|
||||
Create it going in direction DIR [`horizontal' `vertical'] with TITLE
|
||||
using a name sequence NAMELST labeled NAMETITLE with values NUMLST
|
||||
labeled NUMTITLE.
|
||||
Optional arguments:
|
||||
|
|
|
@ -298,9 +298,10 @@ FORM is of the form (ARGS . BODY)."
|
|||
(if (stringp (car header)) (pop header))
|
||||
;; Be careful with make-symbol and (back)quote,
|
||||
;; see bug#12884.
|
||||
(let ((print-gensym nil) (print-quoted t))
|
||||
(format "%S" (cons 'fn (cl--make-usage-args
|
||||
orig-args)))))
|
||||
(help--docstring-quote
|
||||
(let ((print-gensym nil) (print-quoted t))
|
||||
(format "%S" (cons 'fn (cl--make-usage-args
|
||||
orig-args))))))
|
||||
header)))
|
||||
;; FIXME: we'd want to choose an arg name for the &rest param
|
||||
;; and pass that as `expr' to cl--do-arglist, but that ends up
|
||||
|
@ -2829,8 +2830,8 @@ is a shorthand for (NAME NAME)."
|
|||
|
||||
(defun cl-struct-sequence-type (struct-type)
|
||||
"Return the sequence used to build STRUCT-TYPE.
|
||||
STRUCT-TYPE is a symbol naming a struct type. Return 'vector or
|
||||
'list, or nil if STRUCT-TYPE is not a struct type. "
|
||||
STRUCT-TYPE is a symbol naming a struct type. Return `vector' or
|
||||
`list', or nil if STRUCT-TYPE is not a struct type. "
|
||||
(declare (side-effect-free t) (pure t))
|
||||
(cl--struct-class-type (cl--struct-get-class struct-type)))
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ BODY contains code to execute each time the mode is enabled or disabled.
|
|||
|
||||
For example, you could write
|
||||
(define-minor-mode foo-mode \"If enabled, foo on you!\"
|
||||
:lighter \" Foo\" :require 'foo :global t :group 'hassle :version \"27.5\"
|
||||
:lighter \" Foo\" :require \\='foo :global t :group \\='hassle :version \"27.5\"
|
||||
...BODY CODE...)"
|
||||
(declare (doc-string 2)
|
||||
(debug (&define name string-or-null-p
|
||||
|
@ -502,7 +502,7 @@ Valid keywords and arguments are:
|
|||
:inherit Parent keymap.
|
||||
:group Ignored.
|
||||
:suppress Non-nil to call `suppress-keymap' on keymap,
|
||||
'nodigits to suppress digits as prefix arguments."
|
||||
`nodigits' to suppress digits as prefix arguments."
|
||||
(let (inherit dense suppress)
|
||||
(while args
|
||||
(let ((key (pop args))
|
||||
|
|
|
@ -187,7 +187,7 @@ using :expected-result. See `ert-test-result-type-p' for a
|
|||
description of valid values for RESULT-TYPE.
|
||||
|
||||
\(fn NAME () [DOCSTRING] [:expected-result RESULT-TYPE] \
|
||||
[:tags '(TAG...)] BODY...)"
|
||||
[:tags \\='(TAG...)] BODY...)"
|
||||
(declare (debug (&define :name test
|
||||
name sexp [&optional stringp]
|
||||
[&rest keywordp sexp] def-body))
|
||||
|
|
|
@ -534,7 +534,7 @@ This macro only makes sense when used in a place."
|
|||
"Return a reference to PLACE.
|
||||
This is like the `&' operator of the C language.
|
||||
Note: this only works reliably with lexical binding mode, except for very
|
||||
simple PLACEs such as (function-symbol 'foo) which will also work in dynamic
|
||||
simple PLACEs such as (function-symbol \\='foo) which will also work in dynamic
|
||||
binding mode."
|
||||
(let ((code
|
||||
(gv-letplace (getter setter) place
|
||||
|
|
|
@ -117,10 +117,10 @@ For instance, the following code
|
|||
|
||||
essentially expands to
|
||||
|
||||
(let ((.title (cdr (assq 'title alist)))
|
||||
(.body (cdr (assq 'body alist)))
|
||||
(.site (cdr (assq 'site alist)))
|
||||
(.site.contents (cdr (assq 'contents (cdr (assq 'site alist))))))
|
||||
(let ((.title (cdr (assq \\='title alist)))
|
||||
(.body (cdr (assq \\='body alist)))
|
||||
(.site (cdr (assq \\='site alist)))
|
||||
(.site.contents (cdr (assq \\='contents (cdr (assq \\='site alist))))))
|
||||
(if (and .title .body)
|
||||
.body
|
||||
.site
|
||||
|
|
|
@ -199,15 +199,15 @@ keys are bound.
|
|||
|
||||
Setup Binding
|
||||
-------------------------------------------------------------
|
||||
'prefix Command prefix argument, i.e. M-0 .. M-9 and M--
|
||||
'S-cursor Bind shifted keypad keys to the shifted cursor movement keys.
|
||||
'cursor Bind keypad keys to the cursor movement keys.
|
||||
'numeric Plain numeric keypad, i.e. 0 .. 9 and . (or DECIMAL arg)
|
||||
'none Removes all bindings for keypad keys in function-key-map;
|
||||
this enables any user-defined bindings for the keypad keys
|
||||
in the global and local keymaps.
|
||||
`prefix' Command prefix argument, i.e. M-0 .. M-9 and M--
|
||||
`S-cursor' Bind shifted keypad keys to the shifted cursor movement keys.
|
||||
`cursor' Bind keypad keys to the cursor movement keys.
|
||||
`numeric' Plain numeric keypad, i.e. 0 .. 9 and . (or DECIMAL arg)
|
||||
`none' Removes all bindings for keypad keys in function-key-map;
|
||||
this enables any user-defined bindings for the keypad keys
|
||||
in the global and local keymaps.
|
||||
|
||||
If SETUP is 'numeric and the optional fourth argument DECIMAL is non-nil,
|
||||
If SETUP is `numeric' and the optional fourth argument DECIMAL is non-nil,
|
||||
the decimal key on the keypad is mapped to DECIMAL instead of `.'"
|
||||
(let* ((i 0)
|
||||
(var (cond
|
||||
|
|
|
@ -497,7 +497,7 @@ Useful in some modes, such as Gnus, MH, etc.")
|
|||
"Override some vi-state or insert-state bindings in the current buffer.
|
||||
The effect is seen in the current buffer only.
|
||||
Useful for customizing mailer buffers, gnus, etc.
|
||||
STATE is 'vi-state, 'insert-state, or 'emacs-state
|
||||
STATE is `vi-state', `insert-state', or `emacs-state'.
|
||||
ALIST is of the form ((key . func) (key . func) ...)
|
||||
Normally, this would be called from a hook to a major mode or
|
||||
on a per buffer basis.
|
||||
|
|
16
lisp/epg.el
16
lisp/epg.el
|
@ -1339,8 +1339,8 @@ callback data (if any)."
|
|||
|
||||
(defun epg-list-keys (context &optional name mode)
|
||||
"Return a list of epg-key objects matched with NAME.
|
||||
If MODE is nil or 'public, only public keyring should be searched.
|
||||
If MODE is t or 'secret, only secret keyring should be searched.
|
||||
If MODE is nil or `public', only public keyring should be searched.
|
||||
If MODE is t or `secret', only secret keyring should be searched.
|
||||
Otherwise, only public keyring should be searched and the key
|
||||
signatures should be included.
|
||||
NAME is either a string or a list of strings."
|
||||
|
@ -1680,8 +1680,8 @@ which will return a list of `epg-signature' object."
|
|||
"Initiate a sign operation on PLAIN.
|
||||
PLAIN is a data object.
|
||||
|
||||
If optional 3rd argument MODE is t or 'detached, it makes a detached signature.
|
||||
If it is nil or 'normal, it makes a normal signature.
|
||||
If optional 3rd argument MODE is t or `detached', it makes a detached signature.
|
||||
If it is nil or `normal', it makes a normal signature.
|
||||
Otherwise, it makes a cleartext signature.
|
||||
|
||||
If you use this function, you will need to wait for the completion of
|
||||
|
@ -1724,8 +1724,8 @@ If you are unsure, use synchronous version of this function
|
|||
(defun epg-sign-file (context plain signature &optional mode)
|
||||
"Sign a file PLAIN and store the result to a file SIGNATURE.
|
||||
If SIGNATURE is nil, it returns the result as a string.
|
||||
If optional 3rd argument MODE is t or 'detached, it makes a detached signature.
|
||||
If it is nil or 'normal, it makes a normal signature.
|
||||
If optional 3rd argument MODE is t or `detached', it makes a detached signature.
|
||||
If it is nil or `normal', it makes a normal signature.
|
||||
Otherwise, it makes a cleartext signature."
|
||||
(unwind-protect
|
||||
(progn
|
||||
|
@ -1745,8 +1745,8 @@ Otherwise, it makes a cleartext signature."
|
|||
|
||||
(defun epg-sign-string (context plain &optional mode)
|
||||
"Sign a string PLAIN and return the output as string.
|
||||
If optional 3rd argument MODE is t or 'detached, it makes a detached signature.
|
||||
If it is nil or 'normal, it makes a normal signature.
|
||||
If optional 3rd argument MODE is t or `detached', it makes a detached signature.
|
||||
If it is nil or `normal', it makes a normal signature.
|
||||
Otherwise, it makes a cleartext signature."
|
||||
(let ((input-file
|
||||
(unless (or (eq (epg-context-protocol context) 'CMS)
|
||||
|
|
|
@ -370,7 +370,7 @@ This overrides `erc-server-coding-system' depending on the
|
|||
current target as returned by `erc-default-target'.
|
||||
|
||||
Example: If you know that the channel #linux-ru uses the coding-system
|
||||
`cyrillic-koi8', then add '(\"#linux-ru\" . cyrillic-koi8) to the
|
||||
`cyrillic-koi8', then add (\"#linux-ru\" . cyrillic-koi8) to the
|
||||
alist."
|
||||
:group 'erc-server
|
||||
:type '(repeat (cons (string :tag "Target")
|
||||
|
|
|
@ -165,11 +165,11 @@ REGEXP is the string matching text around the button or a symbol
|
|||
entries in lists or alists are considered to be nicks or other
|
||||
complete words. Therefore they are enclosed in \\< and \\>
|
||||
while searching. REGEXP can also be the quoted symbol
|
||||
'nicknames, which matches the nickname of any user on the
|
||||
\\='nicknames, which matches the nickname of any user on the
|
||||
current server.
|
||||
|
||||
BUTTON is the number of the regexp grouping actually matching the
|
||||
button, This is ignored if REGEXP is 'nicknames.
|
||||
button, This is ignored if REGEXP is \\='nicknames.
|
||||
|
||||
FORM is a lisp expression which must eval to true for the button to
|
||||
be added,
|
||||
|
@ -180,7 +180,7 @@ CALLBACK is the function to call when the user push this button.
|
|||
|
||||
PAR is a number of a regexp grouping whose text will be passed to
|
||||
CALLBACK. There can be several PAR arguments. If REGEXP is
|
||||
'nicknames, these are ignored, and CALLBACK will be called with
|
||||
\\='nicknames, these are ignored, and CALLBACK will be called with
|
||||
the nickname matched as the argument."
|
||||
:group 'erc-button
|
||||
:version "24.1" ; remove finger (bug#4443)
|
||||
|
|
|
@ -191,7 +191,7 @@ use for the logged message."
|
|||
"Flag specifying when matched message logging should happen.
|
||||
When nil, don't log any matched messages.
|
||||
When t, log messages.
|
||||
When 'away, log messages only when away."
|
||||
When `away', log messages only when away."
|
||||
:group 'erc-match
|
||||
:type '(choice (const nil)
|
||||
(const away)
|
||||
|
|
|
@ -58,7 +58,7 @@ be recalled using M-p and M-n."
|
|||
|
||||
(defvar erc-input-ring-index nil
|
||||
"Position in the input ring for erc.
|
||||
If nil, the input line is blank and the user is conceptually 'after'
|
||||
If nil, the input line is blank and the user is conceptually after
|
||||
the most recently added item in the ring. If an integer, the input
|
||||
line is non-blank and displays the item from the ring indexed by this
|
||||
variable.")
|
||||
|
@ -148,4 +148,3 @@ containing a password."
|
|||
;; Local Variables:
|
||||
;; indent-tabs-mode: nil
|
||||
;; End:
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ disconnected from `erc-modified-channels-alist'."
|
|||
|
||||
(defcustom erc-track-exclude-types '("NICK" "333" "353")
|
||||
"List of message types to be ignored.
|
||||
This list could look like '(\"JOIN\" \"PART\").
|
||||
This list could look like (\"JOIN\" \"PART\").
|
||||
|
||||
By default, exclude changes of nicknames (NICK), display of who
|
||||
set the channel topic (333), and listing of users on the current
|
||||
|
@ -210,7 +210,7 @@ If you would like to ignore changes in certain channels where there
|
|||
are no faces corresponding to your `erc-track-faces-priority-list', set
|
||||
this variable. You can set a list of channel name strings, so those
|
||||
will be ignored while all other channels will be tracked as normal.
|
||||
Other options are 'all, to apply this to all channels or nil, to disable
|
||||
Other options are `all', to apply this to all channels or nil, to disable
|
||||
this feature.
|
||||
|
||||
Note: If you have a lot of faces listed in `erc-track-faces-priority-list',
|
||||
|
@ -326,7 +326,7 @@ when there are no more active channels."
|
|||
leastactive - find buffer with least unseen messages
|
||||
mostactive - find buffer with most unseen messages.
|
||||
|
||||
If set to 'importance, the importance is determined by position
|
||||
If set to `importance', the importance is determined by position
|
||||
in `erc-track-faces-priority-list', where first is most
|
||||
important."
|
||||
:group 'erc-track
|
||||
|
|
|
@ -629,7 +629,7 @@ See also: `erc-get-channel-user-list'."
|
|||
|
||||
(defvar erc-channel-modes nil
|
||||
"List of strings representing channel modes.
|
||||
E.g. '(\"i\" \"m\" \"s\" \"b Quake!*@*\")
|
||||
E.g. (\"i\" \"m\" \"s\" \"b Quake!*@*\")
|
||||
\(not sure the ban list will be here, but why not)")
|
||||
(make-variable-buffer-local 'erc-channel-modes)
|
||||
|
||||
|
@ -3249,7 +3249,7 @@ LINE has the format \"USER ACTION\"."
|
|||
(put 'erc-cmd-ME 'do-not-parse-args t)
|
||||
|
||||
(defun erc-cmd-ME\'S (line)
|
||||
"Do a /ME command, but add the string \" 's\" to the beginning."
|
||||
"Do a /ME command, but add the string \" \\='s\" to the beginning."
|
||||
(erc-cmd-ME (concat " 's" line)))
|
||||
(put 'erc-cmd-ME\'S 'do-not-parse-args t)
|
||||
|
||||
|
@ -5025,7 +5025,7 @@ See also `erc-remove-current-channel-member'."
|
|||
(defun erc-update-channel-topic (channel topic &optional modify)
|
||||
"Find a buffer for CHANNEL and set the TOPIC for it.
|
||||
|
||||
If optional MODIFY is 'append or 'prepend, then append or prepend the
|
||||
If optional MODIFY is `append' or `prepend', then append or prepend the
|
||||
TOPIC string to the current topic."
|
||||
(erc-with-buffer (channel)
|
||||
(cond ((eq modify 'append)
|
||||
|
@ -5188,7 +5188,7 @@ person who changed the modes."
|
|||
(t (setq erc-channel-user-limit nil))))))
|
||||
|
||||
(defun erc-update-channel-key (channel onoff key)
|
||||
"Update CHANNEL's key to KEY if ONOFF is 'on or to nil if it's 'off."
|
||||
"Update CHANNEL's key to KEY if ONOFF is `on' or to nil if it's `off'."
|
||||
(erc-with-buffer
|
||||
(channel)
|
||||
(cond ((eq onoff 'on) (setq erc-channel-key key))
|
||||
|
@ -6730,7 +6730,7 @@ This function should be on `erc-kill-channel-hook'."
|
|||
(text-property-not-all (point-min) (point-max) 'erc-parsed nil))
|
||||
|
||||
(defun erc-restore-text-properties ()
|
||||
"Restore the property 'erc-parsed for the region."
|
||||
"Restore the property `erc-parsed' for the region."
|
||||
(let ((parsed-posn (erc-find-parsed-property)))
|
||||
(put-text-property
|
||||
(point-min) (point-max)
|
||||
|
|
|
@ -284,7 +284,7 @@ command line.")
|
|||
(defvar eshell-command-arguments nil)
|
||||
(defvar eshell-in-pipeline-p nil
|
||||
"Internal Eshell variable, non-nil inside a pipeline.
|
||||
Has the value 'first, 'last for the first/last commands in the pipeline,
|
||||
Has the value `first', `last' for the first/last commands in the pipeline,
|
||||
otherwise t.")
|
||||
(defvar eshell-in-subcommand-p nil)
|
||||
(defvar eshell-last-arguments nil)
|
||||
|
@ -670,8 +670,8 @@ For an external command, it means an exit code of 0."
|
|||
"Separate TERMS using SEPARATOR.
|
||||
If REVERSED is non-nil, the list of separated term groups will be
|
||||
returned in reverse order. If LAST-TERMS-SYM is a symbol, its value
|
||||
will be set to a list of all the separator operators found (or '(list
|
||||
nil)' if none)."
|
||||
will be set to a list of all the separator operators found (or (nil)
|
||||
if none)."
|
||||
(let ((sub-terms (list t))
|
||||
(eshell-sep-terms (list t))
|
||||
subchains)
|
||||
|
|
|
@ -678,8 +678,8 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
|
|||
(defun eshell-file-attributes (file &optional id-format)
|
||||
"Return the attributes of FILE, playing tricks if it's over ange-ftp.
|
||||
The optional argument ID-FORMAT specifies the preferred uid and
|
||||
gid format. Valid values are 'string and 'integer, defaulting to
|
||||
'integer. See `file-attributes'."
|
||||
gid format. Valid values are `string' and `integer', defaulting to
|
||||
`integer'. See `file-attributes'."
|
||||
(let* ((file (expand-file-name file))
|
||||
entry)
|
||||
(if (string-equal (file-remote-p file 'method) "ftp")
|
||||
|
|
|
@ -637,8 +637,8 @@ color. The function should accept a single argument, the color name."
|
|||
(defun list-colors-duplicates (&optional list)
|
||||
"Return a list of colors with grouped duplicate colors.
|
||||
If a color has no duplicates, then the element of the returned list
|
||||
has the form '(COLOR-NAME). The element of the returned list with
|
||||
duplicate colors has the form '(COLOR-NAME DUPLICATE-COLOR-NAME ...).
|
||||
has the form (COLOR-NAME). The element of the returned list with
|
||||
duplicate colors has the form (COLOR-NAME DUPLICATE-COLOR-NAME ...).
|
||||
This function uses the predicate `facemenu-color-equal' to compare
|
||||
color names. If the optional argument LIST is non-nil, it should
|
||||
be a list of colors to display. Otherwise, this function uses
|
||||
|
|
|
@ -276,7 +276,7 @@ If FRAME is omitted or nil, use the selected frame."
|
|||
(defun face-list-p (face-or-list)
|
||||
"True if FACE-OR-LIST is a list of faces.
|
||||
Return nil if FACE-OR-LIST is a non-nil atom, or a cons cell whose car
|
||||
is either 'foreground-color, 'background-color, or a keyword."
|
||||
is either `foreground-color', `background-color', or a keyword."
|
||||
;; The logic of merge_face_ref (xfaces.c) is recreated here.
|
||||
(and (listp face-or-list)
|
||||
(not (memq (car face-or-list)
|
||||
|
|
|
@ -787,8 +787,8 @@ return nil.
|
|||
PATH should be a list of directories to look in, like the lists in
|
||||
`exec-path' or `load-path'.
|
||||
If SUFFIXES is non-nil, it should be a list of suffixes to append to
|
||||
file name when searching. If SUFFIXES is nil, it is equivalent to '(\"\").
|
||||
Use '(\"/\") to disable PATH search, but still try the suffixes in SUFFIXES.
|
||||
file name when searching. If SUFFIXES is nil, it is equivalent to (\"\").
|
||||
Use (\"/\") to disable PATH search, but still try the suffixes in SUFFIXES.
|
||||
If non-nil, PREDICATE is used instead of `file-readable-p'.
|
||||
|
||||
This function will normally skip directories, so if you want it to find
|
||||
|
@ -6884,7 +6884,7 @@ as in \"og+rX-w\"."
|
|||
|
||||
(defun read-file-modes (&optional prompt orig-file)
|
||||
"Read file modes in octal or symbolic notation and return its numeric value.
|
||||
PROMPT is used as the prompt, default to `File modes (octal or symbolic): '.
|
||||
PROMPT is used as the prompt, default to \"File modes (octal or symbolic): \".
|
||||
ORIG-FILE is the name of a file on whose mode bits to base returned
|
||||
permissions if what user types requests to add, remove, or set permissions
|
||||
based on existing mode bits, as in \"og+rX-w\"."
|
||||
|
|
|
@ -140,7 +140,7 @@ put \"(setq filesets-menu-ensure-use-cached VALUE)\" into your startup
|
|||
file -- before loading filesets.el.
|
||||
|
||||
So, when should you think about setting this value to t? If filesets.el
|
||||
is loaded before user customizations. Thus, if (require 'filesets)
|
||||
is loaded before user customizations. Thus, if (require \\='filesets)
|
||||
precedes the `custom-set-variables' command or, for XEmacs, if init.el
|
||||
is loaded before custom.el, set this variable to t.")
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ may not exist.
|
|||
|
||||
A typical format is
|
||||
|
||||
'(\".\" \"/usr/include\" \"$PROJECT/*/include\")
|
||||
(\".\" \"/usr/include\" \"$PROJECT/*/include\")
|
||||
|
||||
Environment variables can be inserted between slashes (`/').
|
||||
They will be replaced by their definition. If a variable does
|
||||
|
|
|
@ -68,7 +68,7 @@ handles the corresponding kind of display.")
|
|||
You can set this in your init file; for example,
|
||||
|
||||
(setq initial-frame-alist
|
||||
'((top . 1) (left . 1) (width . 80) (height . 55)))
|
||||
\\='((top . 1) (left . 1) (width . 80) (height . 55)))
|
||||
|
||||
Parameters specified here supersede the values given in
|
||||
`default-frame-alist'.
|
||||
|
@ -103,7 +103,7 @@ initial minibuffer frame.
|
|||
You can set this in your init file; for example,
|
||||
|
||||
(setq minibuffer-frame-alist
|
||||
'((top . 1) (left . 1) (width . 80) (height . 2)))
|
||||
\\='((top . 1) (left . 1) (width . 80) (height . 2)))
|
||||
|
||||
It is not necessary to include (minibuffer . only); that is
|
||||
appended when the minibuffer frame is created."
|
||||
|
@ -911,7 +911,7 @@ if you want Emacs to examine the brightness for you.
|
|||
|
||||
If you change this without using customize, you should use
|
||||
`frame-set-background-mode' to update existing frames;
|
||||
e.g. (mapc 'frame-set-background-mode (frame-list))."
|
||||
e.g. (mapc \\='frame-set-background-mode (frame-list))."
|
||||
:group 'faces
|
||||
:set #'(lambda (var value)
|
||||
(set-default var value)
|
||||
|
|
|
@ -122,9 +122,9 @@ clauses will be generated.
|
|||
If CATCH-ALL is nil, no catch-all handling is performed, regardless of
|
||||
catch-all marks in group parameters. Otherwise, if there is no
|
||||
selected group whose SPLIT-REGEXP matches the empty string, nor is
|
||||
there a selected group whose SPLIT-SPEC is 'catch-all, this fancy
|
||||
there a selected group whose SPLIT-SPEC is `catch-all', this fancy
|
||||
split (say, a group name) will be appended to the returned SPLIT list,
|
||||
as the last element of a '| SPLIT.
|
||||
as the last element of a `|' SPLIT.
|
||||
|
||||
For example, given the following group parameters:
|
||||
|
||||
|
|
|
@ -865,7 +865,7 @@ It may also be a function.
|
|||
|
||||
For e.g., if you wish to set the envelope sender address so that bounces
|
||||
go to the right place or to deal with listserv's usage of that address, you
|
||||
might set this variable to '(\"-f\" \"you@some.where\")."
|
||||
might set this variable to (\"-f\" \"you@some.where\")."
|
||||
:group 'message-sending
|
||||
:link '(custom-manual "(message)Mail Variables")
|
||||
:type '(choice (function)
|
||||
|
@ -1114,7 +1114,7 @@ Note: Many newsgroups frown upon nontraditional reply styles. You
|
|||
probably want to set this variable only for specific groups,
|
||||
e.g. using `gnus-posting-styles':
|
||||
|
||||
(eval (set (make-local-variable 'message-cite-reply-position) 'above))"
|
||||
(eval (set (make-local-variable \\='message-cite-reply-position) \\='above))"
|
||||
:version "24.1"
|
||||
:type '(choice (const :tag "Reply inline" traditional)
|
||||
(const :tag "Reply above" above)
|
||||
|
|
|
@ -393,7 +393,7 @@ enables you to choose manually one of two types those mails include."
|
|||
|
||||
(defcustom mm-inline-large-images nil
|
||||
"If t, then all images fit in the buffer.
|
||||
If 'resize, try to resize the images so they fit."
|
||||
If `resize', try to resize the images so they fit."
|
||||
:type '(radio
|
||||
(const :tag "Inline large images as they are." t)
|
||||
(const :tag "Resize large images." resize)
|
||||
|
|
|
@ -1074,7 +1074,7 @@ can be encoded using a single one of the corresponding coding systems.
|
|||
|
||||
It treats `mm-coding-system-priorities' as the list of preferred
|
||||
coding systems; a useful example setting for this list in Western
|
||||
Europe would be '(iso-8859-1 iso-8859-15 utf-8), which would default
|
||||
Europe would be (iso-8859-1 iso-8859-15 utf-8), which would default
|
||||
to the very standard Latin 1 coding system, and only move to coding
|
||||
systems that are less supported as is necessary to encode the
|
||||
characters that exist in the buffer.
|
||||
|
|
|
@ -332,7 +332,7 @@ which can be called interactively, are:
|
|||
(See `font-lock-keywords'.) They may be edited and re-loaded with \\[hi-lock-find-patterns],
|
||||
any valid `font-lock-keywords' form is acceptable. When a file is
|
||||
loaded the patterns are read if `hi-lock-file-patterns-policy' is
|
||||
'ask and the user responds y to the prompt, or if
|
||||
`ask' and the user responds y to the prompt, or if
|
||||
`hi-lock-file-patterns-policy' is bound to a function and that
|
||||
function returns t.
|
||||
|
||||
|
|
|
@ -260,10 +260,10 @@ These functions will be called with the HTML buffer as the current buffer."
|
|||
:type '(hook))
|
||||
|
||||
(defcustom hfy-default-face-def nil
|
||||
"Fallback `defface' specification for the face 'default, used when
|
||||
"Fallback `defface' specification for the face `default', used when
|
||||
`hfy-display-class' has been set (the normal htmlfontify way of extracting
|
||||
potentially non-current face information doesn't necessarily work for
|
||||
'default).\n
|
||||
`default').\n
|
||||
Example: I customize this to:\n
|
||||
\((t :background \"black\" :foreground \"white\" :family \"misc-fixed\"))"
|
||||
:group 'htmlfontify
|
||||
|
@ -408,23 +408,23 @@ calculating a face's attributes. This is useful when, for example, you
|
|||
are running Emacs on a tty or in batch mode, and want htmlfontify to have
|
||||
access to the face spec you would use if you were connected to an X display.\n
|
||||
Some valid class specification elements are:\n
|
||||
'(class color)
|
||||
'(class grayscale)
|
||||
'(background dark)
|
||||
'(background light)
|
||||
'(type x-toolkit)
|
||||
'(type tty)
|
||||
'(type motif)
|
||||
'(type lucid)
|
||||
(class color)
|
||||
(class grayscale)
|
||||
(background dark)
|
||||
(background light)
|
||||
(type x-toolkit)
|
||||
(type tty)
|
||||
(type motif)
|
||||
(type lucid)
|
||||
Multiple values for a tag may be combined, to indicate that any one or more
|
||||
of these values in the specification key constitutes a match, eg:\n
|
||||
'((class color grayscale) (type tty)) would match any of:\n
|
||||
'((class color))
|
||||
'((class grayscale))
|
||||
'((class color grayscale))
|
||||
'((class color foo))
|
||||
'((type tty))
|
||||
'((type tty) (class color))\n
|
||||
((class color grayscale) (type tty)) would match any of:\n
|
||||
((class color))
|
||||
((class grayscale))
|
||||
((class color grayscale))
|
||||
((class color foo))
|
||||
((type tty))
|
||||
((type tty) (class color))\n
|
||||
and so on."
|
||||
:type '(alist :key-type (symbol) :value-type (symbol))
|
||||
:group 'htmlfontify
|
||||
|
@ -879,10 +879,10 @@ specify - this matches Emacs's behavior when deciding on which face attributes
|
|||
to use, to the best of my understanding).\n
|
||||
If CLASS is nil, then you just get whatever `face-attr-construct' returns,
|
||||
ie the current specification in effect for FACE.\n
|
||||
*NOTE*: This function forces any face that is not 'default and which has
|
||||
no :inherit property to inherit from 'default (this is because 'default
|
||||
*NOTE*: This function forces any face that is not `default' and which has
|
||||
no :inherit property to inherit from `default' (this is because `default'
|
||||
is magical in that Emacs's fonts behave as if they inherit implicitly from
|
||||
'default, but no such behavior exists in HTML/CSS).\n
|
||||
`default', but no such behavior exists in HTML/CSS).\n
|
||||
See also `hfy-display-class' for details of valid values for CLASS."
|
||||
(let ((face-spec
|
||||
(if class
|
||||
|
|
|
@ -128,7 +128,7 @@ own!):
|
|||
Thus, if you wanted to use these two formats, the appropriate
|
||||
value for this variable would be
|
||||
|
||||
'((mark \" \" name)
|
||||
\\='((mark \" \" name)
|
||||
(mark modified read-only
|
||||
(name 16 16 :left)
|
||||
(size 6 -1 :right)))
|
||||
|
|
10
lisp/ido.el
10
lisp/ido.el
|
@ -742,8 +742,8 @@ not provide the normal completion. To show the completions, use \\[ido-toggle-i
|
|||
|
||||
(defcustom ido-enter-matching-directory 'only
|
||||
"Additional methods to enter sub-directory of first/only matching item.
|
||||
If value is 'first, enter first matching sub-directory when typing a slash.
|
||||
If value is 'only, typing a slash only enters the sub-directory if it is
|
||||
If value is `first', enter first matching sub-directory when typing a slash.
|
||||
If value is `only', typing a slash only enters the sub-directory if it is
|
||||
the only matching item.
|
||||
If value is t, automatically enter a sub-directory when it is the only
|
||||
matching item, even without typing a slash."
|
||||
|
@ -755,7 +755,7 @@ matching item, even without typing a slash."
|
|||
|
||||
(defcustom ido-create-new-buffer 'prompt
|
||||
"Specify whether a new buffer is created if no buffer matches substring.
|
||||
Choices are 'always to create new buffers unconditionally, 'prompt to
|
||||
Choices are `always' to create new buffers unconditionally, `prompt' to
|
||||
ask user whether to create buffer, or 'never to never create new buffer."
|
||||
:type '(choice (const always)
|
||||
(const prompt)
|
||||
|
@ -1605,8 +1605,8 @@ With ARG, turn Ido mode on if arg is positive, off otherwise.
|
|||
Turning on Ido mode will remap (via a minor-mode keymap) the default
|
||||
keybindings for the `find-file' and `switch-to-buffer' families of
|
||||
commands to the Ido versions of these functions.
|
||||
However, if ARG arg equals 'files, remap only commands for files, or
|
||||
if it equals 'buffers, remap only commands for buffer switching.
|
||||
However, if ARG arg equals `files', remap only commands for files, or
|
||||
if it equals `buffers', remap only commands for buffer switching.
|
||||
This function also adds a hook to the minibuffer."
|
||||
(interactive "P")
|
||||
(setq ido-mode
|
||||
|
|
|
@ -1205,8 +1205,8 @@ comment."
|
|||
|
||||
(defun image-dired-modify-mark-on-thumb-original-file (command)
|
||||
"Modify mark in dired buffer.
|
||||
COMMAND is one of 'mark for marking file in dired, 'unmark for
|
||||
unmarking file in dired or 'flag for flagging file for delete in
|
||||
COMMAND is one of `mark' for marking file in dired, `unmark' for
|
||||
unmarking file in dired or `flag' for flagging file for delete in
|
||||
dired."
|
||||
(let ((file-name (image-dired-original-file-name))
|
||||
(dired-buf (image-dired-associated-dired-buffer)))
|
||||
|
|
|
@ -154,7 +154,7 @@ compatibility with versions of Emacs that lack the variable
|
|||
|
||||
(let* ((load-path (image-load-path-for-library \"mh-e\" \"mh-logo.xpm\"))
|
||||
(image-load-path (cons (car load-path)
|
||||
(when (boundp 'image-load-path)
|
||||
(when (boundp \\='image-load-path)
|
||||
image-load-path))))
|
||||
(mh-tool-bar-folder-buttons-init))"
|
||||
(unless library (error "No library specified"))
|
||||
|
|
|
@ -509,7 +509,7 @@ If REVERSE is non-nil then the beginning is 100 and the end is 0."
|
|||
|
||||
(defun imenu--split (list n)
|
||||
"Split LIST into sublists of max length N.
|
||||
Example (imenu--split '(1 2 3 4 5 6 7 8) 3)-> '((1 2 3) (4 5 6) (7 8))
|
||||
Example (imenu--split \\='(1 2 3 4 5 6 7 8) 3) => ((1 2 3) (4 5 6) (7 8))
|
||||
The returned list DOES NOT share structure with LIST."
|
||||
(let ((remain list)
|
||||
(result '())
|
||||
|
|
|
@ -610,7 +610,7 @@ See also `indent-relative-maybe'."
|
|||
"List of tab stop positions used by `tab-to-tab-stop'.
|
||||
This should be nil, or a list of integers, ordered from smallest to largest.
|
||||
It implicitly extends to infinity through repetition of the last step.
|
||||
For example, '(1 2 5) is equivalent to '(1 2 5 8 11 ...). If the list has
|
||||
For example, (1 2 5) is equivalent to (1 2 5 8 11 ...). If the list has
|
||||
fewer than 2 elements, `tab-width' is used as the \"last step\".
|
||||
A value of nil means a tab stop every `tab-width' columns."
|
||||
:group 'indent
|
||||
|
|
|
@ -606,7 +606,7 @@ variables or other means, this option has no effect."
|
|||
May be t, in which case a default is computed (and you probably won't
|
||||
be happy with it). May be nil, in which case nothing in particular is
|
||||
done with respect to From: lines. By design, will not replace an
|
||||
existing From: line, but you can achieve that with a fiddle-plex 'replace
|
||||
existing From: line, but you can achieve that with a fiddle-plex `replace'
|
||||
action.
|
||||
|
||||
If neither nil nor t, it may be a string, a fiddle-plex, or a function
|
||||
|
@ -870,11 +870,11 @@ headers for specific addresses.
|
|||
|
||||
May be t, in which case a \"To:\" header is added to the message with
|
||||
the stripped address as the header contents. The fiddle-plex operator
|
||||
is 'supplement.
|
||||
is `supplement'.
|
||||
|
||||
May be a string, in which case the string is assumed to be the name of
|
||||
a message header field with the stripped address serving as the value.
|
||||
The fiddle-plex operator is 'supplement.
|
||||
The fiddle-plex operator is `supplement'.
|
||||
|
||||
May be a function, in which case it is called with no arguments and is
|
||||
expected to return nil, t, a string, another function, or a fiddle-plex.
|
||||
|
@ -891,7 +891,7 @@ If a list, each item is acted on in turn as described above.
|
|||
|
||||
For example,
|
||||
|
||||
(setq feedmail-spray-address-fiddle-plex-list 'feedmail-spray-via-bbdb)
|
||||
(setq feedmail-spray-address-fiddle-plex-list \\='feedmail-spray-via-bbdb)
|
||||
|
||||
The idea of the example is that, during spray mode, as each message is
|
||||
about to be transmitted to an individual address, the function will be
|
||||
|
@ -1383,7 +1383,7 @@ See documentation of `feedmail-mail-send-hook-splitter' for details."
|
|||
(defun feedmail-confirm-addresses-hook-example ()
|
||||
"An example of a `feedmail-last-chance-hook'.
|
||||
It shows the simple addresses and gets a confirmation. Use as:
|
||||
(setq feedmail-last-chance-hook 'feedmail-confirm-addresses-hook-example)."
|
||||
(setq feedmail-last-chance-hook \\='feedmail-confirm-addresses-hook-example)."
|
||||
(save-window-excursion
|
||||
(display-buffer (set-buffer (get-buffer-create " F-C-A-H-E")))
|
||||
(erase-buffer)
|
||||
|
@ -2080,7 +2080,7 @@ backup file names and the like)."
|
|||
(defun feedmail-queue-reminder (&optional what-event)
|
||||
"Perform some kind of reminder activity about queued and draft messages.
|
||||
Called with an optional symbol argument which says what kind of event
|
||||
is triggering the reminder activity. The default is 'on-demand, which
|
||||
is triggering the reminder activity. The default is `on-demand', which
|
||||
is what you typically would use if you were putting this in your Emacs start-up
|
||||
or mail hook code. Other recognized values for WHAT-EVENT (these are passed
|
||||
internally by feedmail):
|
||||
|
|
|
@ -97,7 +97,7 @@ If this is not in your PATH, specify an absolute file name."
|
|||
|
||||
(defcustom hashcash-extra-generate-parameters nil
|
||||
"A list of parameter strings passed to `hashcash-program' when minting.
|
||||
For example, you may want to set this to '(\"-Z2\") to reduce header length."
|
||||
For example, you may want to set this to (\"-Z2\") to reduce header length."
|
||||
:type '(repeat string)
|
||||
:group 'hashcash)
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
MAILTO-URL should be a RFC 2368 (mailto) compliant url. A cons cell w/ a
|
||||
key of `Body' is a special case and is considered a header for this purpose.
|
||||
The returned alist is intended for use w/ the `compose-mail' interface.
|
||||
Note: make sure MAILTO-URL has been 'unhtmlized' (e.g. & -> &), before
|
||||
Note: make sure MAILTO-URL has been \"unhtmlized\" (e.g., & -> &), before
|
||||
calling this function."
|
||||
(let ((case-fold-search t)
|
||||
prequery query headers-alist)
|
||||
|
|
|
@ -98,7 +98,7 @@ its character representation and its display representation.")
|
|||
|
||||
(defvar rmail-header-style 'normal
|
||||
"The current header display style choice, one of
|
||||
'normal (selected headers) or 'full (all headers).")
|
||||
`normal' (selected headers) or `full' (all headers).")
|
||||
|
||||
(defvar rmail-mime-decoded nil
|
||||
"Non-nil if message has been processed by `rmail-show-mime-function'.")
|
||||
|
@ -298,7 +298,7 @@ mail URLs as the source mailbox.")
|
|||
;;;###autoload
|
||||
(defun rmail-movemail-variant-p (&rest variants)
|
||||
"Return t if the current movemail variant is any of VARIANTS.
|
||||
Currently known variants are 'emacs and 'mailutils."
|
||||
Currently known variants are `emacs' and `mailutils'."
|
||||
(when (not rmail-movemail-variant-in-use)
|
||||
;; Autodetect
|
||||
(setq rmail-movemail-variant-in-use (rmail-autodetect)))
|
||||
|
|
|
@ -872,7 +872,7 @@ variant."
|
|||
|
||||
(defun mh-variant-p (&rest variants)
|
||||
"Return t if variant is any of VARIANTS.
|
||||
Currently known variants are 'MH, 'nmh, and 'gnu-mh."
|
||||
Currently known variants are `MH', `nmh', and `gnu-mh'."
|
||||
(let ((variant-in-use
|
||||
(cadr (assoc 'variant (assoc mh-variant-in-use (mh-variants))))))
|
||||
(not (null (member variant-in-use variants)))))
|
||||
|
@ -1435,7 +1435,7 @@ the \"Value Menu\".
|
|||
You can specify an alternate \"From:\" header field using the \"From
|
||||
Field\" menu item. You must include a valid email address. A standard
|
||||
format is \"First Last <login@@host.domain>\". If you use an initial
|
||||
with a period, then you must quote your name as in '\"First I. Last\"
|
||||
with a period, then you must quote your name as in `\"First I. Last\"
|
||||
<login@@host.domain>'. People usually list the name of the company
|
||||
where they work using the \"Organization Field\" menu item. Set any
|
||||
arbitrary header field and value in the \"Other Field\" menu item.
|
||||
|
@ -1599,8 +1599,8 @@ other field matches.
|
|||
|
||||
The handler functions are passed two or three arguments: the
|
||||
FIELD itself (for example, \"From\"), or one of the special
|
||||
fields (for example, \":signature\"), and the ACTION 'remove or
|
||||
'add. If the action is 'add, an additional argument
|
||||
fields (for example, \":signature\"), and the ACTION `remove' or
|
||||
`add'. If the action is `add', an additional argument
|
||||
containing the VALUE for the field is given."
|
||||
:type '(repeat (cons (string :tag "Field") function))
|
||||
:group 'mh-identity
|
||||
|
|
|
@ -180,9 +180,9 @@ See `mh-identity-list'."
|
|||
;;;###mh-autoload
|
||||
(defun mh-identity-handler-gpg-identity (field action &optional value)
|
||||
"Process header FIELD \":pgg-default-user-id\".
|
||||
The ACTION is one of 'remove or 'add. If 'add, the VALUE is added.
|
||||
The ACTION is one of `remove' or `add'. If `add', the VALUE is added.
|
||||
The buffer-local variable `mh-identity-pgg-default-user-id' is set to
|
||||
VALUE when action 'add is selected."
|
||||
VALUE when action `add' is selected."
|
||||
(cond
|
||||
((or (equal action 'remove)
|
||||
(not value)
|
||||
|
@ -194,7 +194,7 @@ VALUE when action 'add is selected."
|
|||
;;;###mh-autoload
|
||||
(defun mh-identity-handler-signature (field action &optional value)
|
||||
"Process header FIELD \":signature\".
|
||||
The ACTION is one of 'remove or 'add. If 'add, the VALUE is
|
||||
The ACTION is one of `remove' or `add'. If `add', the VALUE is
|
||||
added."
|
||||
(cond
|
||||
((equal action 'remove)
|
||||
|
@ -225,7 +225,7 @@ added."
|
|||
;;;###mh-autoload
|
||||
(defun mh-identity-handler-attribution-verb (field action &optional value)
|
||||
"Process header FIELD \":attribution-verb\".
|
||||
The ACTION is one of 'remove or 'add. If 'add, the VALUE is
|
||||
The ACTION is one of `remove' or `add'. If `add', the VALUE is
|
||||
added."
|
||||
(when (and (markerp mh-identity-attribution-verb-start)
|
||||
(markerp mh-identity-attribution-verb-end))
|
||||
|
@ -283,7 +283,7 @@ bottom of the header. If action is 'add, the VALUE is added."
|
|||
;;;###mh-autoload
|
||||
(defun mh-identity-handler-top (field action &optional value)
|
||||
"Process header FIELD.
|
||||
The ACTION is one of 'remove or 'add. If 'add, the VALUE is
|
||||
The ACTION is one of `remove' or `add'. If `add', the VALUE is
|
||||
added. If the field wasn't present, it is added to the top of the
|
||||
header."
|
||||
(mh-identity-handler-default field action t value))
|
||||
|
@ -291,7 +291,7 @@ header."
|
|||
;;;###mh-autoload
|
||||
(defun mh-identity-handler-bottom (field action &optional value)
|
||||
"Process header FIELD.
|
||||
The ACTION is one of 'remove or 'add. If 'add, the VALUE is
|
||||
The ACTION is one of `remove' or `add'. If `add', the VALUE is
|
||||
added. If the field wasn't present, it is added to the bottom of
|
||||
the header."
|
||||
(mh-identity-handler-default field action nil value))
|
||||
|
|
|
@ -555,7 +555,7 @@ change."
|
|||
;;;###mh-autoload
|
||||
(defun mh-valid-view-change-operation-p (op)
|
||||
"Check if the view change operation can be performed.
|
||||
OP is one of 'widen and 'unthread."
|
||||
OP is one of `widen' and `unthread'."
|
||||
(cond ((eq (car mh-view-ops) op)
|
||||
(pop mh-view-ops))
|
||||
(t nil)))
|
||||
|
|
|
@ -3863,7 +3863,7 @@ If VERBOSE-P is non-nil, print progress report in the echo area.
|
|||
FILES is a list of files to copy in the form
|
||||
(from-file to-file ok-if-already-exists keep-date)
|
||||
E.g.,
|
||||
(ange-ftp-copy-files-async t nil t '((\"a\" \"b\" t t) (\"c\" \"d\" t t)))"
|
||||
(ange-ftp-copy-files-async t nil t \\='((\"a\" \"b\" t t) (\"c\" \"d\" t t)))"
|
||||
(unless okay-p (error "%s: %s" 'ange-ftp-copy-files-async line))
|
||||
(if files
|
||||
(let* ((ff (car files))
|
||||
|
|
|
@ -93,7 +93,7 @@ desktop. Otherwise, such entries will be retained."
|
|||
|
||||
(defcustom eww-restore-desktop nil
|
||||
"How to restore EWW buffers on `desktop-restore'.
|
||||
If t or 'auto, the buffers will be reloaded automatically.
|
||||
If t or `auto', the buffers will be reloaded automatically.
|
||||
If nil, buffers will require manual reload, and will contain the text
|
||||
specified in `eww-restore-reload-prompt' instead of the actual Web
|
||||
page contents."
|
||||
|
|
|
@ -453,7 +453,7 @@ second the status (OK, NO, BAD etc) of the command.")
|
|||
|
||||
When non-nil, use an alternative UIDS form. Enabling appears to
|
||||
be required for some servers (e.g., Microsoft Exchange 2007)
|
||||
which otherwise would trigger a response 'BAD The specified
|
||||
which otherwise would trigger a response `BAD The specified
|
||||
message set is invalid.'. We don't unconditionally use this
|
||||
form, since this is said to be significantly inefficient.
|
||||
|
||||
|
@ -1564,8 +1564,8 @@ returned, if ITEMS is a symbol only its value is returned."
|
|||
(defun imap-mailbox-status-asynch (mailbox items &optional buffer)
|
||||
"Send status item requests ITEMS on MAILBOX to server in BUFFER.
|
||||
ITEMS can be a symbol or a list of symbols, valid symbols are one of
|
||||
the STATUS data items -- i.e. 'messages, 'recent, 'uidnext, 'uidvalidity
|
||||
or 'unseen. The IMAP command tag is returned."
|
||||
the STATUS data items -- i.e., `messages', `recent', `uidnext', `uidvalidity'
|
||||
or `unseen'. The IMAP command tag is returned."
|
||||
(with-current-buffer (or buffer (current-buffer))
|
||||
(imap-send-command (list "STATUS \""
|
||||
(imap-utf7-encode mailbox)
|
||||
|
|
|
@ -211,7 +211,7 @@ nil for disabling this).")
|
|||
(defvar mairix-widget-other
|
||||
'(threads flags)
|
||||
"Other editable mairix commands when using customization widgets.
|
||||
Currently there are 'threads and 'flags.")
|
||||
Currently there are `threads' and `flags'.")
|
||||
|
||||
;;;; Internal variables
|
||||
|
||||
|
|
|
@ -502,8 +502,8 @@ This is a list of the form
|
|||
|
||||
where LABEL is a symbol. TITLE, DESCRIPTION, and LINK are
|
||||
strings. TIME is a time value as returned by `current-time'.
|
||||
AGE is a symbol: 'new, 'old, 'immortal, and 'obsolete denote
|
||||
ordinary news items, whereas 'feed denotes an item which is not a
|
||||
AGE is a symbol: `new', `old', `immortal', and `obsolete' denote
|
||||
ordinary news items, whereas `feed' denotes an item which is not a
|
||||
headline but describes the feed itself. INDEX denotes the
|
||||
original position of the item -- used for restoring the original
|
||||
order. PREFORMATTED-CONTENTS and PREFORMATTED-TITLE hold the
|
||||
|
@ -1987,7 +1987,7 @@ Renders the HTML code in the region POS1 to POS2 using htmlr."
|
|||
|
||||
(defun newsticker--cache-replace-age (data feed old-age new-age)
|
||||
"Mark all items in DATA in FEED which carry age OLD-AGE with NEW-AGE.
|
||||
If FEED is 'any it applies to all feeds. If OLD-AGE is 'any,
|
||||
If FEED is `any' it applies to all feeds. If OLD-AGE is `any',
|
||||
all marks are replaced by NEW-AGE. Removes all pre-formatted contents."
|
||||
(mapc (lambda (a-feed)
|
||||
(when (or (eq feed 'any)
|
||||
|
@ -2038,7 +2038,7 @@ The properties which are checked are TITLE, DESC, LINK, AGE, and
|
|||
GUID. In general all properties must match in order to return a
|
||||
certain item, except for the following cases.
|
||||
|
||||
If AGE equals 'feed the TITLE, DESCription and LINK do not
|
||||
If AGE equals `feed' the TITLE, DESCription and LINK do not
|
||||
matter. If DESC is nil it is ignored as well. If
|
||||
`newsticker-desc-comp-max' is non-nil, only the first
|
||||
`newsticker-desc-comp-max' characters of DESC are taken into
|
||||
|
@ -2143,7 +2143,7 @@ which the item got."
|
|||
|
||||
(defun newsticker--cache-remove (data feed-symbol age)
|
||||
"Remove all entries from DATA in the feed FEED-SYMBOL with AGE.
|
||||
FEED-SYMBOL may be 'any. Entries from old feeds, which are no longer in
|
||||
FEED-SYMBOL may be `any'. Entries from old feeds, which are no longer in
|
||||
`newsticker-url-list' or `newsticker-url-list-defaults', are removed as
|
||||
well."
|
||||
(let* ((pos data)
|
||||
|
|
|
@ -228,7 +228,7 @@ Each function is called after one of `newsticker-next-item',
|
|||
`newsticker-next-new-item', `newsticker-previous-item',
|
||||
`newsticker-previous-new-item' has been called.
|
||||
|
||||
The default value 'newsticker--buffer-make-item-completely-visible
|
||||
The default value `newsticker--buffer-make-item-completely-visible'
|
||||
assures that the current item is always completely visible."
|
||||
:type 'hook
|
||||
:options '(newsticker--buffer-make-item-completely-visible)
|
||||
|
@ -240,7 +240,7 @@ assures that the current item is always completely visible."
|
|||
Each function is called after one of `newsticker-next-feed', and
|
||||
`newsticker-previous-feed' has been called.
|
||||
|
||||
The default value 'newsticker--buffer-make-item-completely-visible
|
||||
The default value `newsticker--buffer-make-item-completely-visible'
|
||||
assures that the current feed is completely visible."
|
||||
:type 'hook
|
||||
:options '(newsticker--buffer-make-item-completely-visible)
|
||||
|
@ -251,7 +251,7 @@ assures that the current feed is completely visible."
|
|||
"List of functions run after the newsticker buffer has been updated.
|
||||
Each function is called after `newsticker-buffer-update' has been called.
|
||||
|
||||
The default value `\\='newsticker-w3m-show-inline-images' loads inline
|
||||
The default value `newsticker-w3m-show-inline-images' loads inline
|
||||
images."
|
||||
:type 'hook
|
||||
:group 'newsticker-plainview-hooks)
|
||||
|
@ -263,7 +263,7 @@ Each function is called after
|
|||
`newsticker-toggle-auto-narrow-to-feed' or
|
||||
`newsticker-toggle-auto-narrow-to-item' has been called.
|
||||
|
||||
The default value `\\='newsticker-w3m-show-inline-images' loads inline
|
||||
The default value `newsticker-w3m-show-inline-images' loads inline
|
||||
images."
|
||||
:type 'hook
|
||||
:group 'newsticker-plainview-hooks)
|
||||
|
@ -1524,8 +1524,8 @@ Scans the buffer between START and END."
|
|||
|
||||
(defun newsticker--buffer-set-invisibility (start end)
|
||||
"Add invisibility properties according to nt-type property.
|
||||
Scans the buffer between START and END. Sets the 'invisible
|
||||
property to '(<nt-type>-<nt-age> <nt-type> <nt-age>)."
|
||||
Scans the buffer between START and END. Sets the `invisible'
|
||||
property to (<nt-type>-<nt-age> <nt-type> <nt-age>)."
|
||||
(save-excursion
|
||||
;; reset invisibility settings
|
||||
(put-text-property start end 'invisible nil)
|
||||
|
|
|
@ -320,7 +320,7 @@ Called with 5 arguments, PROCESS, SENDER, RESPONSE, TARGET and TEXT."
|
|||
|
||||
(defcustom rcirc-decode-coding-system 'utf-8
|
||||
"Coding system used to decode incoming irc messages.
|
||||
Set to 'undecided if you want the encoding of the incoming
|
||||
Set to `undecided' if you want the encoding of the incoming
|
||||
messages autodetected."
|
||||
:type 'coding-system
|
||||
:group 'rcirc)
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
(require 'mm-decode)
|
||||
|
||||
(defsubst soap-warning (message &rest args)
|
||||
"Display a warning MESSAGE with ARGS, using the 'soap-client warning type."
|
||||
"Display a warning MESSAGE with ARGS, using the `soap-client' warning type."
|
||||
;; Do not use #'format-message, to support older Emacs versions.
|
||||
(display-warning 'soap-client (apply #'format message args) :warning))
|
||||
|
||||
|
@ -562,7 +562,7 @@ fractional seconds, and the DST (daylight savings time) field is
|
|||
replaced with DATATYPE, a symbol representing the XSD primitive
|
||||
datatype. This symbol can be used to determine which fields
|
||||
apply and which don't when it's not already clear from context.
|
||||
For example a datatype of 'time means the year, month and day
|
||||
For example a datatype of `time' means the year, month and day
|
||||
fields should be ignored.
|
||||
|
||||
This function will throw an error if DATE-TIME-STRING represents
|
||||
|
|
|
@ -694,8 +694,8 @@ Useful for \"rsync\" like methods.")
|
|||
|
||||
It can have the following values:
|
||||
|
||||
'ftp -- Ange-FTP respective EFS like syntax (GNU Emacs default)
|
||||
'sep -- Syntax as defined for XEmacs."
|
||||
`ftp' -- Ange-FTP respective EFS like syntax (GNU Emacs default)
|
||||
`sep' -- Syntax as defined for XEmacs."
|
||||
:group 'tramp
|
||||
:version "24.4"
|
||||
:type `(choice (const :tag ,(if (featurep 'xemacs) "EFS" "Ange-FTP") ftp)
|
||||
|
|
|
@ -1402,7 +1402,7 @@ specified in the properties of the current outline entry."
|
|||
ALTS is a cons of two character options where each option may be
|
||||
either the numeric code of a single character or a list of
|
||||
character alternatives. For example to split on balanced
|
||||
instances of \"[ \t]:\" set ALTS to '((32 9) . 58)."
|
||||
instances of \"[ \t]:\" set ALTS to ((32 9) . 58)."
|
||||
(let* ((matches (lambda (ch spec) (if (listp spec) (member ch spec) (equal spec ch))))
|
||||
(matched (lambda (ch last)
|
||||
(if (consp alts)
|
||||
|
@ -1511,7 +1511,7 @@ shown below.
|
|||
|
||||
;; row and column names
|
||||
(defun org-babel-del-hlines (table)
|
||||
"Remove all 'hlines from TABLE."
|
||||
"Remove all `hline's from TABLE."
|
||||
(remove 'hline table))
|
||||
|
||||
(defun org-babel-get-colnames (table)
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
(defcustom org-export-babel-evaluate t
|
||||
"Switch controlling code evaluation during export.
|
||||
When set to nil no code will be evaluated as part of the export
|
||||
process. When set to 'inline-only, only inline code blocks will
|
||||
process. When set to `inline-only', only inline code blocks will
|
||||
be executed."
|
||||
:group 'org-babel
|
||||
:version "24.1"
|
||||
|
|
|
@ -67,7 +67,7 @@ element list, whose first element is the name of the variable and
|
|||
second element is a string of its value. The following call to
|
||||
`org-sbe' would be equivalent to the following source code block.
|
||||
|
||||
(org-sbe 'source-block (n $2) (m 3))
|
||||
(org-sbe \\='source-block (n $2) (m 3))
|
||||
|
||||
#+begin_src emacs-lisp :var results=source-block(n=val_at_col_2, m=3) :results silent
|
||||
results
|
||||
|
@ -84,7 +84,7 @@ the header argument which can then be passed before all variables
|
|||
as shown in the example below.
|
||||
|
||||
| 1 | 2 | :file nothing.png | nothing.png |
|
||||
#+TBLFM: @1$4='(org-sbe test-sbe $3 (x $1) (y $2))"
|
||||
#+TBLFM: @1$4=\\='(org-sbe test-sbe $3 (x $1) (y $2))"
|
||||
(declare (debug (form form)))
|
||||
(let* ((header-args (if (stringp (car variables)) (car variables) ""))
|
||||
(variables (if (stringp (car variables)) (cdr variables) variables)))
|
||||
|
|
|
@ -7085,8 +7085,8 @@ their type."
|
|||
;;;###autoload
|
||||
(defun org-agenda-set-restriction-lock (&optional type)
|
||||
"Set restriction lock for agenda, to current subtree or file.
|
||||
Restriction will be the file if TYPE is `file', or if type is the
|
||||
universal prefix '(4), or if the cursor is before the first headline
|
||||
Restriction will be the file if TYPE is `file', or if TYPE is the
|
||||
universal prefix `(4)', or if the cursor is before the first headline
|
||||
in the file. Otherwise, restriction will be to the current subtree."
|
||||
(interactive "P")
|
||||
(and (equal type '(4)) (setq type 'file))
|
||||
|
|
|
@ -666,7 +666,7 @@ belong to the weekend."
|
|||
(0.0 . default))
|
||||
"Faces for showing deadlines in the agenda.
|
||||
This is a list of cons cells. The cdr of each cell is a face to be used,
|
||||
and it can also just be like '(:foreground \"yellow\").
|
||||
and it can also just be like (:foreground \"yellow\").
|
||||
Each car is a fraction of the head-warning time that must have passed for
|
||||
this the face in the cdr to be used for display. The numbers must be
|
||||
given in descending order. The head-warning time is normally taken
|
||||
|
|
|
@ -174,7 +174,7 @@ to the bullet that should be used when this item is demoted.
|
|||
For example,
|
||||
|
||||
(setq org-list-demote-modify-bullet
|
||||
'((\"+\" . \"-\") (\"-\" . \"+\") (\"*\" . \"+\")))
|
||||
\\='((\"+\" . \"-\") (\"-\" . \"+\") (\"*\" . \"+\")))
|
||||
|
||||
will make
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ Otherwise return nil."
|
|||
|
||||
;; FIXME: Slated for removal. Current Org mode does not support Emacs < 22
|
||||
(defmacro org-maybe-intangible (props)
|
||||
"Add '(intangible t) to PROPS if Emacs version is earlier than Emacs 22.
|
||||
"Add (intangible t) to PROPS if Emacs version is earlier than Emacs 22.
|
||||
In Emacs 21, invisible text is not avoided by the command loop, so the
|
||||
intangible property is needed to make sure point skips this text.
|
||||
In Emacs 22, this is not necessary. The intangible text property has
|
||||
|
|
|
@ -7094,7 +7094,7 @@ open and agenda-wise Org files."
|
|||
(org-flag-drawer t))))))
|
||||
|
||||
(defun org-cycle-hide-inline-tasks (state)
|
||||
"Re-hide inline tasks when switching to 'contents or 'children
|
||||
"Re-hide inline tasks when switching to `contents' or `children'
|
||||
visibility state."
|
||||
(case state
|
||||
(contents
|
||||
|
@ -7323,8 +7323,8 @@ returns to the original buffer in which the visibility is still
|
|||
unchanged. After RET it will also jump to the location selected
|
||||
in the indirect buffer and expose the headline hierarchy above.
|
||||
|
||||
With a prefix argument, use the alternative interface: e.g. if
|
||||
`org-goto-interface' is 'outline use 'outline-path-completion."
|
||||
With a prefix argument, use the alternative interface: e.g., if
|
||||
`org-goto-interface' is `outline' use `outline-path-completion'."
|
||||
(interactive "P")
|
||||
(org-goto-map)
|
||||
(let* ((org-refile-targets `((nil . (:maxlevel . ,org-goto-max-level))))
|
||||
|
|
|
@ -2929,7 +2929,7 @@ INHERITS Specify the inheritance for SYMBOL group. It's a symbol name
|
|||
Let's see an example to illustrate the inheritance mechanism:
|
||||
|
||||
(setq pr-setting-database
|
||||
'((no-duplex ; setting symbol name
|
||||
\\='((no-duplex ; setting symbol name
|
||||
nil ; inherits
|
||||
nil nil ; local kill-local
|
||||
(pr-file-duplex . nil) ; settings
|
||||
|
@ -2979,9 +2979,9 @@ SETTING It's a cons like:
|
|||
This setting is ignored if VARIABLE is equal to keyword
|
||||
`inherits-from:'.
|
||||
Examples:
|
||||
'(ps-landscape-mode . nil)
|
||||
'(ps-spool-duplex . t)
|
||||
'(pr-gs-device . (my-gs-device t))"
|
||||
(ps-landscape-mode . nil)
|
||||
(ps-spool-duplex . t)
|
||||
(pr-gs-device . (my-gs-device t))"
|
||||
:type '(repeat
|
||||
(list
|
||||
:tag ""
|
||||
|
|
|
@ -159,15 +159,15 @@ argument, the value of the attribute. The value nil means take as is.
|
|||
|
||||
If JUSTIFY is an integer, its modulus gives the width of the attribute
|
||||
values formatted with FORMAT. If JUSTIFY is positive, NAME appears
|
||||
right-justified, otherwise it appears left-justified. If JUSTIFY is 'left
|
||||
or 'right, the field width is calculated from all field values in the listing.
|
||||
If JUSTIFY is 'left, the field values are formatted left-justified and
|
||||
right-justified, otherwise it appears left-justified. If JUSTIFY is `left'
|
||||
or `right', the field width is calculated from all field values in the listing.
|
||||
If JUSTIFY is `left', the field values are formatted left-justified and
|
||||
right-justified otherwise.
|
||||
|
||||
PREDICATE is the predicate for sorting and filtering the process listing
|
||||
based on attribute KEY. PREDICATE takes two arguments P1 and P2,
|
||||
the corresponding attribute values of two processes. PREDICATE should
|
||||
return 'equal if P1 has same rank like P2. Any other non-nil value says
|
||||
return `equal' if P1 has same rank like P2. Any other non-nil value says
|
||||
that P1 is \"less than\" P2, or nil if not.
|
||||
If PREDICATE is nil the attribute cannot be sorted.
|
||||
|
||||
|
@ -178,7 +178,7 @@ SORT-SCHEME is a list (KEY1 KEY2 ...) defining a hierarchy of rules
|
|||
for sorting the process listing. KEY1, KEY2, ... are KEYs appearing as cars
|
||||
of `proced-grammar-alist'. First the PREDICATE of KEY1 is evaluated.
|
||||
If it yields non-equal, it defines the sort order for the corresponding
|
||||
processes. If it evaluates to 'equal the PREDICATE of KEY2 is evaluated, etc.
|
||||
processes. If it evaluates to `equal' the PREDICATE of KEY2 is evaluated, etc.
|
||||
|
||||
REFINER can be a list of flags (LESS-B EQUAL-B LARGER-B) used by the command
|
||||
`proced-refine' (see there) to refine the listing based on attribute KEY.
|
||||
|
@ -186,7 +186,7 @@ This command compares the value of attribute KEY of every process with
|
|||
the value of attribute KEY of the process at the position of point
|
||||
using PREDICATE.
|
||||
If PREDICATE yields non-nil, the process is accepted if LESS-B is non-nil.
|
||||
If PREDICATE yields 'equal, the process is accepted if EQUAL-B is non-nil.
|
||||
If PREDICATE yields `equal', the process is accepted if EQUAL-B is non-nil.
|
||||
If PREDICATE yields nil, the process is accepted if LARGER-B is non-nil.
|
||||
|
||||
REFINER can also be a list (FUNCTION HELP-ECHO).
|
||||
|
@ -1251,9 +1251,9 @@ When called interactively, an empty string means nil, i.e., no sorting.
|
|||
|
||||
Prefix ARG controls sort order:
|
||||
- If prefix ARG is positive (negative), sort in ascending (descending) order.
|
||||
- If ARG is nil or 'no-arg and SCHEME is equal to the previous sorting scheme,
|
||||
- If ARG is nil or `no-arg' and SCHEME is equal to the previous sorting scheme,
|
||||
reverse the sorting order.
|
||||
- If ARG is nil or 'no-arg and SCHEME differs from the previous sorting scheme,
|
||||
- If ARG is nil or `no-arg' and SCHEME differs from the previous sorting scheme,
|
||||
adopt the sorting order defined for SCHEME in `proced-grammar-alist'.
|
||||
|
||||
Set variable `proced-sort' to SCHEME. The current sort scheme is displayed
|
||||
|
|
|
@ -479,7 +479,7 @@ preferably use the `c-mode-menu' language constant directly."
|
|||
and the line breaking/filling code. Intended to be used by other
|
||||
packages that embed CC Mode.
|
||||
|
||||
MODE is the CC Mode flavor to set up, e.g. 'c-mode or 'java-mode.
|
||||
MODE is the CC Mode flavor to set up, e.g. `c-mode' or `java-mode'.
|
||||
DEFAULT-STYLE tells which indentation style to install. It has the
|
||||
same format as `c-default-style'.
|
||||
|
||||
|
@ -647,7 +647,7 @@ In addition to the work done by `c-basic-common-init' and
|
|||
customary in CC Mode modes but which aren't strictly necessary for CC
|
||||
Mode to operate correctly.
|
||||
|
||||
MODE is the symbol for the mode to initialize, like 'c-mode. See
|
||||
MODE is the symbol for the mode to initialize, like `c-mode'. See
|
||||
`c-basic-common-init' for details. It's only optional to be
|
||||
compatible with old code; callers should always specify it."
|
||||
|
||||
|
|
|
@ -951,7 +951,7 @@ from a different message."
|
|||
(defvar compilation--previous-directory-cache nil
|
||||
"A pair (POS . RES) caching the result of previous directory search.
|
||||
Basically, this pair says that calling
|
||||
(previous-single-property-change POS 'compilation-directory)
|
||||
(previous-single-property-change POS \\='compilation-directory)
|
||||
returned RES, i.e. there is no change of `compilation-directory' between
|
||||
POS and RES.")
|
||||
(make-variable-buffer-local 'compilation--previous-directory-cache)
|
||||
|
@ -967,7 +967,7 @@ POS and RES.")
|
|||
(t (setq compilation--previous-directory-cache nil))))
|
||||
|
||||
(defun compilation--previous-directory (pos)
|
||||
"Like (previous-single-property-change POS 'compilation-directory), but faster."
|
||||
"Like (previous-single-property-change POS \\='compilation-directory), but faster."
|
||||
;; This avoids an N² behavior when there's no/few compilation-directory
|
||||
;; entries, in which case each call to previous-single-property-change
|
||||
;; ends up having to walk very far back to find the last change.
|
||||
|
|
|
@ -664,7 +664,7 @@ otherwise make them unwritable."
|
|||
|
||||
(defun cpp-edit-write (symbol branch)
|
||||
"Set which branches of SYMBOL should be writable to BRANCH.
|
||||
BRANCH should be either nil (false branch), t (true branch) or 'both."
|
||||
BRANCH should be either nil (false branch), t (true branch) or `both'."
|
||||
(interactive (list (cpp-choose-symbol) (cpp-choose-branch)))
|
||||
(setcar (nthcdr 3 (cpp-edit-list-entry-get-or-create symbol)) branch)
|
||||
(cpp-edit-reset))
|
||||
|
|
|
@ -295,7 +295,7 @@ the constant `f90-no-break-re' ensures that such tokens are not split."
|
|||
|
||||
(defcustom f90-auto-keyword-case nil
|
||||
"Automatic case conversion of keywords.
|
||||
The options are 'downcase-word, 'upcase-word, 'capitalize-word and nil."
|
||||
The options are `downcase-word', `upcase-word', `capitalize-word' and nil."
|
||||
:type '(choice (const downcase-word) (const upcase-word)
|
||||
(const capitalize-word) (const nil))
|
||||
:safe (lambda (value) (memq value '(downcase-word
|
||||
|
@ -2330,7 +2330,7 @@ Any other key combination is executed normally."
|
|||
;; Change the keywords according to argument.
|
||||
(defun f90-change-keywords (change-word &optional beg end)
|
||||
"Change the case of F90 keywords in the region (if specified) or buffer.
|
||||
CHANGE-WORD should be one of 'upcase-word, 'downcase-word, 'capitalize-word."
|
||||
CHANGE-WORD should be one of `upcase-word', `downcase-word', `capitalize-word'."
|
||||
(save-excursion
|
||||
(setq beg (or beg (point-min))
|
||||
end (or end (point-max)))
|
||||
|
|
|
@ -989,7 +989,7 @@ For the format of LINE-ERR-INFO, see `flymake-ler-make-ler'."
|
|||
(funcall flymake-get-project-include-dirs-function basedir))
|
||||
|
||||
(defun flymake-get-system-include-dirs ()
|
||||
"System include dirs - from the 'INCLUDE' env setting."
|
||||
"System include dirs - from the `INCLUDE' env setting."
|
||||
(let* ((includes (getenv "INCLUDE")))
|
||||
(if includes (split-string includes path-separator t) nil)))
|
||||
|
||||
|
|
|
@ -1258,7 +1258,7 @@ Auto-indent does not happen if a numeric ARG is used."
|
|||
|
||||
(defun fortran-previous-statement ()
|
||||
"Move point to beginning of the previous Fortran statement.
|
||||
Returns 'first-statement if that statement is the first
|
||||
Returns `first-statement' if that statement is the first
|
||||
non-comment Fortran statement in the file, and nil otherwise.
|
||||
Directive lines are treated as comments."
|
||||
(interactive)
|
||||
|
@ -1290,7 +1290,7 @@ Directive lines are treated as comments."
|
|||
|
||||
(defun fortran-next-statement ()
|
||||
"Move point to beginning of the next Fortran statement.
|
||||
Returns 'last-statement if that statement is the last
|
||||
Returns `last-statement' if that statement is the last
|
||||
non-comment Fortran statement in the file, and nil otherwise.
|
||||
Directive lines are treated as comments."
|
||||
(interactive)
|
||||
|
|
|
@ -1630,7 +1630,7 @@ this trigger is subscribed to `gdb-buf-publisher' and called with
|
|||
(make-comint-in-buffer "gdb-inferior" (current-buffer) nil))
|
||||
|
||||
(defcustom gdb-display-io-nopopup nil
|
||||
"When non-nil, and the 'gdb-inferior-io buffer is buried, don't pop it up."
|
||||
"When non-nil, and the `gdb-inferior-io' buffer is buried, don't pop it up."
|
||||
:type 'boolean
|
||||
:group 'gdb
|
||||
:version "25.1")
|
||||
|
@ -2788,7 +2788,7 @@ buffer with `gdb-bind-function-to-buffer'.
|
|||
If SIGNAL-LIST is non-nil, GDB-COMMAND is sent only when the
|
||||
defined trigger is called with an argument from SIGNAL-LIST. It's
|
||||
not recommended to define triggers with empty SIGNAL-LIST.
|
||||
Normally triggers should respond at least to 'update signal.
|
||||
Normally triggers should respond at least to the `update' signal.
|
||||
|
||||
Normally the trigger defined by this command must be called from
|
||||
the buffer where HANDLER-NAME must work. This should be done so
|
||||
|
@ -3252,7 +3252,7 @@ corresponding to the mode line clicked."
|
|||
"Define a NAME command which will act upon thread on the current line.
|
||||
|
||||
CUSTOM-DEFUN may use locally bound `thread' variable, which will
|
||||
be the value of 'gdb-thread property of the current line.
|
||||
be the value of `gdb-thread' property of the current line.
|
||||
If `gdb-thread' is nil, error is signaled."
|
||||
`(defun ,name (&optional event)
|
||||
,(when doc doc)
|
||||
|
|
|
@ -3080,7 +3080,7 @@ the character after the end of the expr."
|
|||
"Scan from SPAN-START to SPAN-END for punctuation characters.
|
||||
If `->' is found, return `?.'. If `.' is found, return `?.'.
|
||||
If any other punctuation is found, return `??'.
|
||||
If no punctuation is found, return `? '."
|
||||
If no punctuation is found, return `?\\s'."
|
||||
(let ((result ?\s)
|
||||
(syntax))
|
||||
(while (< span-start span-end)
|
||||
|
|
|
@ -653,7 +653,7 @@ that form should be displayed.")
|
|||
(stringp id))))
|
||||
|
||||
(defun hif-define-operator (tokens)
|
||||
"`Upgrade' hif-define xxx to '(hif-define xxx)' so it won't be substituted."
|
||||
"\"Upgrade\" hif-define XXX to `(hif-define XXX)' so it won't be substituted."
|
||||
(let ((result nil)
|
||||
(tok nil))
|
||||
(while (setq tok (pop tokens))
|
||||
|
@ -766,7 +766,7 @@ macros to prevent self-reference."
|
|||
(error "Error: unexpected token: %s" hif-token)))))
|
||||
|
||||
(defun hif-exprlist ()
|
||||
"Parse an exprlist: expr { ',' expr}."
|
||||
"Parse an exprlist: expr { `,' expr}."
|
||||
(let ((result (hif-expr)))
|
||||
(if (eq hif-token 'hif-comma)
|
||||
(let ((temp (list result)))
|
||||
|
@ -780,7 +780,7 @@ macros to prevent self-reference."
|
|||
|
||||
(defun hif-expr ()
|
||||
"Parse an expression as found in #if.
|
||||
expr : or-expr | or-expr '?' expr ':' expr."
|
||||
expr : or-expr | or-expr `?' expr `:' expr."
|
||||
(let ((result (hif-or-expr))
|
||||
middle)
|
||||
(while (eq hif-token 'hif-conditional)
|
||||
|
@ -794,7 +794,7 @@ expr : or-expr | or-expr '?' expr ':' expr."
|
|||
result))
|
||||
|
||||
(defun hif-or-expr ()
|
||||
"Parse an or-expr : and-expr | or-expr '||' and-expr."
|
||||
"Parse an or-expr : and-expr | or-expr `||' and-expr."
|
||||
(let ((result (hif-and-expr)))
|
||||
(while (eq hif-token 'hif-or)
|
||||
(hif-nexttoken)
|
||||
|
@ -802,7 +802,7 @@ expr : or-expr | or-expr '?' expr ':' expr."
|
|||
result))
|
||||
|
||||
(defun hif-and-expr ()
|
||||
"Parse an and-expr : logior-expr | and-expr '&&' logior-expr."
|
||||
"Parse an and-expr : logior-expr | and-expr `&&' logior-expr."
|
||||
(let ((result (hif-logior-expr)))
|
||||
(while (eq hif-token 'hif-and)
|
||||
(hif-nexttoken)
|
||||
|
@ -810,7 +810,7 @@ expr : or-expr | or-expr '?' expr ':' expr."
|
|||
result))
|
||||
|
||||
(defun hif-logior-expr ()
|
||||
"Parse a logor-expr : logxor-expr | logor-expr '|' logxor-expr."
|
||||
"Parse a logor-expr : logxor-expr | logor-expr `|' logxor-expr."
|
||||
(let ((result (hif-logxor-expr)))
|
||||
(while (eq hif-token 'hif-logior)
|
||||
(hif-nexttoken)
|
||||
|
@ -818,7 +818,7 @@ expr : or-expr | or-expr '?' expr ':' expr."
|
|||
result))
|
||||
|
||||
(defun hif-logxor-expr ()
|
||||
"Parse a logxor-expr : logand-expr | logxor-expr '^' logand-expr."
|
||||
"Parse a logxor-expr : logand-expr | logxor-expr `^' logand-expr."
|
||||
(let ((result (hif-logand-expr)))
|
||||
(while (eq hif-token 'hif-logxor)
|
||||
(hif-nexttoken)
|
||||
|
@ -826,7 +826,7 @@ expr : or-expr | or-expr '?' expr ':' expr."
|
|||
result))
|
||||
|
||||
(defun hif-logand-expr ()
|
||||
"Parse a logand-expr : eq-expr | logand-expr '&' eq-expr."
|
||||
"Parse a logand-expr : eq-expr | logand-expr `&' eq-expr."
|
||||
(let ((result (hif-eq-expr)))
|
||||
(while (eq hif-token 'hif-logand)
|
||||
(hif-nexttoken)
|
||||
|
@ -866,7 +866,7 @@ expr : or-expr | or-expr '?' expr ':' expr."
|
|||
|
||||
(defun hif-math ()
|
||||
"Parse an expression with + or -.
|
||||
math : muldiv | math '+|-' muldiv."
|
||||
math : muldiv | math `+'|`-' muldiv."
|
||||
(let ((result (hif-muldiv-expr))
|
||||
(math-op nil))
|
||||
(while (memq hif-token '(hif-plus hif-minus))
|
||||
|
@ -877,7 +877,7 @@ expr : or-expr | or-expr '?' expr ':' expr."
|
|||
|
||||
(defun hif-muldiv-expr ()
|
||||
"Parse an expression with *,/,%.
|
||||
muldiv : factor | muldiv '*|/|%' factor."
|
||||
muldiv : factor | muldiv `*'|`/'|`%' factor."
|
||||
(let ((result (hif-factor))
|
||||
(math-op nil))
|
||||
(while (memq hif-token '(hif-multiply hif-divide hif-modulo))
|
||||
|
@ -888,8 +888,8 @@ expr : or-expr | or-expr '?' expr ':' expr."
|
|||
|
||||
(defun hif-factor ()
|
||||
"Parse a factor.
|
||||
factor : '!' factor | '~' factor | '(' expr ')' | 'defined(' id ')' |
|
||||
'id(parmlist)' | strings | id."
|
||||
factor : `!' factor | `~' factor | `(' expr `)' | `defined(' id `)' |
|
||||
id `(' parmlist `)' | strings | id."
|
||||
(cond
|
||||
((eq hif-token 'hif-not)
|
||||
(hif-nexttoken)
|
||||
|
@ -999,9 +999,9 @@ This macro cannot be evaluated alone without parameters input."
|
|||
(defun hif-token-concat (a b)
|
||||
"Concatenate two tokens into a longer token.
|
||||
Currently support only simple token concatenation. Also support weird (but
|
||||
valid) token concatenation like '>' ## '>' becomes '>>'. Here we take care only
|
||||
valid) token concatenation like `>' ## `>' becomes `>>'. Here we take care only
|
||||
those that can be evaluated during preprocessing time and ignore all those that
|
||||
can only be evaluated at C(++) runtime (like '++', '--' and '+='...)."
|
||||
can only be evaluated at C(++) runtime (like `++', `--' and `+='...)."
|
||||
(if (or (memq a hif-valid-token-list)
|
||||
(memq b hif-valid-token-list))
|
||||
(let* ((ra (car (rassq a hif-token-alist)))
|
||||
|
@ -1632,8 +1632,8 @@ not be expanded."
|
|||
result))))
|
||||
|
||||
(defun hif-parse-macro-arglist (str)
|
||||
"Parse argument list formatted as '( arg1 [ , argn] [...] )'.
|
||||
The '...' is also included. Return a list of the arguments, if '...' exists the
|
||||
"Parse argument list formatted as `( arg1 [ , argn] [...] )'.
|
||||
The `...' is also included. Return a list of the arguments, if `...' exists the
|
||||
first arg will be `hif-etc'."
|
||||
(let* ((hif-simple-token-only nil) ; Dynamic binding var for `hif-tokenize'
|
||||
(tokenlist
|
||||
|
|
|
@ -439,9 +439,9 @@ See `hs-c-like-adjust-block-beginning' for an example of using this.")
|
|||
You can display this in the mode line by adding the symbol `hs-headline'
|
||||
to the variable `mode-line-format'. For example,
|
||||
|
||||
(unless (memq 'hs-headline mode-line-format)
|
||||
(unless (memq \\='hs-headline mode-line-format)
|
||||
(setq mode-line-format
|
||||
(append '(\"-\" hs-headline) mode-line-format)))
|
||||
(append \\='(\"-\" hs-headline) mode-line-format)))
|
||||
|
||||
Note that `mode-line-format' is buffer-local.")
|
||||
|
||||
|
@ -934,7 +934,7 @@ if ARG is omitted or nil.
|
|||
|
||||
When hideshow minor mode is on, the menu bar is augmented with hideshow
|
||||
commands and the hideshow commands are enabled.
|
||||
The value '(hs . t) is added to `buffer-invisibility-spec'.
|
||||
The value (hs . t) is added to `buffer-invisibility-spec'.
|
||||
|
||||
The main commands are: `hs-hide-all', `hs-show-all', `hs-hide-block',
|
||||
`hs-show-block', `hs-hide-level' and `hs-toggle-hiding'. There is also
|
||||
|
|
|
@ -808,7 +808,7 @@ See `idlwave-check-abbrev'."
|
|||
(defcustom idlwave-abbrev-change-case nil
|
||||
"Non-nil means all abbrevs will be forced to either upper or lower case.
|
||||
If the value t, all expanded abbrevs will be upper case.
|
||||
If the value is 'down then abbrevs will be forced to lower case.
|
||||
If the value is `down' then abbrevs will be forced to lower case.
|
||||
If nil, the case will not change.
|
||||
If `idlwave-reserved-word-upcase' is non-nil, reserved words will always be
|
||||
upper case, regardless of this variable."
|
||||
|
@ -963,7 +963,7 @@ a file."
|
|||
|
||||
(defcustom idlwave-doc-modifications-keyword "HISTORY"
|
||||
"The modifications keyword to use with the log documentation commands.
|
||||
A ':' is added to the keyword end.
|
||||
A `:' is added to the keyword end.
|
||||
Inserted by doc-header and used to position logs by doc-modification.
|
||||
If nil it will not be inserted."
|
||||
:group 'idlwave-documentation
|
||||
|
@ -999,7 +999,7 @@ it without compromising backwards-compatibility."
|
|||
(defcustom idlwave-shell-command-line-options nil
|
||||
"A list of command line options for calling the IDL program.
|
||||
Since IDL is executed directly without going through a shell like /bin/sh,
|
||||
this should be a list of strings like '(\"-rt=file\" \"-nw\") with a separate
|
||||
this should be a list of strings like (\"-rt=file\" \"-nw\") with a separate
|
||||
string for each argument. But you may also give a single string which
|
||||
contains the options whitespace-separated. Emacs will be kind enough to
|
||||
split it for you."
|
||||
|
@ -1021,7 +1021,7 @@ Obsolete, if the IDL Assistant is being used for help."
|
|||
Will be used to bind debugging commands in the shell buffer and in all
|
||||
source buffers. These are additional convenience bindings, the debugging
|
||||
commands are always available with the `C-c C-d' prefix.
|
||||
If you set this to '(control shift), this means setting a breakpoint will
|
||||
If you set this to (control shift), this means setting a breakpoint will
|
||||
be on `C-S-b', compiling a source file on `C-S-c' etc. Possible modifiers
|
||||
are `control', `meta', `super', `hyper', `alt', and `shift'."
|
||||
:group 'idlwave-shell-general-setup
|
||||
|
@ -1557,15 +1557,15 @@ KEY is a string - same as for the `define-key' function. CMD is a
|
|||
function of no arguments or a list to be evaluated. CMD is bound to
|
||||
KEY in `idlwave-mode-map' by defining an anonymous function calling
|
||||
`self-insert-command' followed by CMD. If KEY contains more than one
|
||||
character a binding will only be set if SELECT is 'both.
|
||||
character a binding will only be set if SELECT is `both'.
|
||||
|
||||
\(KEY . CMD) is also placed in the `idlwave-indent-expand-table',
|
||||
replacing any previous value for KEY. If a binding is not set then it
|
||||
will instead be placed in `idlwave-indent-action-table'.
|
||||
|
||||
If the optional argument SELECT is nil then an action and binding are
|
||||
created. If SELECT is 'noaction, then a binding is always set and no
|
||||
action is created. If SELECT is 'both then an action and binding
|
||||
created. If SELECT is `noaction', then a binding is always set and no
|
||||
action is created. If SELECT is `both' then an action and binding
|
||||
will both be created even if KEY contains more than one character.
|
||||
Otherwise, if SELECT is non-nil then only an action is created.
|
||||
|
||||
|
@ -2690,7 +2690,7 @@ statement."
|
|||
(append st (match-end 0))))))
|
||||
|
||||
(defun idlwave-expand-equal (&optional before after is-action)
|
||||
"Pad '=' with spaces.
|
||||
"Pad `=' with spaces.
|
||||
Two cases: Assignment statement, and keyword assignment.
|
||||
Which case is determined using `idlwave-start-of-substatement' and
|
||||
`idlwave-statement-type'. The equal sign will be surrounded by BEFORE
|
||||
|
@ -2835,7 +2835,7 @@ ACTION is a list (REG . FUNC). REG is a regular expression. FUNC is
|
|||
either a function name to be called with `funcall' or a list to be
|
||||
evaluated with `eval'. The action performed by FUNC should leave
|
||||
point after the match for REG - otherwise an infinite loop may be
|
||||
entered. FUNC is always passed a final argument of 'is-action, so it
|
||||
entered. FUNC is always passed a final argument of `is-action', so it
|
||||
can discriminate between being run as an action, or a key binding."
|
||||
(let ((action-key (car action))
|
||||
(action-routine (cdr action)))
|
||||
|
@ -6240,7 +6240,7 @@ If yes, return the index (>=1)."
|
|||
|
||||
(defun idlwave-all-method-classes (method &optional type)
|
||||
"Return all classes which have a method METHOD.
|
||||
TYPE is 'fun or 'pro.
|
||||
TYPE is `fun' or `pro'.
|
||||
When TYPE is not specified, both procedures and functions will be considered."
|
||||
(if (null method)
|
||||
(mapcar 'car (idlwave-class-alist))
|
||||
|
@ -6255,7 +6255,7 @@ When TYPE is not specified, both procedures and functions will be considered."
|
|||
|
||||
(defun idlwave-all-method-keyword-classes (method keyword &optional type)
|
||||
"Return all classes which have a method METHOD with keyword KEYWORD.
|
||||
TYPE is 'fun or 'pro.
|
||||
TYPE is `fun' or `pro'.
|
||||
When TYPE is not specified, both procedures and functions will be considered."
|
||||
(if (or (null method)
|
||||
(null keyword))
|
||||
|
@ -6644,8 +6644,8 @@ This function is not general, can only be used for completion stuff."
|
|||
special-selector)
|
||||
"Perform TYPE completion of word before point against LIST.
|
||||
SELECTOR is the PREDICATE argument for the completion function. Show
|
||||
PROMPT in echo area. TYPE is one of the intern types, e.g. 'function,
|
||||
'procedure, 'class-tag, 'keyword, 'sysvar, etc. SPECIAL-SELECTOR is
|
||||
PROMPT in echo area. TYPE is one of the intern types, e.g., `function',
|
||||
`procedure', `class-tag', `keyword', `sysvar'. SPECIAL-SELECTOR is
|
||||
used only once, for `all-completions', and can be used to, e.g.,
|
||||
accumulate information on matching completions."
|
||||
(let* ((completion-ignore-case t)
|
||||
|
|
|
@ -97,7 +97,7 @@ name.")
|
|||
"\\.\\(" js--name-re "\\)\\s-*?=\\s-*?\\(function\\)\\_>")
|
||||
"Regexp matching an explicit JavaScript prototype \"method\" declaration.
|
||||
Group 1 is a (possibly-dotted) class name, group 2 is a method name,
|
||||
and group 3 is the 'function' keyword.")
|
||||
and group 3 is the `function' keyword.")
|
||||
|
||||
(defconst js--plain-class-re
|
||||
(concat "^\\s-*\\(" js--dotted-name-re "\\)\\.prototype"
|
||||
|
@ -831,7 +831,7 @@ lines."
|
|||
|
||||
(defun js--forward-function-decl ()
|
||||
"Move forward over a JavaScript function declaration.
|
||||
This puts point at the 'function' keyword.
|
||||
This puts point at the `function' keyword.
|
||||
|
||||
If this is a syntactically-correct non-expression function,
|
||||
return the name of the function, or t if the name could not be
|
||||
|
@ -3366,8 +3366,8 @@ left-to-right."
|
|||
|
||||
(defun js--read-tab (prompt)
|
||||
"Read a Mozilla tab with prompt PROMPT.
|
||||
Return a cons of (TYPE . OBJECT). TYPE is either 'window or
|
||||
'tab, and OBJECT is a JavaScript handle to a ChromeWindow or a
|
||||
Return a cons of (TYPE . OBJECT). TYPE is either `window' or
|
||||
`tab', and OBJECT is a JavaScript handle to a ChromeWindow or a
|
||||
browser, respectively."
|
||||
|
||||
;; Prime IDO
|
||||
|
@ -3778,12 +3778,12 @@ If one hasn't been set, or if it's stale, prompt for a new one."
|
|||
"Major mode for editing JSX.
|
||||
|
||||
To customize the indentation for this mode, set the SGML offset
|
||||
variables (`sgml-basic-offset', `sgml-attribute-offset' et al)
|
||||
variables (`sgml-basic-offset', `sgml-attribute-offset' et al.)
|
||||
locally, like so:
|
||||
|
||||
(defun set-jsx-indentation ()
|
||||
(setq-local sgml-basic-offset js-indent-level))
|
||||
(add-hook 'js-jsx-mode-hook #'set-jsx-indentation)"
|
||||
(add-hook \\='js-jsx-mode-hook #\\='set-jsx-indentation)"
|
||||
:group 'js
|
||||
(setq-local indent-line-function #'js-jsx-indent-line))
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
|
||||
(defun mantemp-insert-cxx-syntax ()
|
||||
"Insert C++ syntax around each template class and function.
|
||||
Insert 'template class' for classes, 'template' for
|
||||
Insert `template class' for classes, 'template' for
|
||||
functions and add the statement delimiter `;' at the end of
|
||||
the lines."
|
||||
(save-excursion
|
||||
|
|
|
@ -236,8 +236,8 @@ The name of the function or case is included between the braces."
|
|||
"List of contexts where auto lineup of :'s or ='s should be done.
|
||||
Elements can be of type: `paramlist', `declaration' or `case', which will
|
||||
do auto lineup in parameterlist, declarations or case-statements
|
||||
respectively. The word `all' will do all lineups. '(case paramlist) for
|
||||
instance will do lineup in case-statements and parameterlist, while '(all)
|
||||
respectively. The word `all' will do all lineups. (case paramlist) for
|
||||
instance will do lineup in case-statements and parameterlist, while (all)
|
||||
will do all lineups."
|
||||
:type '(set :extra-offset 8
|
||||
(const :tag "Everything" all)
|
||||
|
|
|
@ -485,7 +485,7 @@ The type returned can be `comment', `string' or `paren'."
|
|||
((nth 1 ppss) 'paren))))
|
||||
|
||||
(defsubst python-syntax-comment-or-string-p (&optional ppss)
|
||||
"Return non-nil if PPSS is inside 'comment or 'string."
|
||||
"Return non-nil if PPSS is inside comment or string."
|
||||
(nth 8 (or ppss (syntax-ppss))))
|
||||
|
||||
(defsubst python-syntax-closing-paren-p ()
|
||||
|
@ -1842,7 +1842,7 @@ This command assumes point is not in a string or comment."
|
|||
|
||||
(defun python-nav-if-name-main ()
|
||||
"Move point at the beginning the __main__ block.
|
||||
When \"if __name__ == '__main__':\" is found returns its
|
||||
When \"if __name__ == \\='__main__\\=':\" is found returns its
|
||||
position, else returns nil."
|
||||
(interactive)
|
||||
(let ((point (point))
|
||||
|
@ -3051,7 +3051,7 @@ the python shell:
|
|||
(defun python-shell-send-region (start end &optional send-main msg)
|
||||
"Send the region delimited by START and END to inferior Python process.
|
||||
When optional argument SEND-MAIN is non-nil, allow execution of
|
||||
code inside blocks delimited by \"if __name__== '__main__':\".
|
||||
code inside blocks delimited by \"if __name__== \\='__main__\\=':\".
|
||||
When called interactively SEND-MAIN defaults to nil, unless it's
|
||||
called with prefix argument. When optional argument MSG is
|
||||
non-nil, forces display of a user-friendly message if there's no
|
||||
|
@ -3068,7 +3068,7 @@ process running; defaults to t when called interactively."
|
|||
(defun python-shell-send-buffer (&optional send-main msg)
|
||||
"Send the entire buffer to inferior Python process.
|
||||
When optional argument SEND-MAIN is non-nil, allow execution of
|
||||
code inside blocks delimited by \"if __name__== '__main__':\".
|
||||
code inside blocks delimited by \"if __name__== \\='__main__\\=':\".
|
||||
When called interactively SEND-MAIN defaults to nil, unless it's
|
||||
called with prefix argument. When optional argument MSG is
|
||||
non-nil, forces display of a user-friendly message if there's no
|
||||
|
|
|
@ -1450,7 +1450,7 @@ This is for the rc shell."
|
|||
(defun sh-mkword-regexpr (word)
|
||||
"Make a regexp which matches WORD as a word.
|
||||
This specifically excludes an occurrence of WORD followed by
|
||||
punctuation characters like '-'."
|
||||
punctuation characters like `-'."
|
||||
(concat word "\\([^-[:alnum:]_]\\|$\\)"))
|
||||
|
||||
(defconst sh-re-done (sh-mkword-regexpr "done"))
|
||||
|
|
|
@ -344,22 +344,22 @@ Variables controlling indentation style:
|
|||
with respect to the previous line of the statement.
|
||||
`simula-label-offset' -4711
|
||||
Offset of SIMULA label lines relative to usual indentation.
|
||||
`simula-if-indent' '(0 . 0)
|
||||
`simula-if-indent' (0 . 0)
|
||||
Extra indentation of THEN and ELSE with respect to the starting IF.
|
||||
Value is a cons cell, the car is extra THEN indentation and the cdr
|
||||
extra ELSE indentation. IF after ELSE is indented as the starting IF.
|
||||
`simula-inspect-indent' '(0 . 0)
|
||||
`simula-inspect-indent' (0 . 0)
|
||||
Extra indentation of WHEN and OTHERWISE with respect to the
|
||||
corresponding INSPECT. Value is a cons cell, the car is
|
||||
extra WHEN indentation and the cdr extra OTHERWISE indentation.
|
||||
`simula-electric-indent' nil
|
||||
If this variable is non-nil, `simula-indent-line'
|
||||
will check the previous line to see if it has to be reindented.
|
||||
`simula-abbrev-keyword' 'upcase
|
||||
`simula-abbrev-keyword' `upcase'
|
||||
Determine how SIMULA keywords will be expanded. Value is one of
|
||||
the symbols `upcase', `downcase', `capitalize', (as in) `abbrev-table',
|
||||
or nil if they should not be changed.
|
||||
`simula-abbrev-stdproc' 'abbrev-table
|
||||
`simula-abbrev-stdproc' `abbrev-table'
|
||||
Determine how standard SIMULA procedure and class names will be
|
||||
expanded. Value is one of the symbols `upcase', `downcase', `capitalize',
|
||||
(as in) `abbrev-table', or nil if they should not be changed.
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue