aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2019-12-25 07:50:19 -0800
committerGlenn Morris2019-12-25 07:50:19 -0800
commit2bb7bb4abfa5667ba5cd220ca3dd89731f33ff09 (patch)
tree3317f66921cf3cd0d787816217bfd056e2bc2a3f /lisp
parent93d4725f9ceabfaf40e75ecf2e28b67789741941 (diff)
parentca6a53d3bc91d6fef9aa872495ab74298ce91bee (diff)
downloademacs-2bb7bb4abfa5667ba5cd220ca3dd89731f33ff09.tar.gz
emacs-2bb7bb4abfa5667ba5cd220ca3dd89731f33ff09.zip
Merge from origin/emacs-27
ca6a53d3bc Don't default to showing X-Faces externally in Gnus dbf4b5b2d0 Fix manual typo in Special Read Syntax a9fe6dfa90 Fix problem with emacs -nw / eww / svg 0de63092c8 Clarify base64 requirements and say what {en,de}code_codin... 6184aa003f ; * etc/NEWS: Fix boring oddities. 51ea32dd12 * src/emacs-module.h.in: Add reference to manual. 75d0cef20d Trivial docstring fixes ee12c421b6 imagemagick-types needs to initialize ImageMagick # Conflicts: # etc/NEWS
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cedet/semantic/analyze.el3
-rw-r--r--lisp/emacs-lisp/cl-macs.el2
-rw-r--r--lisp/emacs-lisp/map.el11
-rw-r--r--lisp/filesets.el2
-rw-r--r--lisp/gnus/gnus-art.el12
-rw-r--r--lisp/net/shr.el3
-rw-r--r--lisp/progmodes/compile.el2
-rw-r--r--lisp/progmodes/prolog.el2
-rw-r--r--lisp/progmodes/sql.el2
-rw-r--r--lisp/term.el2
10 files changed, 18 insertions, 23 deletions
diff --git a/lisp/cedet/semantic/analyze.el b/lisp/cedet/semantic/analyze.el
index d3cbe610a79..926d7f24b43 100644
--- a/lisp/cedet/semantic/analyze.el
+++ b/lisp/cedet/semantic/analyze.el
@@ -80,8 +80,7 @@
80 "Collection of any errors thrown during analysis.") 80 "Collection of any errors thrown during analysis.")
81 81
82(defun semantic-analyze-push-error (err) 82(defun semantic-analyze-push-error (err)
83 "Push the error in ERR-DATA onto the error stack. 83 "Push the error data in ERR onto the error stack."
84Argument ERR."
85 (push err semantic-analyze-error-stack)) 84 (push err semantic-analyze-error-stack))
86 85
87;;; Analysis Classes 86;;; Analysis Classes
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index a5ecf33203c..a7a1d91f3f1 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2017,7 +2017,7 @@ a `let' form, except that the list of symbols can be computed at run-time."
2017Each definition can take the form (FUNC EXP) where 2017Each definition can take the form (FUNC EXP) where
2018FUNC is the function name, and EXP is an expression that returns the 2018FUNC is the function name, and EXP is an expression that returns the
2019function value to which it should be bound, or it can take the more common 2019function value to which it should be bound, or it can take the more common
2020form \(FUNC ARGLIST BODY...) which is a shorthand 2020form (FUNC ARGLIST BODY...) which is a shorthand
2021for (FUNC (lambda ARGLIST BODY)). 2021for (FUNC (lambda ARGLIST BODY)).
2022 2022
2023FUNC is defined only within FORM, not BODY, so you can't write 2023FUNC is defined only within FORM, not BODY, so you can't write
diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el
index 74927b6224f..c1db79809d1 100644
--- a/lisp/emacs-lisp/map.el
+++ b/lisp/emacs-lisp/map.el
@@ -141,7 +141,8 @@ In the base definition, MAP can be an alist, hash-table, or array."
141 "Associate KEY with VALUE in MAP and return VALUE. 141 "Associate KEY with VALUE in MAP and return VALUE.
142If KEY is already present in MAP, replace the associated value 142If KEY is already present in MAP, replace the associated value
143with VALUE. 143with VALUE.
144When MAP is a list, test equality with TESTFN if non-nil, otherwise use `eql'. 144When MAP is a list, test equality with TESTFN if non-nil,
145otherwise use `eql'.
145 146
146MAP can be a list, hash-table or array." 147MAP can be a list, hash-table or array."
147 (declare (obsolete "use map-put! or (setf (map-elt ...) ...) instead" "27.1")) 148 (declare (obsolete "use map-put! or (setf (map-elt ...) ...) instead" "27.1"))
@@ -287,7 +288,7 @@ The default implementation delegates to `map-length'."
287 ;; so specifying `testfn' here is problematic: e.g. for hash-tables 288 ;; so specifying `testfn' here is problematic: e.g. for hash-tables
288 ;; we shouldn't use `gethash' unless `testfn' is the same as the map's own 289 ;; we shouldn't use `gethash' unless `testfn' is the same as the map's own
289 ;; test function! 290 ;; test function!
290 "Return non-nil If and only if MAP contains KEY. 291 "Return non-nil if and only if MAP contains KEY.
291TESTFN is deprecated. Its default depends on MAP. 292TESTFN is deprecated. Its default depends on MAP.
292The default implementation delegates to `map-do'." 293The default implementation delegates to `map-do'."
293 (unless testfn (setq testfn #'equal)) 294 (unless testfn (setq testfn #'equal))
@@ -325,7 +326,7 @@ The default implementation delegates to `map-apply'."
325 nil)) 326 nil))
326 327
327(cl-defgeneric map-every-p (pred map) 328(cl-defgeneric map-every-p (pred map)
328 "Return non-nil if (PRED key val) is non-nil for all elements of the map MAP. 329 "Return non-nil if (PRED key val) is non-nil for all elements of MAP.
329The default implementation delegates to `map-apply'." 330The default implementation delegates to `map-apply'."
330 ;; FIXME: Not sure if there's much benefit to defining it as defgeneric, 331 ;; FIXME: Not sure if there's much benefit to defining it as defgeneric,
331 ;; since as defined, I can't think of a map-type where we could provide an 332 ;; since as defined, I can't think of a map-type where we could provide an
@@ -475,8 +476,8 @@ KEYWORD-ARGS are forwarded to `make-hash-table'."
475 476
476(cl-defmethod map-into (map (type (head hash-table))) 477(cl-defmethod map-into (map (type (head hash-table)))
477 "Convert MAP into a hash-table. 478 "Convert MAP into a hash-table.
478TYPE is a list where the car is `hash-table' and the cdr are the keyword-args 479TYPE is a list where the car is `hash-table' and the cdr are the
479forwarded to `make-hash-table'. 480keyword-args forwarded to `make-hash-table'.
480 481
481Example: 482Example:
482 (map-into '((1 . 3)) '(hash-table :test eql))" 483 (map-into '((1 . 3)) '(hash-table :test eql))"
diff --git a/lisp/filesets.el b/lisp/filesets.el
index c05fff3fb74..5a810f14ac5 100644
--- a/lisp/filesets.el
+++ b/lisp/filesets.el
@@ -139,7 +139,7 @@ the default for XEmacs prior to 21.5. If you want to change this value
139put \"(setq filesets-menu-ensure-use-cached VALUE)\" into your startup 139put \"(setq filesets-menu-ensure-use-cached VALUE)\" into your startup
140file -- before loading filesets.el. 140file -- before loading filesets.el.
141 141
142So, when should you think about setting this value to t? If filesets.el 142So, when should you think about setting this value to t? If filesets.el
143is loaded before user customizations. Thus, if (require \\='filesets) 143is loaded before user customizations. Thus, if (require \\='filesets)
144precedes the `custom-set-variables' command or, for XEmacs, if init.el 144precedes the `custom-set-variables' command or, for XEmacs, if init.el
145is loaded before custom.el, set this variable to t.") 145is loaded before custom.el, set this variable to t.")
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 5745bf12bde..a937e232ff4 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -268,21 +268,15 @@ This can also be a list of the above values."
268 :type 'plist 268 :type 'plist
269 :group 'gnus-article-hiding) 269 :group 'gnus-article-hiding)
270 270
271;; Fixme: This isn't the right thing for mixed graphical and non-graphical 271(defcustom gnus-article-x-face-command (and (gnus-image-type-available-p 'pbm)
272;; frames in a session. 272 'gnus-display-x-face-in-from)
273(defcustom gnus-article-x-face-command
274 (if (gnus-image-type-available-p 'pbm)
275 'gnus-display-x-face-in-from
276 "{ echo \
277'/* Format_version=1, Width=48, Height=48, Depth=1, Valid_bits_per_item=16 */'\
278; uncompface; } | icontopbm | display -")
279 "String or function to be executed to display an X-Face header. 273 "String or function to be executed to display an X-Face header.
280If it is a string, the command will be executed in a sub-shell 274If it is a string, the command will be executed in a sub-shell
281asynchronously. The compressed face will be piped to this command." 275asynchronously. The compressed face will be piped to this command."
282 :type '(choice string 276 :type '(choice string
283 (function-item gnus-display-x-face-in-from) 277 (function-item gnus-display-x-face-in-from)
284 function) 278 function)
285 :version "21.1" 279 :version "27.1"
286 :group 'gnus-picon 280 :group 'gnus-picon
287 :group 'gnus-article-washing) 281 :group 'gnus-article-washing)
288 282
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 22d4cde34a7..97f8bed88c1 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1197,7 +1197,8 @@ Return a string with image data."
1197 (libxml-parse-xml-region (point) (point-max)) 'utf-8))) 1197 (libxml-parse-xml-region (point) (point-max)) 'utf-8)))
1198 ;; SVG images often do not have a specified foreground/background 1198 ;; SVG images often do not have a specified foreground/background
1199 ;; color, so wrap them in styles. 1199 ;; color, so wrap them in styles.
1200 (when (eq content-type 'image/svg+xml) 1200 (when (and (display-images-p)
1201 (eq content-type 'image/svg+xml))
1201 (setq data (svg--wrap-svg data))) 1202 (setq data (svg--wrap-svg data)))
1202 (list data content-type))) 1203 (list data content-type)))
1203 1204
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 197d52b2dea..718e6e44e04 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -2629,7 +2629,7 @@ region and the first line of the next region."
2629 "Display this many lines of leading context before the current message. 2629 "Display this many lines of leading context before the current message.
2630If nil or t, and the left fringe is displayed, don't scroll the 2630If nil or t, and the left fringe is displayed, don't scroll the
2631compilation output window; an arrow in the left fringe points to 2631compilation output window; an arrow in the left fringe points to
2632the current message. With no left fringe, If nil, the message 2632the current message. With no left fringe, if nil, the message
2633scrolls to the top of the window; there is no arrow. If t, don't 2633scrolls to the top of the window; there is no arrow. If t, don't
2634scroll the compilation output window at all; an arrow before 2634scroll the compilation output window at all; an arrow before
2635column zero points to the current message." 2635column zero points to the current message."
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el
index 4665500349a..d79c589955c 100644
--- a/lisp/progmodes/prolog.el
+++ b/lisp/progmodes/prolog.el
@@ -381,7 +381,7 @@ terms (if this variable is nil, default)."
381 381
382(defcustom prolog-paren-indent 4 382(defcustom prolog-paren-indent 4
383 "The indentation increase for parenthesis expressions. 383 "The indentation increase for parenthesis expressions.
384Only used in ( If -> Then ; Else) and ( Disj1 ; Disj2 ) style expressions." 384Only used in ( If -> Then ; Else ) and ( Disj1 ; Disj2 ) style expressions."
385 :version "24.1" 385 :version "24.1"
386 :group 'prolog-indentation 386 :group 'prolog-indentation
387 :type 'integer 387 :type 'integer
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index aa42873a3dd..7a51739c5f3 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -860,7 +860,7 @@ The specified function will be called as:
860 (wallet-func WALLET PRODUCT USER SERVER DATABASE PORT) 860 (wallet-func WALLET PRODUCT USER SERVER DATABASE PORT)
861 861
862It is expected to return either a string containing the password, 862It is expected to return either a string containing the password,
863a function returning the password, or nil, If you want to support 863a function returning the password, or nil. If you want to support
864another format of password file, then implement a different 864another format of password file, then implement a different
865search wallet function and identify the location of the password 865search wallet function and identify the location of the password
866store with `sql-password-wallet'.") 866store with `sql-password-wallet'.")
diff --git a/lisp/term.el b/lisp/term.el
index 50a0c80bcfd..29898dfce94 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -87,7 +87,7 @@
87;; for maintenance reasons, you have to edit files 'as root': before 87;; for maintenance reasons, you have to edit files 'as root': before
88;; patching term.el, I su-ed in a term.el buffer and used vi :), now I 88;; patching term.el, I su-ed in a term.el buffer and used vi :), now I
89;; simply do a C-x C-f and, via ange-ftp, the file is automatically loaded 89;; simply do a C-x C-f and, via ange-ftp, the file is automatically loaded
90;; 'as-root'. ( If you don't want to enter the root password every time you 90;; 'as-root'. (If you don't want to enter the root password every time you
91;; can put it in your .netrc: note that this is -not- advisable if you're 91;; can put it in your .netrc: note that this is -not- advisable if you're
92;; connected to the internet or if somebody else works on your workstation!) 92;; connected to the internet or if somebody else works on your workstation!)
93;; 93;;