aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2020-05-16 10:29:14 -0700
committerGlenn Morris2020-05-16 10:29:14 -0700
commit788c2480f448e97773172f3e840976dbcdc3e6c8 (patch)
tree60d3425a657e682da7790fc5f0d2548995721ef2 /lisp
parenta67415a71a1be5419547ac5e2abe51bc6bb37f1d (diff)
parentb4937f64cd97ff6bf93538987c014f8ea8ff9d34 (diff)
downloademacs-788c2480f448e97773172f3e840976dbcdc3e6c8.tar.gz
emacs-788c2480f448e97773172f3e840976dbcdc3e6c8.zip
Merge from origin/emacs-27
b4937f64cd (origin/emacs-27) Improve documentation of manually instal... efd4e973a4 Reflect the emacs-devel ELPA/MELPA dispute in FAQ 28541674cd Consider face inheritance when checking region face backgr... e75f6be6cc Fix dired default file operation (bug#41261) 406fb0746c Fix documentation related to 'command-switch-alist'. 747e0a2523 Improve ediff readability in misterioso theme (Bug#41221) 48830c73e7 Fix a crash in handle_display_spec a37290a6f9 In x_hide_tip reset tip_last_frame for GTK+ tooltips only ... 3d81995692 Fix docstring of flymake-make-diagnostic (bug#40351) 632aa9d57a Go back to “Bahá’í” e2406ff60f * lisp/dired.el (dired-toggle-marks): Doc fix. (Bug#41097) # Conflicts: # doc/emacs/building.texi
Diffstat (limited to 'lisp')
-rw-r--r--lisp/dired-aux.el7
-rw-r--r--lisp/dired.el4
-rw-r--r--lisp/progmodes/flymake.el7
-rw-r--r--lisp/simple.el2
4 files changed, 10 insertions, 10 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 60a352d78e0..24ebfa4b0de 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -2006,10 +2006,9 @@ Optional arg HOW-TO determines how to treat the target.
2006 (format prompt (dired-mark-prompt arg files)) dir default)) 2006 (format prompt (dired-mark-prompt arg files)) dir default))
2007 2007
2008(defun dired-dwim-target-directories () 2008(defun dired-dwim-target-directories ()
2009 (cond ((functionp dired-dwim-target) 2009 (if (functionp dired-dwim-target)
2010 (funcall dired-dwim-target)) 2010 (funcall dired-dwim-target)
2011 (dired-dwim-target 2011 (dired-dwim-target-next)))
2012 (dired-dwim-target-next))))
2013 2012
2014(defun dired-dwim-target-next (&optional all-frames) 2013(defun dired-dwim-target-next (&optional all-frames)
2015 ;; Return directories from all next windows with dired-mode buffers. 2014 ;; Return directories from all next windows with dired-mode buffers.
diff --git a/lisp/dired.el b/lisp/dired.el
index 14bbb28db52..aad44a6d698 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -3717,8 +3717,8 @@ in the active region."
3717 3717
3718(defun dired-toggle-marks () 3718(defun dired-toggle-marks ()
3719 "Toggle marks: marked files become unmarked, and vice versa. 3719 "Toggle marks: marked files become unmarked, and vice versa.
3720Files marked with other flags (such as `D') are not affected. 3720Flagged files (indicated with flags such as `C' and `D', not
3721`.' and `..' are never toggled. 3721with `*') are not affected, and `.' and `..' are never toggled.
3722As always, hidden subdirs are not affected." 3722As always, hidden subdirs are not affected."
3723 (interactive) 3723 (interactive)
3724 (save-excursion 3724 (save-excursion
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 93a09d10967..4ca5c657650 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -316,9 +316,10 @@ generated it."
316 &optional data 316 &optional data
317 overlay-properties) 317 overlay-properties)
318 "Make a Flymake diagnostic for BUFFER's region from BEG to END. 318 "Make a Flymake diagnostic for BUFFER's region from BEG to END.
319TYPE is a key to symbol and TEXT is a description of the problem 319TYPE is a diagnostic symbol and TEXT is string describing the
320detected in this region. DATA is any object that the caller 320problem detected in this region. DATA is any object that the
321wishes to attach to the created diagnostic for later retrieval. 321caller wishes to attach to the created diagnostic for later
322retrieval.
322 323
323OVERLAY-PROPERTIES is an alist of properties attached to the 324OVERLAY-PROPERTIES is an alist of properties attached to the
324created diagnostic, overriding the default properties and any 325created diagnostic, overriding the default properties and any
diff --git a/lisp/simple.el b/lisp/simple.el
index d151d6c9aeb..111afa69d1a 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4903,7 +4903,7 @@ of this sample text; it defaults to 40."
4903 ;; Swap point-and-mark quickly so as to show the region that 4903 ;; Swap point-and-mark quickly so as to show the region that
4904 ;; was selected. Don't do it if the region is highlighted. 4904 ;; was selected. Don't do it if the region is highlighted.
4905 (unless (and (region-active-p) 4905 (unless (and (region-active-p)
4906 (face-background 'region)) 4906 (face-background 'region nil t))
4907 ;; Swap point and mark. 4907 ;; Swap point and mark.
4908 (set-marker (mark-marker) (point) (current-buffer)) 4908 (set-marker (mark-marker) (point) (current-buffer))
4909 (goto-char mark) 4909 (goto-char mark)